From 42bb3267dce6c17f49fa7cb1bcae1f91630bd5c3 Mon Sep 17 00:00:00 2001 From: Ana Ordonez Date: Tue, 22 Aug 2023 09:53:14 -0700 Subject: [PATCH 1/2] Update target grid help --- pcmdi_metrics/mean_climate/lib/create_mean_climate_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcmdi_metrics/mean_climate/lib/create_mean_climate_parser.py b/pcmdi_metrics/mean_climate/lib/create_mean_climate_parser.py index 06633b1e0..dfbe8f2c4 100644 --- a/pcmdi_metrics/mean_climate/lib/create_mean_climate_parser.py +++ b/pcmdi_metrics/mean_climate/lib/create_mean_climate_parser.py @@ -96,7 +96,7 @@ def create_mean_climate_parser(): parser.add_argument( "--target_grid", dest="target_grid", - help='Options are "2.5x2.5" or an actual cdms2 grid object', + help='Set to "LATxLON" resolution in degrees. Default is "2.5x2.5"', required=False, default="2.5x2.5" ) From 496cfe5cce35e055ec908a7f3256384a3566505a Mon Sep 17 00:00:00 2001 From: Ana Ordonez Date: Tue, 22 Aug 2023 13:19:06 -0700 Subject: [PATCH 2/2] Update metrics_mean-clim.rst --- docs/metrics_mean-clim.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/metrics_mean-clim.rst b/docs/metrics_mean-clim.rst index cae2a88f4..a42de8e5b 100644 --- a/docs/metrics_mean-clim.rst +++ b/docs/metrics_mean-clim.rst @@ -80,7 +80,7 @@ where the list of variables (vars) to run the analysis on includes 'rlut' (outgo * **test_data_path**: the path/template where the test_data resides, e.g.: * **reference_data_set**: a python list that specifies 'default', 'alternate1', 'alternate2' or 'all', e.g., ['default'] * **reference_data_path**: the root path to the observational climatology database, e.g., '~/demo_data/PCMDIobs2_clims/' -* **target_grid**: '2.5x2.5' or an actual cdms2 grid object +* **target_grid**: a string giving the desired horizontal resolution in degrees following the form 'LATxLON', e.g. '2.5x2.5' * **regrid_tool**: options include 'esmf' and 'regrid2' * **metric_output_path**: the full path to the metrics output in JSON files, e.g., '~/demo_data/PMP_metrics/'