-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support cesm workflow #131
Commits on Sep 7, 2024
-
Include script from I. Carlson
This is the script that generates a CUPiD config file based on an existing yaml file. I'm committing it as it was in Ingrid's cesm2_3_beta17 sandbox, for use with CUPiD at hash b402eba; I think it will need to be updated for more recent versions.
Configuration menu - View commit details
-
Copy full SHA for ac076aa - Browse repository at this point
Copy the full SHA ac076aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b36874 - Browse repository at this point
Copy the full SHA 2b36874View commit details
Commits on Sep 8, 2024
-
Pass commandline arguments instead of using CIME
generate_cupid_config_file.py now relies on argparse to get a handful of commandline arguments instead of importing some CIME functions and determining these values on the fly (it'll be easy to set all these arguments when creating the template)
Configuration menu - View commit details
-
Copy full SHA for 97fd4d4 - Browse repository at this point
Copy the full SHA 97fd4d4View commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a40ef5d - Browse repository at this point
Copy the full SHA a40ef5dView commit details -
1. Only required command line argument is cesm root directory; also allows optional arguments for case directory (default is current dir) and cupid example (default is key_metrics) 2. Now gets case name and short-term archive directory from CESM Case class 3. Cleaned up comment inserted at top of config.yml
Configuration menu - View commit details
-
Copy full SHA for 1842649 - Browse repository at this point
Copy the full SHA 1842649View commit details
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 910e4c9 - Browse repository at this point
Copy the full SHA 910e4c9View commit details
Commits on Sep 19, 2024
-
generate_cupid_config_for_cesm_case.py now updates more global parameters (start_date, end_date, climo_nyears, as well as the base_ copies) and the time-series end_years. For now these values are hard-coded in with placeholders until we can get them from env_cupid.xml
Configuration menu - View commit details
-
Copy full SHA for 1466ad4 - Browse repository at this point
Copy the full SHA 1466ad4View commit details -
generate_cupid_config... requires --cesm-root
I thought that not specifying a default value made it required, but really it just made the default None (which had all sorts of fun implications in the code)
Configuration menu - View commit details
-
Copy full SHA for a52a042 - Browse repository at this point
Copy the full SHA a52a042View commit details -
Add valid values for --cupid-example
We don't know the full list of valid values when parsing command line arguments, so this check needs to be done in the body of the python script
Configuration menu - View commit details
-
Copy full SHA for bb3f37d - Browse repository at this point
Copy the full SHA bb3f37dView commit details
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0888657 - Browse repository at this point
Copy the full SHA 0888657View commit details -
Note script arguments in generated yaml file
The header of the YAML file is a little bit bigger; in addition to mentioning the file was auto-generated, it includes each of the three arguments (cesm_root, case_root, and cupid_example)
Configuration menu - View commit details
-
Copy full SHA for dba6bea - Browse repository at this point
Copy the full SHA dba6beaView commit details