-
Notifications
You must be signed in to change notification settings - Fork 322
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
Neon compsets #1278
Neon compsets #1278
Conversation
@jedwards4b I'm not sure if this was intentional, but it looks like you based this branch off of Mariana's nuopc development branch, which contains a lot of features that haven't yet come to CTSM master (and which Mariana has asked me to wait to review & integrate until she has a chance to do some more work & validation on it). If there's a reason for your changes to be built on top of those, then we can wait to review this branch until that one comes in (at which point this one will show many fewer differences), but if your work is unrelated to that, and if you want us to review this sooner, then it could be best if you rebase your commits onto a branch off of master. |
My work is related in as much as it uses cmeps and cdeps. I don't think this is urgent. |
Sounds good, @jedwards4b - thanks. And thank you for your work on this! In looking through the latest commits, I see a lot of whitespace changes in namelist_defaults_ctsm.xml. @ekluzek and my general feeling is that whitespace fixes in the vicinity of changes are fine, but we try to avoid combining big whitespace cleanups like this with actual changes, because it can create merge conflicts that can be time consuming and error-prone for others to resolve.
Let me know if you'd like to talk further about this. (For example, I can share my emacs setup for cleaning whitespace on my own changes without affecting other parts of the file, if you're interested.) |
Please feel free to replace any unnecessary white space that I removed. |
Glad to see this work is started and moving. NEON is a cool project. I have comments that are similar to what I put in the similar PR on cime... The main complaint is that I think it's problematic to have surface datasets with generic names, and hence whose content can change underneath others. So I became convinced that having user-mod directories for this type of thing is a better way to handle it. I'm also not convinced you need a finidat file for NEON sites? It should pull you a global version that can be used. But, perhaps this is being done to pull the nearest gridpoint? @jedwards4b clarified that this is needed so that you have a spunup IC file for each site once those are developed. Since, getting a site spunup is a big deal we'll want to save the spunup states for each site. As above I'm not completely sure if you need NEON_SITE separate from CLM_USRDAT_NAME. But, I also see that you have an explicit list of NEON sites and that is good to have so the names are correct. If you can give a list of names it's the best way to do error checking, so I do really like that. So it might be the best approach would be to have some mix of the two. I think we might want to have some discussions over the best way to get this all setup. |
Making sure @danicalombardozzi and @wwieder as well as @negin513 know about @jedwards4b pull request. Also see the cime issue that this points to. |
Another CTSM issue that relates to this is #1198 |
… I recieve another error for python 3
… xarray issue with python 3.
Procedure was the following (based on https://stackoverflow.com/questions/13793241/make-git-undo-any-whitespace-only-changes/45486981): git checkout ctsm5.1.dev021 -- bld/namelist_files/namelist_defaults_ctsm.xml git diff -U0 -w 6795fd3^! -- bld/namelist_files/namelist_defaults_ctsm.xml | git apply --ignore-whitespace --unidiff-zero git add -u
16820a3
to
cce2be2
Compare
Documenting the required steps for testing and running a NEON tower simulation so that they are available to others (I don't think they're documented anywhere):
cd $CASEROOT Other notes: I know we are planning to update the surface dataset, and I wanted to confirm that the initial conditions are (or will be) spun up for each site. If I understand correctly, the steps required in 4 above will not be required by the user (code will be updated). One additional thing that stands out: The simulation is set to run for 5 days by default (in env_run). Can (and should) we update this to run over the length of time that the atmospheric forcing is available for? I'm not sure how people will know how long they can run the simulation otherwise, unless they know to look at the datm.streams.xml file. |
On Tue, May 11, 2021 at 5:20 PM Danica Lombardozzi ***@***.***> wrote:
Documenting the required steps for testing and running a NEON tower
simulation so that they are available to others (I don't think they're
documented anywhere):
1.
Clone relevant code from Git (this will be on master soon, currently
requires checking out Jim's branch)
step 2 is only required until the code is merged to master
1.
2.
In the clone, check out the NEON compsets: git checkout neon_compsets
(this must happen before checking out externals)
3.
After checking out externals, set up a simulation:
./create_newcase --case CASENAME --compset I1PtClm51Bgc --res
CLM_USRDAT --driver nuopc --user-mods NEON/select_site
4.
Right now, getting input data requires Jim's fix from above:
cd /glade/scratch/$USER
mkdir inputdata
cd inputdata
ln -fs /glade/p/cesmdata/cseg/inputdata/* .
rm atm
mkdir -p atm/cdeps
step 4 is only required if the user does not have write access to
DIN_LOC_ROOT on their system. I am not planning any further changes to
address this.
… 1.
cd $CASEROOT
./xmlchange DIN_LOC_ROOT=/glade/scratch/$USER/inputdata
Other notes:
This is really great! It's so easy to set up a tower site simulation with
the changes that have been made!
I know we are planning to update the surface dataset, and I wanted to
confirm that the initial conditions are (or will be) spun up for each site.
If I understand correctly, the steps required in #4
<#4> above will not be required by
the user (code will be updated).
One additional thing that stands out: The simulation is set to run for 5
days by default (in env_run). Can (and should) we update this to run over
the length of time that the atmospheric forcing is available for? I'm not
sure how people will know how long they can run the simulation otherwise,
unless they know to look at the datm.streams.xml file.
5 days is the default for all cesm cases.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1278 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOXUGCBUBUSFB564V56RT3TNG3UDANCNFSM4XLHCETQ>
.
--
Jim Edwards
CESM Software Engineer
National Center for Atmospheric Research
Boulder, CO
|
Ok, I think I understand this. It should work for someone running the simulation on their laptop, but it doesn't work for people without cseg write access on Cheyenne. If this is indeed the case, we'll need to keep these instructions around for people who are running the simulations on Cheyenne (likely just folks in TSS, but maybe other collaborators who have access). |
… work for a shorter test now
…urface datasets to have the NEON site location now rather than the closest point
…oint tower sites, remove the start date changes from the default case
Description of changes
Adds support for NEON tower data sites.
Also bring in initial version of subset_data.py to create surface datasets from the global datasets for a particular site.
Update externals to close to the version in cesm2_3_alpha03a
Specific notes
Contributors other than yourself, if any: @ekluzek @negin513
CTSM Issues Fixed (include github issue #):
Fixes #1368
Fixes #1353
Are answers expected to change (and if so in what way)? Only for cases running with CISM (compset aliases ending in G)
Any User Interface Changes (namelist or namelist defaults changes)? Add NEONSITE to env_run.xml
surface datasets for NEON sites in the NEON user-mod-directories
Testing performed, if any: regular
cheyenne
izumi (note that NUOPC tests are now failing to build on izumi)