Skip to content

Commit

Permalink
Merge pull request #512 from wrongkindofdoctor/refactor_pp
Browse files Browse the repository at this point in the history
more config file updates
  • Loading branch information
wrongkindofdoctor authored Mar 12, 2024
2 parents 1080613 + 3e1a5d2 commit af046eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
7 changes: 3 additions & 4 deletions templates/runtime_config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@
// If a relative path is given, it's resolved relative to the MDTF-diagnostics
// code directory. Environment variables (eg, $HOME) can be referenced with a
// "$" and will be expended to their current values when the framework runs.
// Full path to model data ESM-intake catalog header file
//"DATA_CATALOG": "/net/jml/mdtf/MDTF-diagnostics/diagnostics/example_multicase/esm_catalog_CMIP_synthetic_r1i1p1f1_gr1.json",
"DATA_CATALOG": "/Users/jess/mdtf/MDTF-diagnostics/diagnostics/example_multicase/esm_catalog_CMIP_synthetic_r1i1p1f1_gr1.json",
// Full or relative path to model data ESM-intake catalog header file
"DATA_CATALOG": "./diagnostics/example_multicase/esm_catalog_CMIP_synthetic_r1i1p1f1_gr1.json",
// Backwards compatibility
"MODEL_DATA_ROOT": "../inputdata/mdtf_test_data",
// Parent directory containing observational data used by individual PODs.
Expand Down Expand Up @@ -110,7 +109,7 @@
"overwrite": false,

// List with custom preprocessing script(s) to run on data
// Place these scripts in the sites/local directory of your copy of the MDTF-diagnostics repository
// Place these scripts in the user_scripts directory of your copy of the MDTF-diagnostics repository
"user_pp_scripts" : ["example_pp_script.py"],

// Settings used in debugging:
Expand Down
12 changes: 4 additions & 8 deletions templates/runtime_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ case_list:
enddate: "19891231:000000"

### Data location settings ###
# Required: full path to ESM-intake catalog header file
#DATA_CATALOG: "/local2/home/mdtf/MDTF-diagnostics/tools/catalog_builder/examples/gfdl/esm_catalog_DECK_ESM4_historical_D1_atmos_ts_monthly_5yr_subset.json"
DATA_CATALOG: "/local2/home/mdtf/MDTF-diagnostics/tools/catalog_builder/examples/gfdl/esm_catalog_DECK_ESM4_historical_D1_at
# Required: full or relative path to ESM-intake catalog header file
DATA_CATALOG: "./diagnostics/example_multicase/esm_catalog_CMIP_synthetic_r1i1p1f1_gr1.json"
# Optional: Parent directory containing observational data used by individual PODs.
# If defined, the framework assumes observational data is in OBS_DATA_ROOT/[POD_NAME]
OBS_DATA_ROOT: "../inputdata/obs_data"
Expand Down Expand Up @@ -64,10 +63,7 @@ overwrite: False
### Developer settings ###
# Set to True to run the preprocessor
run_pp: True
# Set to True to run unit tests
unit_test: False
# Additional custom preprocessing scripts to run on data
# place these scripts in the sites/local directory
# The framework will run the specified scripts whether run_pp is set to True or False
# place these scripts in the user_scripts directory of your copy of the MDTF-diagnostics package
user_pp_scripts:
- ""
- ""

0 comments on commit af046eb

Please sign in to comment.