-
Notifications
You must be signed in to change notification settings - Fork 22
fre.cmor: a CMIP7 example, toward general CMIP7 compatibility
#715
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
135cd09
add cmip7 tables
ilaflott 85990bc
scratchwork files and a new necessary input config for testing
ilaflott d91d94d
remove now out-of-date uncovered-line marker
ilaflott 792d678
new get mip_era function, not sure it will be used yet
ilaflott 0326c19
define test that should indicate we have our first working cmip7 example
ilaflott ac2546f
add a cmip6 flavored call to the test_call script for my own convenience
ilaflott 72460df
update outputfile string for cmorization success condition
ilaflott 8bca6e8
the cmip7 example does not work yet, but this is in the right directi…
ilaflott 8267685
checkpoint- figured out whats needed of me for the time axis. now to …
ilaflott 28be3ed
update grid label according to current controlled vocab in test call …
ilaflott 93eaffa
take the training wheels off
ilaflott d1d4d93
update test call in actual test script location. update (torture) use…
ilaflott d91b550
crush a testing bug, set comparison of mip era field to call upper()
ilaflott c7b5f3d
the opt_var_name logic was re-worked without me realizing it --> yay
ilaflott b68cb03
take xfail off test that exits with xpass
ilaflott cc64208
turn off exit-on-warning for cmor module to restore functionality of …
ilaflott 1ff19b1
remove scratch-work scripts i was using
ilaflott edcfec9
pylint feedback and tidy up
ilaflott 834b155
Update note for CMIP7 input example JSON
ilaflott 9cfceb0
update submodule- expecting break
ilaflott e0b8613
the fix is the path to the CV in the user input config
ilaflott b7c6509
add descriptive comments to input config and re-org into more intuiti…
ilaflott 5bb3169
one last tweak for now
ilaflott b46b94f
remove the global- we can re-read the config later. some pylint feedb…
ilaflott a8532f1
last edit, debug statement to avoid a silent pass
ilaflott aec9ada
Refactor json_grids_config assignment to use f-string
ilaflott File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| { | ||
| "#_TESTING_ONLY": " ***** This is for unit-test functionality of NOAA-GDFL's fre.cmor submodule for CMIP7, they do not reflect values used in actual production *****", | ||
| "contact ": "MIP participant mipmember@foobar.c.om", | ||
| "comment": "additional important information not fitting into other fields can be placed here", | ||
| "#_TRACKING": "***** anything to do with citing this data, accredation, licensing, and references go here *****", | ||
| "license": "CC-BY-4-0; CMIP7 data produced by CCCma is licensed under a Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0). Consult [TODO terms of use link] for terms of use governing CMIP7 output, including citation requirements and proper acknowledgment. The data producers and data providers make no warranty, either express or implied, including, but not limited to, warranties of merchantability and fitness for a particular purpose. All liabilities arising from the supply of the information (including any liability arising in negligence) are excluded to the fullest extent permitted by law.", | ||
| "references": "Model described by Koder and Tolkien (J. Geophys. Res., 2001, 576-591). Also see http://www.GICC.su/giccm/doc/index.html. The ssp245 simulation is described in Dorkey et al. '(Clim. Dyn., 2003, 323-357.)'", | ||
| "drs_specs": "MIP-DRS7", | ||
| "archive_id": "WCRP", | ||
| "license_id": "CC-BY-4-0", | ||
| "tracking_prefix": "hdl:21.14107", | ||
| "#_MIP_DETAILS": "***** anything to do with identifying the specific MIP activity this configuration file is for *****", | ||
| "_cmip7_option": 1, | ||
| "mip_era": "CMIP7", | ||
| "parent_mip_era": "CMIP7", | ||
| "activity_id": "CMIP", | ||
| "parent_activity_id": "CMIP", | ||
| "#_SOURCE_SECTION": "***** anything to do with identifying this experiment, it's relationships to other experiments, the producers, and their institution *****", | ||
| "institution": "", | ||
| "institution_id": "CCCma", | ||
| "source": "CanESM6-MR:", | ||
| "source_id": "CanESM6-MR", | ||
| "source_type": "AOGCM ISM AER", | ||
| "experiment_id": "esm-piControl", | ||
| "sub_experiment": "none", | ||
| "sub_experiment_id": "none", | ||
| "parent_source_id": "CanESM6-MR", | ||
| "parent_experiment_id": "esm-piControl-spinup", | ||
| "#_INDICIES": "***** changed from ints to strings for CMIP7 *****", | ||
| "realization_index": "r3", | ||
| "initialization_index": "i1", | ||
| "physics_index": "p1", | ||
| "forcing_index": "f3", | ||
| "run_variant": "3rd realization", | ||
| "parent_variant_label": "r3i1p1f3", | ||
| "#_TEMPORAL_INFO": "***** anything to do with describing temporal aspects of the experiment *****", | ||
| "parent_time_units": "days since 1850-01-01", | ||
| "branch_method": "no parent", | ||
| "branch_time_in_child": 59400.0, | ||
| "branch_time_in_parent": 0.0, | ||
| "calendar": "julian", | ||
| "#_SPATIAL_INFO": "***** anything to do with describing physical aspects of the experiment *****", | ||
| "grid": "FOO_BAR_PLACEHOLD", | ||
| "grid_label": "g99", | ||
| "frequency": "mon", | ||
| "region": "glb", | ||
| "nominal_resolution": "10000 km", | ||
| "#_HISTORY_METADATA": "history attribute string and template, to create history field for output file", | ||
| "history": "Output from archivcl_A1.nce/giccm_03_std_2xCO2_2256.", | ||
| "_history_template": "%s ;rewrote data to be consistent with <activity_id> for variable <variable_id> found in table <table_id>.", | ||
| "#_OUTPUT_PATHS": "***** pathing/templates for output files *****", | ||
| "#_output_template_NOTE": "***** PCMDI/cmor 4e7f1f3d731077b7f65c188edefac924cc3e2779 Test/test_cmor_CMIP7.py L47 *****", | ||
| "#_output": "***** Root directory for output (can be either a relative or full path) *****", | ||
| "outpath": ".", | ||
| "#_output_path_template": "***** Template for output path directory using tables keys or global attributes, these should follow the relevant data reference syntax *****", | ||
| "output_path_template": "<activity_id><source_id><experiment_id><member_id><variable_id><branding_suffix><grid_label><version>", | ||
| "#_output_file_template": "***** Template for output filename using tables keys or global attributes, these should follow the relevant data reference syntax *****", | ||
| "output_file_template": "<variable_id><branding_suffix><frequency><region><grid_label><source_id><experiment_id><variant_id>[<time_range>].nc", | ||
| "#_INPUT_CONFIG_PATHS": "***** pathing/templates for input configuation files holding controlled vocabularies *****", | ||
| "_controlled_vocabulary_file": "../tables-cvs/cmor-cvs.json", | ||
| "_AXIS_ENTRY_FILE": "CMIP7_coordinate.json", | ||
| "_FORMULA_VAR_FILE": "CMIP7_formula_terms.json" | ||
| } |
Submodule cmip7-cmor-tables
added at
6737d3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.