-
Notifications
You must be signed in to change notification settings - Fork 341
Description
This was an idea talked about here:
We think a better way to handle FATES parameter files is to have the buildnml use the FATES tools to create them from the CDL files in FATES. A shorter way to do this would be for that to happen in a testmod in the shell_commands file. But, longer term we probably want it as part of the configure process for a CESM case. This also gets people in the habit of using the tools to make FATES parameter files themselves which sets them up to configure their files for their situation from the get go. That's a more FATES like way to run, and sets people up for doing things like PPE work, or site specific changes.
Definition of done: FATES parameter files are created from the CDL file stored in FATES
NOTE: The longer term solution that is desired is to store the default parameter file in FATES as XML. With this python tools that modify the file will just have standard python packages and NOT also require an extended Python environment using conda and activating ctsm_pylib as we require now.
Steps to get there:
- Add some testmods for FATES to test some different FATES parameter file options #2151
- Testing cleanup from the cesm3_0_beta03/04 "chill" tags for cesm3_0_beta05 #2888 get the shell_commands working with error checking and in one place
- ctsm5.3.014 -- brings in a testmod include dir for graceful management of ctsm_pylib for tests
- Move switches to namelist ctsm5.3.027: Migrate FATES parameter file switches to the namelist #2904
- Get approval from CESM for the preferred approach (they just don't want custom conda environments for CESM testing)
- FATES JSON parameter files #3570 move FATES to a JSON file
- Finalize document https://docs.google.com/document/d/1XUjOGcBVbW8dY_0F2kmK8QJaB2nJn1th_474lpQPS_Q/edit?tab=t.0#heading=h.9ifrjra9jr1h
- Implement just the new XML variable, and the DEFAULT and COPY option for it (DEFAULT is the default option until the step further down) COPY , copies the parameter file to the case directory, CaseDocs, and RUNDIR (this goes in buildnml)
- - [ ] Make the COPY option the default, but still allow the DEFAULT option
- Have that testmod include directory used for ALL FATES tests?
- fates parameter file auto-build for all tests #2336?
- Add the MODIFY_PATCH option that runs the modify_params script
- Add the BATCH_PATCH option, that runs the COPY option and then runs batch_patch on top of it. This will require checking the python environment.
- Convert the tests to use the BATCH_PATCH option
Sub-issues
Metadata
Metadata
Labels
Type
Projects
Status