-
Notifications
You must be signed in to change notification settings - Fork 321
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
ctsm5.3.021: Standardize time metadata (we will mark this as the release tag for ctsm5.3) #2052
ctsm5.3.021: Standardize time metadata (we will mark this as the release tag for ctsm5.3) #2052
Conversation
Also renamed related dimid variable.
Also update Externals.cfg to use RTM and MOSART versions that have this same change.
Marked as blocked:dependency because, at the moment, UPDATE |
Enable prescribed crop calendars This branch enables CLM to read in externally-prescribed crop sowing dates and "cultivar" maturity requirements (growing degree-days, GDDs). This has so far only been tested with static values, and the results indicate that yield performance is worsened. However, this capability is required by the GGCMI phase 3 / ISIMIP3 Agriculture protocol. Briefly, the way this works is that an offline run is first performed with prescribed sowing dates and 364-day seasons. Instantaneous GDD accumulation is saved daily. A Python script then cross-references those daily outputs with a map of mean sowing dates to determine the mean accumulated GDDs in the growing season, saving the result as a file for use as prescribed maturity requirements.
From CTSM software engineering meeting today: This doesn't need to wait on other time-related PRs. It can come in as soon as the relevant externals are updated (and Externals.cfg here is changed to point to them). |
@slevis-lmwg the next ccs_config tag won't help as it's unrelated and something about a change for CLUBB. Doing the bisect sounds like a useful thing to do to me. |
The following PASS in aux_clm despite issue #2310. I imagine they may still fail once in a while, but I do not know... @samsrabin @ekluzek @adrifoster do you want me to remove these from EXPECTED? I don't think we covered these in this morning's meeting, did we?
The following PASS in fates despite issue #2310. Same question.
|
The NEON ones sometimes pass—it all depends on how cooperative the data server is being. So they should stay as expected fail. |
@slevis-lmwg yes leave them as expected fails in case they do fail for someone because of network/server issues. It's a signal to them that they can move on. The longer term solution that @adrifoster is endorsing and I agree -- I added to the new issue #2942. Once we get that going we'd be able to remove the expected fail. |
Only remaining failure is under npl: RXCROPMATURITYSKIPGEN_Ld1097.f10_f10_mg37.IHist
RXCROPMATURITY tests are now working! |
@samsrabin thank you! Could you tell me the vetted baselines to copy for these tests? Reconsidering: I will rerun these tests myself due to the ccs_config update shown below. I still would like to point to your baselines for comparison. I will assume |
…to standardize-time-metadata
@slevis-lmwg and went over namelist differences as outlined in the Minor version update protocol wiki page with things like: cd bld/unit_testers
./compare_namelists -b $SCRATCH/ctsm5.3.007/bld/unit_testers/ -pa clm6_0 -pb clm6_0 | & grep -v cnfun_inparm | grep -v upplim_destruct_metamorph | grep -v maximum_leaf_wetted_fraction | grep -v interception_fraction | grep -v paramfile | grep -v clm_canopyhydrology_inparm | grep -v DIFF | grep -v "No case id data available" | grep -v "Namelist diff" | grep -v jmaxb1 | grep -v clm_inparm
./cmp_baseline_lnd_in_files ctsm5.3.007 ctsm5.3.021 | & grep -v cnfun_inparm | grep -v upplim_destruct_metamorph | grep -v maximum_leaf_wetted_fraction | grep -v interception_fraction | grep -v paramfile | grep -v clm_canopyhydrology_inparm | grep -v DIFF | grep -v "No case id data available" | grep -v "Namelist diff" | grep -v jmaxb1 | grep -v clm_inparm | grep -v "hist_" which highlighted just the namelist differences that were unexpected. We had to do it a few times to figure out what to remove with grep, so unexpected things would pop out. Doing the above helped highlight a few things that we had forgotten about, but realized were expected. And it also helped to ensure we have confidence that the namelist settings are correct and something didn't get changed in a tag to mess them up. This gives us confidence that this tag will be a good starting point for scientists who need to do simulations with a stable version to use with their science. As such it will be marked as a development release tag. |
@slevis-lmwg I compared the namelists for ctsm_sci ctsm5.3.0 and ctsm5.3.021 baselines and saw the same things that popped out when we looked together. So the completes the namelist validation checking for this tag. @slevis-lmwg and I also didn't think there was any additional code review that needed to be done by anyone for this. Tags that came in were reviewed and all reasonable ones (in terms of length). And we didn't see anything that seemed likely where a later tag might have messed something up from an earlier one. |
Standardize time metadata (release tag for ctsm5.3) Last of the 3 "history" tags that ended up numbered as follows: ctsm5.3.018 time now middle of time_bounds ctsm5.3.019 eliminate 0th time step ctsm5.3.021 standardize time metadata As the release tag for ctsm5.3, this also includes the file WhatsNewInCTSM5.3.md. PRs that document the changes ESCOMP#2052 ESCOMP/MOSART#66 ESCOMP/RTM#35
Standardize time metadata (release tag for ctsm5.3) Last of the 3 "history" tags that ended up numbered as follows: ctsm5.3.018 time now middle of time_bounds ctsm5.3.019 eliminate 0th time step ctsm5.3.021 standardize time metadata As the release tag for ctsm5.3, this also includes the file WhatsNewInCTSM5.3.md. PRs that document the changes ESCOMP#2052 ESCOMP/MOSART#66 ESCOMP/RTM#35
Description of changes
Standardizes a dimension name of output variable
time_bounds
(fromhist_interval
tonbnd
), as well as attributes for that plusmcdate
,mcsec
,mdcur
, andmscur
.Specific notes
Contributors other than yourself: @billsacks, @ekluzek
CTSM Issues Fixed:
Resolves #1693.
Fixes #2923
Resolves ESCOMP/MOSART#66
Resolves ESCOMP/RTM#35
Are answers expected to change (and if so in what way)? No.
Any User Interface Changes (namelist or namelist defaults changes)? No.
Testing performed
New metadata in a history file from a short test:
All
aux_clm
tests pass bit-for-bit againstctsm5.1.dev131
, except for expected failures.