Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

included a min_depth parameter and overwite this in MOM_input #185

Closed
wants to merge 3 commits into from

Conversation

ashjbarnes
Copy link
Collaborator

Closes #184 . See issue for details

with open(self.mom_run_dir / "MOM_layout", "w") as f:
f.writelines(lines)

# Overwrite values pertaining to vertical structure in the MOM_input file
Copy link
Contributor

@navidcy navidcy Aug 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just wondering: does the new thing here is that first we f.writelines(lines) and then we ensure that if something was there already we overwrite it?

@navidcy navidcy mentioned this pull request Aug 31, 2024
@ashjbarnes ashjbarnes closed this Oct 11, 2024
@ashjbarnes ashjbarnes deleted the override-min-depth branch October 11, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need to override MOM6 min depth based on value set in setup_bathymetry function
2 participants