-
Notifications
You must be signed in to change notification settings - Fork 313
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
PLUMBER2 plumbing (csv file, wrapper script, usermods, and scripts). #2155
Conversation
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 changes need on my end...
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 is exciting to see @olyson and @wwieder! There are some refactoring we'll do after the initial implementation comes in. There's a few things that I saw that we should do for this initial step.
Things done:
- Have usermod scripts update user_nl_datm_streams for each site and year start and end year for them [see this file]
- Decide on what orbital year should be update it see this file
These are not done and should be converted into issues (separate issues have line breaks between them):
-
increase dtlimit for datm
-
modify year start and year align on datm.streams to align with full calendar years
-
remove o3 references in default/usernl_datm_stream
-
WON'T FIX FOR NOW: update input data to cdf5 (may currently be netcdf4),
nccopy -k cdf5
-
Document new scripts and usage in the tools/site_and_regional/README file Documentation for Plumber2 refactoring #2409
-
Move data to CESM inputdata and rimport it (me or @slevis-lmwg ) PLUMBER2 refactoring inputdata adjustments #2410
-
Point to the new locations in usermod scripts
(https://github.com/ESCOMP/CTSM/blob/8d3468597b0b9bb1db351f755c6662bb500e4b96/tools/site_and_regional/plumber2_usermods.py) -
Redo the users mods and update them
-
Update some of the comments in the new scripts
-
Erik -- add a unit test for subset_data for the latest addition PLUMBER 2 Refactoring - testing #2411
-
Erik: Add a system test for a PLUMBER2 site US-Ha?
I added one more item to do before coming in, add a system test for a PLUMBER2 site, so we are at least testing one of the PLUMBER2 user-mods and are more likely to find issues that happen as the code changes. |
@ekluzek I could use some help with setting up datm.streams for the PLUMBER cases. I think we'd ideally use streams that span the hist-ssp timeframe as most start dates are before 2014 and a number of sites have end dates that end in 2017 (and eventually later). Maybe this is something we can discuss next week as you wrap your head around what else needs to happen here. Thanks
|
Incremental progress here. Now I'm pointing to what should be the correct datm file:
But getting the following dt error that I don't know how to address? |
OK I can confirm that manually setting I think I've added information about lai_dtlimit to get is as a namelist variable that users can modify, but maybe someone can check my work? It's an open PR on Keith's PLUMBERcsv branch. |
I think this PR may be (almost) ready to merge. I've now run test spinup and historical cases with sp and bgc compsets. Sample case directories are here:
One outstanding issue may be the format of lai_streams (64-bit offset) and datm inputs (netCDF-4), which are noted int the task-list, above. Currently the model runs with these input data. The plumber2_usermods script still has some TODO notes that can be addressed, but depending on @TeaganKing's needs we may want to just address this later? Is this a PR that can come on b4b-dev, or should it come directly to master? |
64-bit offset is fine. And if the datm NetCDF-4 files are working there isn't an immediate problem. When we try to rimport them, we will need to change the format. But, that can be a simple nccopy exercise done later. And the main problem with NetCDF-4 is likely getting it to work on other machines (I'm not sure it will work on izumi for example). |
But, yes this should go to b4b-dev. This is an example where simple b4b work can still happen while we are in a holding pattern on master. So another example of a good outcome of adding the b4b-dev branch. |
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.
My review was addressed, so I'm approving.
I'll convert some of my TODOS and questions to issues that are more descriptive so we can address them moving forward. Thanks for helping with this, @ekluzek merging to b4b-dev, @slevis-lmwg |
adding lai_dtlimit to namelist & updating usermods for PLUMBER
Let me know if you want me to debug (2) (3) and (4). |
Description of changes
This PR adds a csv file for PLUMBER2 tower sites in preparation for incorporating PLUMBER2 into the NEON framework.
The ncl script that generates this file is included as well
Specific notes
These are added to tools/site_and_regional for now.
Contributors other than yourself, if any: @ekluzek @wwieder @slevis-lmwg @TeaganKing @adrifoster
CTSM Issues Fixed (include github issue #):
Partial for #2137
Fixes #2414
Are answers expected to change (and if so in what way)? No
Any User Interface Changes (namelist or namelist defaults changes)? No
Testing performed, if any: None