11# ==============================
2- # config_cam_baseline_example.yaml
2+ # config_noresm_default.yaml
3+ # modified from config_amwg_default_plots.yaml
34
4- # This is the main CAM diagnostics config file
5- # for doing comparisons of a CAM run against
6- # another CAM run, or a CAM baseline simulation.
5+ # This config file contains the standard set of variables and plots used for
6+ # evaluating CAM simulations in the AMWG working group.
77
88# Currently, if one is on NCAR's Casper or
99# Cheyenne machine, then only the diagnostic output
5252# names, as this will likely cause issues with the current file parsing
5353# system.
5454# --------------------
55- user : ' your_user_name '
55+ user : ' USER-NAME-NOT-SET '
5656#
5757# #==============================
5858#
@@ -89,10 +89,10 @@ diag_basic_info:
8989 # Location of observational datasets:
9090 # Note: this only matters if "compare_obs" is true and the path
9191 # isn't specified in the variable defaults file.
92- obs_data_loc : /diagnostics /ADF-obs
92+ obs_data_loc : /nird/datalake/NS16000B /ADF-obs
9393
9494 # Location where re-gridded and interpolated CAM climatology files are stored:
95- cam_regrid_loc : /scratch/${user}/diagnostics/ADF /regrid
95+ cam_regrid_loc : /scratch/${user}/noresm3/${diag_cam_climo.cam_case_name}/atm/proc/tseries /regrid
9696
9797 # Overwrite CAM re-gridded files?
9898 # If false, or missing, then regridding will be skipped for regridded variables
@@ -149,8 +149,7 @@ diag_cam_climo:
149149
150150 # Overwrite CAM climatology files?
151151 # If false, or not prsent, then already existing climatology files will be skipped:
152- # cam_overwrite_climo: true
153- cam_overwrite_climo : true
152+ cam_overwrite_climo : false
154153
155154 # Name of CAM case (or CAM run name):
156155 cam_case_name : n1850.ne30_tn14.hybrid_fatessp.20241219
@@ -166,7 +165,7 @@ diag_cam_climo:
166165 cam_hist_loc : /nird/datalake/NS9560K/noresm3/cases/${diag_cam_climo.cam_case_name}/atm/hist
167166
168167 # Location of CAM climatologies (to be created and then used by this script)
169- cam_climo_loc : /scratch/${user}/diagnostics/ADF/climo/ ${diag_cam_climo.cam_case_name}/atm/climo
168+ cam_climo_loc : /scratch/${user}/noresm3/ ${diag_cam_climo.cam_case_name}/atm/proc /climo
170169
171170 # model year when time series files should start:
172171 # Note: Leaving this entry blank will make time series
@@ -186,17 +185,33 @@ diag_cam_climo:
186185
187186 # Save interim time series files?
188187 # WARNING: This can take up a significant amount of space,
189- # but will save processing time the next time
190- cam_ts_save : false
188+ # but will save processing time the next time
189+ cam_ts_save : true
191190
192191 # Overwrite time series files, if found?
193192 # If set to false, then time series creation will be skipped if files are found:
194193 cam_overwrite_ts : false
195194
196195 # Location where time series files are (or will be) stored:
197- cam_ts_loc : /scratch/${user}/diagnostics/ADF/ ${diag_cam_climo.cam_case_name}/atm/tseries
196+ cam_ts_loc : /scratch/${user}/noresm3/ ${diag_cam_climo.cam_case_name}/atm/proc /tseries
198197
199198# -------------------------------------------------------------------------------------
199+ # TEM diagnostics
200+ # ---------------
201+ # TEM history file number
202+ # If missing or blank, ADF will default to h4
203+ tem_hist_str : cam.h4
204+
205+ # Location where TEM files are stored:
206+ # NOTE: If path not specified or commented out, TEM calculation/plots will be skipped!
207+ cam_tem_loc : /scratch/${user}/noresm3/ADF/${diag_cam_climo.cam_case_name}/tem/
208+
209+ # Overwrite TEM files, if found?
210+ # If set to false, then TEM creation will be skipped if files are found:
211+ overwrite_tem : false
212+
213+ # ----------------------
214+
200215# This third set of variables provide info for the CAM baseline climatologies.
201216# -------------------------------------------------------------------------------------
202217# This only matters if "compare_obs" is false:
@@ -206,15 +221,15 @@ diag_cam_baseline_climo:
206221 # eg. cam.h0 or ocn.pop.h.ecosys.nday1 or hist_str: [cam.h2,cam.h0]
207222 # Only affects timeseries as everything else uses the created timeseries
208223 # Default:
209- hist_str : cam.h0a
224+ hist_str : cam.h0a
210225
211226 # Calculate cam baseline climatologies?
212227 # If false, the climatology files will not be created:
213228 calc_cam_climo : true
214229
215230 # Overwrite CAM climatology files?
216231 # If false, or not present, then already existing climatology files will be skipped:
217- cam_overwrite_climo : true
232+ cam_overwrite_climo : false
218233
219234 # Name of CAM baseline case:
220235 cam_case_name : n1850.ne30_tn14.hybrid_fatessp.20241204
@@ -230,7 +245,7 @@ diag_cam_baseline_climo:
230245 cam_hist_loc : /nird/datalake/NS9560K/noresm3/cases/${diag_cam_baseline_climo.cam_case_name}/atm/hist
231246
232247 # Location of baseline CAM climatologies:
233- cam_climo_loc : /scratch/${user}/diagnostics/ADF/ ${diag_cam_baseline_climo.cam_case_name}/atm/climo
248+ cam_climo_loc : /scratch/${user}/noresm3/ ${diag_cam_baseline_climo.cam_case_name}/atm/proc /climo
234249
235250 # model year when time series files should start:
236251 # Note: Leaving this entry blank will make time series
@@ -259,6 +274,20 @@ diag_cam_baseline_climo:
259274 # Location where time series files are (or will be) stored:
260275 cam_ts_loc : /scratch/${user}/diagnostics/ADF/${diag_cam_baseline_climo.cam_case_name}/atm/tseries
261276
277+ # TEM diagnostics
278+ # ---------------
279+ # TEM history file number
280+ # If missing or blank, ADF will default to h4
281+ tem_hist_str : cam.h4
282+
283+ # Location where TEM files are stored:
284+ # NOTE: If path not specified or commented out, TEM calculation/plots will be skipped!
285+ cam_tem_loc : /scratch/${user}/${diag_cam_baseline_climo.cam_case_name}/tem/
286+
287+ # Overwrite TEM files, if found?
288+ # If set to false, then TEM creation will be skipped if files are found:
289+ overwrite_tem : false
290+
262291# -------------------------------------------------------------------------------------
263292# This fourth set of variables provides settings for calling the Climate Variability
264293# -------------------------------------------------------------------------------------
@@ -284,6 +313,67 @@ diag_cvdp_info:
284313 # tar up CVDP results?
285314 cvdp_tar : false
286315
316+ # This set of variables provides settings for calling NOAA's
317+ # Model Diagnostic Task Force (MDTF) diagnostic package.
318+ # https://github.com/NOAA-GFDL/MDTF-diagnostics
319+ #
320+ # If mdtf_run: true, the MDTF will be set up and
321+ # run in background mode, likely completing after the ADF has completed.
322+ #
323+ # WARNING: This currently only runs on CASPER (not derecho)
324+ #
325+ # The variables required depend on the diagnostics (PODs) selected.
326+ # AMWG-developed PODS and their required variables:
327+ # (Note that PRECT can be computed from PRECC & PRECL)
328+ # - MJO_suite: daily PRECT, FLUT, U850, U200, V200 (all required)
329+ # - Wheeler-Kiladis Wavenumber Frequency Spectra: daily PRECT, FLUT, U200, U850, OMEGA500
330+ # (will use what is available)
331+ # - Blocking (Rich Neale): daily OMEGA500
332+ # - Precip Diurnal Cycle (Rich Neale): 3-hrly PRECT
333+ #
334+ # Many other diagnostics are available; see
335+ # https://mdtf-diagnostics.readthedocs.io/en/main/sphinx/start_overview.html
336+
337+ #
338+ diag_mdtf_info :
339+ # Run the MDTF on the model cases
340+ mdtf_run : false
341+
342+ # The file that will be written by ADF to input to MDTF. Call this whatever you want.
343+ mdtf_input_settings_filename : mdtf_input.json
344+
345+ # # MDTF code path, sets the location of the MDTF codebase and pre-compiled conda envs
346+ # CHANGE if you have any: your own MDTF code, installed conda envs and/or obs_data
347+
348+ mdtf_codebase_path : /glade/campaign/cgd/amp/amwg/mdtf
349+ mdtf_codebase_loc : ${mdtf_codebase_path}/MDTF-diagnostics.v3.1.20230817.ADF
350+ conda_root : /glade/u/apps/opt/conda
351+ conda_env_root : ${mdtf_codebase_path}/miniconda2/envs.MDTFv3.1.20230412/
352+ OBS_DATA_ROOT : ${mdtf_codebase_path}/obs_data
353+
354+ # SET this to a writable dir. The ADF will place ts files here for the MDTF to read (adds the casename)
355+ MODEL_DATA_ROOT : ${diag_cam_climo.cam_ts_loc}/mdtf/inputdata/model
356+
357+ # Choose diagnostics (PODs). Full list of available PODs: https://github.com/NOAA-GFDL/MDTF-diagnostics
358+ pod_list : [ "MJO_suite" ]
359+
360+ # Intermediate/output file settings
361+ make_variab_tar : false # tar up MDTF results
362+ save_ps : false # save postscript figures in addition to bitmaps
363+ save_nc : false # save netCDF files of processed data (recommend true when starting with new model data)
364+ overwrite : true # overwrite results in OUTPUT_DIR; otherwise results will be saved under a unique name
365+
366+ # Settings used in debugging:
367+ verbose : 3 # Log verbosity level.
368+ test_mode : false # Set to true for framework test. Data is fetched but PODs are not run.
369+ dry_run : false # Framework test. No external commands are run and no remote data is copied. Implies test_mode.
370+
371+ # Settings that shouldn't change in ADF implementation for now
372+ data_type : single_run # single_run or multi_run (only works with single right now)
373+ data_manager : Local_File # Fetch data or it is local?
374+ environment_manager : Conda # Manage dependencies
375+
376+
287377
288378# +++++++++++++++++++++++++++++++++++++++++++++++++++
289379# These variables below only matter if you are using
@@ -298,9 +388,7 @@ diag_cvdp_info:
298388# Name of time-averaging scripts being used to generate climatologies.
299389# These scripts must be located in "scripts/averaging":
300390time_averaging_scripts :
301- # - create_climo_files
302391 - {create_climo_files: {kwargs: {clobber: false}}}
303-
304392 # - create_TEM_files #To generate TEM files, please un-comment
305393
306394# Name of regridding scripts being used.
@@ -318,18 +406,20 @@ analysis_scripts:
318406plotting_scripts :
319407 - global_mean_timeseries
320408 - global_latlon_map
409+ - global_latlon_vect_map
321410 - zonal_mean
322411 - meridional_mean
323412 - polar_map
324- - global_latlon_vect_map
325413 - cam_taylor_diagram
414+ - ozone_diagnostics
326415 - qbo
327416 # - tape_recorder
328417 # - tem #To plot TEM, please un-comment fill-out the "tem_info" section below
329418
330419# List of CAM variables that will be processesd:
331420# If CVDP is to be run PSL, TREFHT, TS and PRECT (or PRECC and PRECL) should be listed
332421diag_var_list :
422+ - AODDUST
333423 - AODVIS
334424 - cb_SULFATE
335425 - cb_isoprene
@@ -375,13 +465,15 @@ diag_var_list:
375465 - FSNTC
376466 - LHFLX
377467 - LWCF
468+ - OMEGA500
378469 - PBLH
379470 - PRECT
380471 - PS
381472 - PSL
382473 - QFLX
383474 - RELHUM
384475 - SHFLX
476+ - SST
385477 - SWCF
386478 - T
387479 - TAUX
@@ -393,15 +485,16 @@ diag_var_list:
393485 - TS
394486 - U
395487 - U10
396- # - ICEFRAC
397- # - OCNFRAC
398- # - LANDFRAC
399- # 2d fields
400- # - SFSO2 0 => 1.4e-10 kg/m2/s (SO2 surface flux)
401- # - WD_DMS -4.5e-15 => 1.7e-22 kg/m2/s (vertical integrated wet deposition flux)
402- # - WD_SO2 -1.5e-10 => 3.8e-16 kg/m2/s (vertical integrated wet deposition flux)
403- # - DF_DMS -4.5e-21 => 5.1e-13 kg/m2/s (vertical integrated dry deposition flux)
404- # - DF_H2O2 6.6e-26 => 2.7e-11 kg/m2/s (vertical integrated dry deposition flux)
488+ - ICEFRAC
489+ - OCNFRAC
490+ - LANDFRAC
491+ - O3
492+ # 2d fields
493+ # - SFSO2 0 => 1.4e-10 kg/m2/s (SO2 surface flux)
494+ # - WD_DMS -4.5e-15 => 1.7e-22 kg/m2/s (vertical integrated wet deposition flux)
495+ # - WD_SO2 -1.5e-10 => 3.8e-16 kg/m2/s (vertical integrated wet deposition flux)
496+ # - DF_DMS -4.5e-21 => 5.1e-13 kg/m2/s (vertical integrated dry deposition flux)
497+ # - DF_H2O2 6.6e-26 => 2.7e-11 kg/m2/s (vertical integrated dry deposition flux)
405498 # - DF_SO2 1.5e-27 => 7.0e-10 kg/m2/s (vertical integrated dry deposition flux)
406499 # 3d fields
407500 # - sum_BC 1.8e-14 => 1.2e-8 kg/kg (sum of BC concentrations)
0 commit comments