param.test_data_path = ( "/global/cfs/cdirs/e3sm/acme_diags/test_model_data_for_acme_diags/climatology" ) # Name of the test model data, used to find the climo files. param.test_name = "20161118.beta0.FC5COSP.ne30_ne30.edison" # An optional, shorter name to be used instead of the test_name. param.short_test_name = "Test: beta0_FC5COSP_ne30" # What plotsets to run the diags on. param.sets = ["lat_lon"] # Name of the folder where the results are stored. # Change `prefix` to use your directory. prefix = "/global/cfs/cdirs/e3sm/www/<your directory>/examples" param.results_dir = os.path.join(prefix, "ex4_model_to_model") # This parameter modifies the software to accommodate model vs model runs. # The default setting for run_type is 'model_vs_obs'. param.run_type = "model_vs_model" # Below are more optional arguments. # 'mpl' is to create matplotlib plots, 'vcs' is for vcs plots. param.backend = "mpl" # Title of the difference plots. param.diff_title = "Test Model - Ref Model" # For running with multiprocessing. # multiprocessing = True # num_workers = 32 runner.sets_to_run = ["lat_lon"] runner.run_diags([param])
# Set this parameter to True. # By default, e3sm_diags expects the ref data to be climo data. param.ref_timeseries_input = True # Years to slice the ref data, base this off the years in the filenames. param.ref_start_yr = '1850' param.ref_end_yr = '1852' # When running with time-series data, you don't need to specify the name of the data. # But you should, otherwise nothing is displayed when the test/ref name is needed. param.short_test_name = 'historical_H1' param.short_ref_name = 'historical_H1' # This parameter modifies the software to accommodate model vs model runs. # The default setting for run_type is 'model_vs_obs'. param.run_type = 'model_vs_model' # Name of the folder where the results are stored. # Change `prefix` to use your directory. #prefix = '/global/cfs/cdirs/e3sm/www/<your directory>/examples' param.results_dir = os.path.join(prefix, 'ex1_modTS_vs_modTS_3years') # Below are more optional arguments. # What plotsets to run the diags on. # If not defined, then all available sets are used. param.sets = ['lat_lon'] # What seasons to run the diags on. # If not defined, diags are run on ['ANN', 'DJF', 'MAM', 'JJA', 'SON']. param.seasons = ['ANN'] # Title of the difference plots. param.diff_title = 'Model (2011-2013) - Model (1850-1852)'