-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add script for adding map of sufficiently deep ocean bathymetry to a scrip file #578
base: master
Are you sure you want to change the base?
Add script for adding map of sufficiently deep ocean bathymetry to a scrip file #578
Conversation
This script defines a mask of ocean cells that are deeper than a threshold. This is to be used for updating a scrip file so that it only remaps from ocean cells deeper than that threshold. The resulting mapping file can be used as an OCN2GLC_TF_SMAPNAME mapping file in E3SM. Note that config_2d_thermal_forcing_depth in the MPAS-Ocean namelist needs to match the depth used here!
77cfaee
to
0e8677c
Compare
This is a more logical place to keep it
@xylar , this is the script needed to create a masked mapping file for E3SM-Ocean-Discussion/E3SM#94. I'm completely open to renaming the file and/or moving its location. Here are the steps for using this script in a workflow to generate a mapping file:
I have a directory on Chrysalis where the above steps have been run: Note that I created the ocean scrip file without the landice mask. The new bathymetry masking script will clobber the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the slow response.
@matthewhoffman, this looks great to me as it is!
This PR adds a script for adding a mask to a scrip file needed for ocn-glc fjord coupling. This script defines a mask of ocean cells that are deeper than a threshold. This is to be used for updating a scrip file so that it only remaps from ocean cells deeper than that threshold. The resulting mapping file can be used as an OCN2GLC_TF_SMAPNAME mapping file in E3SM. Note that config_2d_thermal_forcing_depth in the MPAS-Ocean namelist needs to match the depth used here.
This PR is needed for generating a mapping file to support E3SM PR:
E3SM-Ocean-Discussion/E3SM#94