-
Notifications
You must be signed in to change notification settings - Fork 53
Change to mask directory instead of individual mask files #289
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
Conversation
The name of the mask file is constructed automatically from the mesh name.
|
I need to re-test all of the example config files to make sure they still work. Here's the checklist:
|
8172aad to
3d79120
Compare
|
@milenaveneziani, could you check the 3 configs on OLCF by making sure the MOC gets computed correctly when you run the analysis? I need to get myself set up on titan and rhea but I'm not there yet. I'd like to make sure the region mask files there have the right naming convention. I had to fix the names on LANL IC and theta. |
|
@xylar: I am testing with the config files you listed on titan. First test (18to6 run) failed because I don't have permission to read the model data (I have asked @vanroekel to change permissions when he has a chance), but I have changed the region mask filename in a way that is compatible with how this PR expects it. Second test (beta1 run) passed. Third test (beta2 run) is going, but I found a tiny typo in the corresponding config file: I will point it to you in the review section. |
| [timeSeriesSeaIceAreaVol] | ||
| ## options related to plotting time series of sea ice area and volume | ||
|
|
||
| # plot on polar plot |
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.
Could you add these lines in this file, right before line 46:
# provide an absolute path to put HTML in an alternative location (e.g. a web
# portal)
# htmlSubdirectory = /global/project/projectdirs/acme/www/USERNAME/RUNNAME
htmlSubdirectory = html
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.
done
| # ./run_mpas_analysis --list | ||
| # to list all task names and their tags | ||
| # an equivalent syntax can be used on the command line to override this | ||
| # option: |
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.
Could you add these, right before line 35:
# provide an absolute path to put HTML in an alternative location (e.g. a web
# portal)
# htmlSubdirectory = /ccs/proj/cli115/www/USERNAME/RUNNAME
htmlSubdirectory = html
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.
done
| ## circulation (MOC) | ||
|
|
||
| # Region names for basin MOC calculation. | ||
| # Supported options are Atlantic and IndoPacific |
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.
Could you change mpasMeshName to oEC60to30v3?
And then add, before line 54:
# provide an absolute path to put HTML in an alternative location (e.g. a web
# portal)
# htmlSubdirectory = /ccs/proj/cli115/www/USERNAME/RUNNAME
htmlSubdirectory = html
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.
done
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.
I think you forgot to adjust the mpasMeshName.
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.
Yes, I missed that. I'll fix it now.
| # ./run_mpas_analysis --list | ||
| # to list all task names and their tags | ||
| # an equivalent syntax can be used on the command line to override this | ||
| # option: |
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.
This one is missing a few things (mind you, I haven't had a chance to test this yet, because of the nco problems with large files, which I mentioned in the email):
- as noted by @vanroekel, the
inputbaseDirectoryshould be changed to/lustre/atlas1/cli115/proj-shared/vanroek/run mpasMeshName- there is the piece with
Directory with mapping files, but not this newer part:
# Directory for region mask files
regionMaskDirectory =
- these lines before line 37:
# provide an absolute path to put HTML in an alternative location (e.g. a web
# portal)
# htmlSubdirectory = /ccs/proj/cli115/www/USERNAME/RUNNAME
htmlSubdirectory = html
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.
I do see the regionMaskDirectory part in my version at the bottom. I have changed the rest as you suggested.
| regionMaskDirectory = /projects/OceanClimate/mpas-analysis_data/mpas_analysis/region_masks | ||
|
|
||
| [climatologyMapSoseTemperature] | ||
| # Times for comparison times (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, |
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.
do we have a htmlSubdirectory on theta?
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.
No, as far as I'm aware, there's no web portal on theta.
|
Test with beta2 run also passed. I am down to testing the high-res case. |
|
@milenaveneziani, FYI that the high res data on titan is now at |
3d79120 to
01d9f83
Compare
|
@xylar: after changing the Although the olcf config file for the high-res cannot be tested for the MOC right now, due to the need for |
Remove --purge option from job scripts
01d9f83 to
b7adb36
Compare
|
@milenaveneziani, I really appreciate your efforts on the RRS18to6. We'll get it working but I agree that it shouldn't hold up this PR as long as we're pretty sure the config file will be correct once we get it working. |
The name of the MOC mask file is constructed automatically from the
mesh name.
This approach is needed in anticipation of having other region masks (notably masks for individual ice shelves, see #237)
Example config files have been updated accordingly.