Skip to content

Create new script to set cullCell#179

Merged
xylar merged 2 commits intoMPAS-Dev:ocean/developfrom
sbrus89:fix_cullCell
Mar 8, 2019
Merged

Create new script to set cullCell#179
xylar merged 2 commits intoMPAS-Dev:ocean/developfrom
sbrus89:fix_cullCell

Conversation

@sbrus89
Copy link

@sbrus89 sbrus89 commented Mar 7, 2019

Currently, the cullCell variable is being set in the base_mesh step inside inject_bathymetry.py (#176). This PR puts this functionality in a new script, so it doesn't affect the global_ocean mesh creation.

closes #176

@sbrus89 sbrus89 changed the base branch from master to ocean/develop March 7, 2019 17:00
@xylar
Copy link
Collaborator

xylar commented Mar 7, 2019

@sbrus89, I think the new script didn't get git added. Could you do that?

@sbrus89
Copy link
Author

sbrus89 commented Mar 7, 2019

@xylar, I just added it.

Copy link
Collaborator

@xylar xylar left a comment

Choose a reason for hiding this comment

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

Thanks @sbrus89. This looks like exactly what's needed.

@xylar xylar self-assigned this Mar 7, 2019
@xylar
Copy link
Collaborator

xylar commented Mar 7, 2019

@mark-petersen and @pwolfram, I know your availability is limited right now. Please make it a priority to review this (maybe just by inspection). I will make sure @sbrus89 and I test this carefully on the major test cases that use this script before it gets merged to ocean/develop.

@sbrus89
Copy link
Author

sbrus89 commented Mar 7, 2019

This should remove this from the global_ocean workflow. From here, we can just add it back to the cases (i.e. Delaware Bay) where it is needed later on.

Copy link
Contributor

@mark-petersen mark-petersen left a comment

Choose a reason for hiding this comment

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

Approved by visual inspection. I agree this is what we want, so adding cull cells must be explicitly called. I see that you are not adding a call to inject_cullCell anywhere, which is fine. You are making the user add it by hand.

@xylar
Copy link
Collaborator

xylar commented Mar 8, 2019

@mark-petersen,

I see that you are not adding a call to inject_cullCell anywhere, which is fine. You are making the user add it by hand.

We believe that the Delaware Bay test case may need to call this new script but no current test cases need that capability.

@xylar
Copy link
Collaborator

xylar commented Mar 8, 2019

Thanks for the reviews while you're on travel! Much appreciated!

@xylar
Copy link
Collaborator

xylar commented Mar 8, 2019

@pwolfram, I'm going to merge this PR and #180 into ocean/develop tomorrow morning. If you would like to give feedback, please do so before then.

@mark-petersen
Copy link
Contributor

mark-petersen commented Mar 8, 2019

Yes, please merge those two into ocean/develop today when you are ready. These are a small number of COMPASS changes, and we can do an E3SM PR for these and the added atmospheric forcing, which also has associated COMPASS changes. We are trying to keep E3SM PRs in small chunks of MPAS changes, but I think this group is reasonable.

@xylar, @matthewhoffman and @jonbob, if you guys have time today, please proceed. I'm busy during the day, but could otherwise do it soon.

  1. merge Create new script to set cullCell #179 and Make coastal refined meshes produced with JGSAW BFB between runs #180 into ocean/develop
  2. single merge of ocean/develop into e3sm/develop (no PR required)
  3. E3SM PR with updated mpas-source to head of e3sm/develop. This only adds Time Varying Atmospheric Forcing #123, Create new script to set cullCell #179, Make coastal refined meshes produced with JGSAW BFB between runs #180.

You can use this text for the PR description:
This pull request adds capability for stand-alone MPAS-Ocean to include time varying wind and pressure forcing. The added code is not called during E3SM simulations. Also adds associated COMPASS files for testing.
bfb

and first comment, mention testing here:
#123 (comment)

Copy link
Contributor

@pwolfram pwolfram left a comment

Choose a reason for hiding this comment

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

Approved via visual inspection; we'll just add this in later when needed.

Thanks @sbrus89 and @xylar

xylar added a commit to xylar/MPAS-Model that referenced this pull request Mar 8, 2019
Create new script to set cullCell

Currently, the cullCell variable is being set in the base_mesh step inside inject_bathymetry.py (MPAS-Dev#176). This PR puts this functionality in a new script, so it doesn't affect the global_ocean mesh creation.
@xylar
Copy link
Collaborator

xylar commented Mar 8, 2019

Testing

I tested the nightly regression suite on badger with GNU and this branch is bit-for-bit identical to the current ocean/develop

ashwathsv pushed a commit to ashwathsv/MPAS-Model that referenced this pull request Jul 21, 2020
Create new script to set cullCell

Currently, the cullCell variable is being set in the base_mesh step inside inject_bathymetry.py (MPAS-Dev#176). This PR puts this functionality in a new script, so it doesn't affect the global_ocean mesh creation.
caozd999 pushed a commit to caozd999/MPAS-Model that referenced this pull request Jan 14, 2021
Create new script to set cullCell

Currently, the cullCell variable is being set in the base_mesh step inside inject_bathymetry.py (MPAS-Dev#176). This PR puts this functionality in a new script, so it doesn't affect the global_ocean mesh creation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants