From c54bd0ad9c5e28680ae5b65fa41c5fc47e9abef6 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 7 Nov 2023 16:03:06 -0700 Subject: [PATCH 01/69] Absorb {ACCUM_HH}h in file and directory names for ASNOW into the variable fieldname_in_MET_filedir_names (as it is with APCP). --- parm/metplus/EnsembleStat_ASNOW.conf | 2 +- parm/metplus/GenEnsProd_ASNOW.conf | 2 +- parm/metplus/GridStat_ASNOW.conf | 14 ++++++-------- parm/metplus/GridStat_ensmean_ASNOW.conf | 2 +- parm/metplus/GridStat_ensprob_ASNOW.conf | 2 +- ush/set_vx_params.sh | 2 +- 6 files changed, 11 insertions(+), 13 deletions(-) diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index f472a109ff..54068d8dab 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -259,7 +259,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}{{accum_hh}}h_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. diff --git a/parm/metplus/GenEnsProd_ASNOW.conf b/parm/metplus/GenEnsProd_ASNOW.conf index c552ec047c..65415ff0a1 100644 --- a/parm/metplus/GenEnsProd_ASNOW.conf +++ b/parm/metplus/GenEnsProd_ASNOW.conf @@ -100,7 +100,7 @@ GEN_ENS_PROD_OUTPUT_DIR = {{output_dir}} # # Template for output from GenEnsProd relative to GEN_ENS_PROD_OUTPUT_DIR. # -GEN_ENS_PROD_OUTPUT_TEMPLATE = gen_ens_prod_{MODEL}_{{fieldname_in_met_filedir_names}}_{{accum_hh}}h_{OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d_%H%M%S}V.nc +GEN_ENS_PROD_OUTPUT_TEMPLATE = gen_ens_prod_{MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d_%H%M%S}V.nc # # Directory for staging data. # diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 96c0f97bc3..04a1db164a 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -1,10 +1,8 @@ # GridStat METplus Configuration -# section heading for [config] variables - all items below this line and -# before the next section heading correspond to the [config] section [config] -# List of applications to run - only GridStat for this case +# List of applications (tools) to run. PROCESS_LIST = GridStat # time looping - options are INIT, VALID, RETRO, and REALTIME @@ -33,8 +31,8 @@ INIT_INCREMENT = 3600 # List of forecast leads to process for each run time (init or valid) # In hours if units are not specified # If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} - +LEAD_SEQ = {{fhr_list}} +# # Order of loops to process data - Options are times, processes # Not relevant if only one item is in the PROCESS_LIST # times = run all wrappers in the PROCESS_LIST for a single run time, then @@ -43,11 +41,11 @@ LEAD_SEQ = {{fhr_list}} # processes = run the first wrapper in the PROCESS_LIST for all times # specified, then repeat for the next item in the PROCESS_LIST until all # wrappers have been run +# LOOP_ORDER = times # Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only #LOG_GRID_STAT_VERBOSITY = 2 - # # Specify the name of the METplus log file. # @@ -119,7 +117,7 @@ FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR1_OPTIONS = convert(x) = 100.0*x; # # List of thresholds to evaluate for each name/level combination for -# forecast variable 1. +# both obs and forecast variable 1. # BOTH_VAR1_THRESH = {{field_thresholds}} # @@ -168,7 +166,7 @@ FCST_IS_PROB = False # FCST_GRID_STAT_PROB_THRESH = ==0.1 -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}{ACCUM_HH}h_{OBTYPE} +GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 9b78d6e31f..93b4f6346f 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -201,7 +201,7 @@ FCST_IS_PROB = False # FCST_GRID_STAT_PROB_THRESH = ==0.1 -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}{{accum_hh}}h_{OBTYPE} +GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index e430cb2cf9..8d802113a8 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -302,7 +302,7 @@ FCST_PROB_IN_GRIB_PDS = False # FCST_GRID_STAT_PROB_THRESH = ==0.1 -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}{{accum_hh}}h_{OBTYPE} +GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/ush/set_vx_params.sh b/ush/set_vx_params.sh index 15d154d402..bca58e4c7d 100644 --- a/ush/set_vx_params.sh +++ b/ush/set_vx_params.sh @@ -175,7 +175,7 @@ this observation type (obtype) and field (field) combination: fieldname_in_obs_input="${field}" fieldname_in_fcst_input="${field}" fieldname_in_MET_output="${field}_${accum_hh}" - fieldname_in_MET_filedir_names="${field}" + fieldname_in_MET_filedir_names="${field}${accum_hh}h" ;; *) From b766d2cab0fdf1ddd0a3d352860c39ade2ed4d74 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 8 Nov 2023 12:23:35 -0700 Subject: [PATCH 02/69] Partial change from SFC and UPA names to ADPSFC and ADPUPA. --- ush/config_defaults.yaml | 11 +++++------ ush/set_vx_fhr_list.sh | 4 ++-- ush/set_vx_params.sh | 4 ++-- ush/setup.py | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ush/config_defaults.yaml b/ush/config_defaults.yaml index 09571845a9..f91d5ddda1 100644 --- a/ush/config_defaults.yaml +++ b/ush/config_defaults.yaml @@ -2409,21 +2409,20 @@ verification: # OBS_MRMS_RETOP_FN_TEMPLATE: # File name template for MRMS echo top observations. # - # OBS_NDAS_SFCorUPA_FN_TEMPLATE: + # OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE: # File name template for NDAS surface and upper air observations. # - # OBS_NDAS_SFCorUPA_FN_METPROC_TEMPLATE: + # OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE: # File name template for NDAS surface and upper air observations # after processing by MET's pb2nc tool (to change format to NetCDF). # - OBS_CCPA_APCP01h_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/ccpa.t{valid?fmt=%H}z.01h.hrap.conus.gb2' OBS_CCPA_APCPgt01h_FN_TEMPLATE: '${OBS_CCPA_APCP01h_FN_TEMPLATE}_a${ACCUM_HH}h.nc' OBS_NOHRSC_ASNOW_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/sfav2_CONUS_${ACCUM_HH}h_{valid?fmt=%Y%m%d%H}_grid184.grb2' OBS_MRMS_REFC_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/MergedReflectivityQCComposite_00.50_{valid?fmt=%Y%m%d}-{valid?fmt=%H%M%S}.grib2' OBS_MRMS_RETOP_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/EchoTop_18_00.50_{valid?fmt=%Y%m%d}-{valid?fmt=%H%M%S}.grib2' - OBS_NDAS_SFCorUPA_FN_TEMPLATE: 'prepbufr.ndas.{valid?fmt=%Y%m%d%H}' - OBS_NDAS_SFCorUPA_FN_METPROC_TEMPLATE: '${OBS_NDAS_SFCorUPA_FN_TEMPLATE}.nc' + OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE: 'prepbufr.ndas.{valid?fmt=%Y%m%d%H}' + OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE: '${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE}.nc' # # VX_FCST_MODEL_NAME: # String that specifies a descriptive name for the model being verified. @@ -2451,7 +2450,7 @@ verification: # VX_ASNOW_ACCUMS_HRS will be ignored. # VX_FCST_MODEL_NAME: '{{ nco.NET_default }}.{{ task_run_post.POST_OUTPUT_DOMAIN_NAME }}' - VX_FIELDS: [ "APCP", "REFC", "RETOP", "SFC", "UPA" ] + VX_FIELDS: [ "APCP", "REFC", "RETOP", "ADPSFC", "ADPUPA" ] VX_APCP_ACCUMS_HRS: [ 1, 3, 6, 24 ] VX_ASNOW_ACCUMS_HRS: [ 6, 24 ] # diff --git a/ush/set_vx_fhr_list.sh b/ush/set_vx_fhr_list.sh index 172b5c52f3..a21d0d1c95 100644 --- a/ush/set_vx_fhr_list.sh +++ b/ush/set_vx_fhr_list.sh @@ -122,11 +122,11 @@ function set_vx_fhr_list() { fhr_min="00" fhr_int="01" ;; - "SFC") + "ADPSFC") fhr_min="00" fhr_int="01" ;; - "UPA") + "ADPUPA") fhr_min="00" fhr_int="06" ;; diff --git a/ush/set_vx_params.sh b/ush/set_vx_params.sh index bca58e4c7d..04a714e9e6 100644 --- a/ush/set_vx_params.sh +++ b/ush/set_vx_params.sh @@ -224,14 +224,14 @@ this observation type (obtype) and field (field) combination: _grid_or_point_="point" case "${field}" in - "SFC") + "ADPSFC") fieldname_in_obs_input="" fieldname_in_fcst_input="" fieldname_in_MET_output="${field}" fieldname_in_MET_filedir_names="${field}" ;; - "UPA") + "ADPUPA") fieldname_in_obs_input="" fieldname_in_fcst_input="" fieldname_in_MET_output="${field}" diff --git a/ush/setup.py b/ush/setup.py index bcd04101a2..7e6acb9ff7 100644 --- a/ush/setup.py +++ b/ush/setup.py @@ -569,7 +569,7 @@ def remove_tag(tasks, tag): "metatask_GenEnsProd_EnsembleStat_MRMS", "metatask_GridStat_MRMS_ensprob"] - vx_fields_all["NDAS"] = ["SFC", "UPA"] + vx_fields_all["NDAS"] = ["ADPSFC", "ADPUPA"] vx_metatasks_all["NDAS"] = ["task_run_MET_Pb2nc_obs", "metatask_PointStat_NDAS_all_mems", "metatask_GenEnsProd_EnsembleStat_NDAS", From da70c2e6219d09ce22f5e58442e44a17bcdb38f8 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 8 Nov 2023 12:41:16 -0700 Subject: [PATCH 03/69] Further modifications for change from SFC and UPA names to ADPSFC and ADPUPA. --- parm/wflow/verify_det.yaml | 2 +- parm/wflow/verify_ens.yaml | 4 ++-- parm/wflow/verify_pre.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/parm/wflow/verify_det.yaml b/parm/wflow/verify_det.yaml index 3c477e88f9..4d26add1e4 100644 --- a/parm/wflow/verify_det.yaml +++ b/parm/wflow/verify_det.yaml @@ -116,7 +116,7 @@ metatask_PointStat_NDAS_all_mems: mem: '{% if global.DO_ENSEMBLE %}{% for m in range(1, global.NUM_ENS_MEMBERS+1) %}{{ "%03d "%m }}{%- endfor -%} {% else %}{{ "000"|string }}{% endif %}' metatask_PointStat_NDAS_mem#mem#: var: - VAR: '{% for var in verification.VX_FIELDS %}{% if var in ["SFC", "UPA"] %}{{ "%s " % var }}{% endif %}{% endfor %}' + VAR: '{% for var in verification.VX_FIELDS %}{% if var in ["ADPSFC", "ADPUPA"] %}{{ "%s " % var }}{% endif %}{% endfor %}' task_run_MET_PointStat_vx_#VAR#_mem#mem#: <<: *default_task_verify_det command: '&LOAD_MODULES_RUN_TASK_FP; "run_vx" "&JOBSdir;/JREGIONAL_RUN_MET_GRIDSTAT_OR_POINTSTAT_VX"' diff --git a/parm/wflow/verify_ens.yaml b/parm/wflow/verify_ens.yaml index e3b1a6455b..46108d929b 100644 --- a/parm/wflow/verify_ens.yaml +++ b/parm/wflow/verify_ens.yaml @@ -125,7 +125,7 @@ metatask_GenEnsProd_EnsembleStat_MRMS: metatask_GenEnsProd_EnsembleStat_NDAS: var: - VAR: '{% for var in verification.VX_FIELDS %}{% if var in ["SFC", "UPA"] %}{{ "%s " % var }}{% endif %}{% endfor %}' + VAR: '{% for var in verification.VX_FIELDS %}{% if var in ["ADPSFC", "ADPUPA"] %}{{ "%s " % var }}{% endif %}{% endfor %}' task_run_MET_GenEnsProd_vx_#VAR#: &task_GenEnsProd_NDAS <<: *default_task_verify_ens command: '&LOAD_MODULES_RUN_TASK_FP; "run_vx" "&JOBSdir;/JREGIONAL_RUN_MET_GENENSPROD_OR_ENSEMBLESTAT"' @@ -226,7 +226,7 @@ metatask_PointStat_NDAS_ensmeanprob: statlc: mean prob metatask_PointStat_NDAS_ens#statlc#: var: - VAR: '{% for var in verification.VX_FIELDS %}{% if var in ["SFC", "UPA"] %}{{ "%s " % var }}{% endif %}{% endfor %}' + VAR: '{% for var in verification.VX_FIELDS %}{% if var in ["ADPSFC", "ADPUPA"] %}{{ "%s " % var }}{% endif %}{% endfor %}' task_run_MET_PointStat_vx_ens#statlc#_#VAR#: <<: *default_task_verify_ens command: '&LOAD_MODULES_RUN_TASK_FP; "run_vx" "&JOBSdir;/JREGIONAL_RUN_MET_GRIDSTAT_OR_POINTSTAT_VX_ENS#stat#"' diff --git a/parm/wflow/verify_pre.yaml b/parm/wflow/verify_pre.yaml index 9943c57544..161ef6a145 100644 --- a/parm/wflow/verify_pre.yaml +++ b/parm/wflow/verify_pre.yaml @@ -79,7 +79,7 @@ task_run_MET_Pb2nc_obs: command: '&LOAD_MODULES_RUN_TASK_FP; "run_vx" "&JOBSdir;/JREGIONAL_RUN_MET_PB2NC_OBS"' envars: <<: *default_vars - VAR: SFC + VAR: ADPSFC ACCUM_HH: '01' obs_or_fcst: obs OBTYPE: NDAS From aad2eac9108f84abd30002a1975df3e64ebf8114 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 8 Nov 2023 12:54:10 -0700 Subject: [PATCH 04/69] Further modifications for renaming from SFC and UPA to ADPSFC and ADPUPA, this time in METplus conf files. --- .../{EnsembleStat_SFC.conf => EnsembleStat_ADPSFC.conf} | 4 ++-- .../{EnsembleStat_UPA.conf => EnsembleStat_ADPUPA.conf} | 4 ++-- parm/metplus/{GenEnsProd_SFC.conf => GenEnsProd_ADPSFC.conf} | 2 +- parm/metplus/{GenEnsProd_UPA.conf => GenEnsProd_ADPUPA.conf} | 2 +- parm/metplus/{PointStat_SFC.conf => PointStat_ADPSFC.conf} | 4 ++-- parm/metplus/{PointStat_UPA.conf => PointStat_ADPUPA.conf} | 4 ++-- ...intStat_ensmean_SFC.conf => PointStat_ensmean_ADPSFC.conf} | 4 ++-- ...intStat_ensmean_UPA.conf => PointStat_ensmean_ADPUPA.conf} | 4 ++-- ...intStat_ensprob_SFC.conf => PointStat_ensprob_ADPSFC.conf} | 4 ++-- ...intStat_ensprob_UPA.conf => PointStat_ensprob_ADPUPA.conf} | 4 ++-- 10 files changed, 18 insertions(+), 18 deletions(-) rename parm/metplus/{EnsembleStat_SFC.conf => EnsembleStat_ADPSFC.conf} (98%) rename parm/metplus/{EnsembleStat_UPA.conf => EnsembleStat_ADPUPA.conf} (98%) rename parm/metplus/{GenEnsProd_SFC.conf => GenEnsProd_ADPSFC.conf} (97%) rename parm/metplus/{GenEnsProd_UPA.conf => GenEnsProd_ADPUPA.conf} (97%) rename parm/metplus/{PointStat_SFC.conf => PointStat_ADPSFC.conf} (98%) rename parm/metplus/{PointStat_UPA.conf => PointStat_ADPUPA.conf} (98%) rename parm/metplus/{PointStat_ensmean_SFC.conf => PointStat_ensmean_ADPSFC.conf} (98%) rename parm/metplus/{PointStat_ensmean_UPA.conf => PointStat_ensmean_ADPUPA.conf} (98%) rename parm/metplus/{PointStat_ensprob_SFC.conf => PointStat_ensprob_ADPSFC.conf} (98%) rename parm/metplus/{PointStat_ensprob_UPA.conf => PointStat_ensprob_ADPUPA.conf} (99%) diff --git a/parm/metplus/EnsembleStat_SFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf similarity index 98% rename from parm/metplus/EnsembleStat_SFC.conf rename to parm/metplus/EnsembleStat_ADPSFC.conf index 14c5c7b85a..9af823abd0 100644 --- a/parm/metplus/EnsembleStat_SFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -114,7 +114,7 @@ ENSEMBLE_STAT_REGRID_TO_GRID = NONE ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = -ENSEMBLE_STAT_MESSAGE_TYPE = ADP{FIELDNAME_IN_MET_FILEDIR_NAMES} +ENSEMBLE_STAT_MESSAGE_TYPE = {FIELDNAME_IN_MET_FILEDIR_NAMES} ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = FALSE @@ -306,7 +306,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_ADP{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. diff --git a/parm/metplus/EnsembleStat_UPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf similarity index 98% rename from parm/metplus/EnsembleStat_UPA.conf rename to parm/metplus/EnsembleStat_ADPUPA.conf index 4bc2bad3d0..d0f6fd96fa 100644 --- a/parm/metplus/EnsembleStat_UPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -114,7 +114,7 @@ ENSEMBLE_STAT_REGRID_TO_GRID = NONE ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = -ENSEMBLE_STAT_MESSAGE_TYPE = ADP{FIELDNAME_IN_MET_FILEDIR_NAMES} +ENSEMBLE_STAT_MESSAGE_TYPE = {FIELDNAME_IN_MET_FILEDIR_NAMES} ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = FALSE @@ -348,7 +348,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_ADP{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. diff --git a/parm/metplus/GenEnsProd_SFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf similarity index 97% rename from parm/metplus/GenEnsProd_SFC.conf rename to parm/metplus/GenEnsProd_ADPSFC.conf index 47b49b9adb..5d0275df24 100644 --- a/parm/metplus/GenEnsProd_SFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -100,7 +100,7 @@ GEN_ENS_PROD_OUTPUT_DIR = {{output_dir}} # # Template for output from GenEnsProd relative to GEN_ENS_PROD_OUTPUT_DIR. # -GEN_ENS_PROD_OUTPUT_TEMPLATE = gen_ens_prod_{MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d_%H%M%S}V.nc +GEN_ENS_PROD_OUTPUT_TEMPLATE = gen_ens_prod_{MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d_%H%M%S}V.nc # # Directory for staging data. # diff --git a/parm/metplus/GenEnsProd_UPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf similarity index 97% rename from parm/metplus/GenEnsProd_UPA.conf rename to parm/metplus/GenEnsProd_ADPUPA.conf index ee1ceb42ca..dcfbf25687 100644 --- a/parm/metplus/GenEnsProd_UPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -100,7 +100,7 @@ GEN_ENS_PROD_OUTPUT_DIR = {{output_dir}} # # Template for output from GenEnsProd relative to GEN_ENS_PROD_OUTPUT_DIR. # -GEN_ENS_PROD_OUTPUT_TEMPLATE = gen_ens_prod_{MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d_%H%M%S}V.nc +GEN_ENS_PROD_OUTPUT_TEMPLATE = gen_ens_prod_{MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d_%H%M%S}V.nc # # Directory for staging data. # diff --git a/parm/metplus/PointStat_SFC.conf b/parm/metplus/PointStat_ADPSFC.conf similarity index 98% rename from parm/metplus/PointStat_SFC.conf rename to parm/metplus/PointStat_ADPSFC.conf index 62f59328fe..76f6a47f76 100644 --- a/parm/metplus/PointStat_SFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -146,7 +146,7 @@ POINT_STAT_REGRID_TO_GRID = NONE POINT_STAT_REGRID_METHOD = BILIN POINT_STAT_REGRID_WIDTH = 2 -POINT_STAT_OUTPUT_PREFIX = {MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE} +POINT_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # sets the -obs_valid_beg command line argument (optional) # not used for this example @@ -170,7 +170,7 @@ POINT_STAT_STATION_ID = # Message types, if all message types are to be returned, leave this empty, # otherwise indicate the message types of interest. -POINT_STAT_MESSAGE_TYPE = ADP{{fieldname_in_met_filedir_names}} +POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to True to run PointStat once for each name/level combination # set to False to run PointStat once per run time including all fields diff --git a/parm/metplus/PointStat_UPA.conf b/parm/metplus/PointStat_ADPUPA.conf similarity index 98% rename from parm/metplus/PointStat_UPA.conf rename to parm/metplus/PointStat_ADPUPA.conf index 385b5387a2..d92e1e3b99 100644 --- a/parm/metplus/PointStat_UPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -146,7 +146,7 @@ POINT_STAT_REGRID_TO_GRID = NONE POINT_STAT_REGRID_METHOD = BILIN POINT_STAT_REGRID_WIDTH = 2 -POINT_STAT_OUTPUT_PREFIX = {MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE} +POINT_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # sets the -obs_valid_beg command line argument (optional) # not used for this example @@ -170,7 +170,7 @@ POINT_STAT_STATION_ID = # Message types, if all message types are to be returned, leave this empty, # otherwise indicate the message types of interest. -POINT_STAT_MESSAGE_TYPE = ADP{{fieldname_in_met_filedir_names}} +POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to True to run PointStat once for each name/level combination # set to False to run PointStat once per run time including all fields diff --git a/parm/metplus/PointStat_ensmean_SFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf similarity index 98% rename from parm/metplus/PointStat_ensmean_SFC.conf rename to parm/metplus/PointStat_ensmean_ADPSFC.conf index 0d5ee3b696..7a7796aa51 100644 --- a/parm/metplus/PointStat_ensmean_SFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -139,7 +139,7 @@ POINT_STAT_REGRID_TO_GRID = NONE POINT_STAT_REGRID_METHOD = BILIN POINT_STAT_REGRID_WIDTH = 2 -POINT_STAT_OUTPUT_PREFIX = {MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE} +POINT_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # sets the -obs_valid_beg command line argument (optional) # not used for this example @@ -163,7 +163,7 @@ POINT_STAT_STATION_ID = # Message types, if all message types are to be returned, leave this empty, # otherwise indicate the message types of interest. -POINT_STAT_MESSAGE_TYPE = ADP{{fieldname_in_met_filedir_names}} +POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to True to run PointStat once for each name/level combination # set to False to run PointStat once per run time including all fields diff --git a/parm/metplus/PointStat_ensmean_UPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf similarity index 98% rename from parm/metplus/PointStat_ensmean_UPA.conf rename to parm/metplus/PointStat_ensmean_ADPUPA.conf index 1846e0cf6e..8916a45626 100644 --- a/parm/metplus/PointStat_ensmean_UPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -139,7 +139,7 @@ POINT_STAT_REGRID_TO_GRID = NONE POINT_STAT_REGRID_METHOD = BILIN POINT_STAT_REGRID_WIDTH = 2 -POINT_STAT_OUTPUT_PREFIX = {MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE} +POINT_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # sets the -obs_valid_beg command line argument (optional) # not used for this example @@ -163,7 +163,7 @@ POINT_STAT_STATION_ID = # Message types, if all message types are to be returned, leave this empty, # otherwise indicate the message types of interest. -POINT_STAT_MESSAGE_TYPE = ADP{{fieldname_in_met_filedir_names}} +POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to True to run PointStat once for each name/level combination # set to False to run PointStat once per run time including all fields diff --git a/parm/metplus/PointStat_ensprob_SFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf similarity index 98% rename from parm/metplus/PointStat_ensprob_SFC.conf rename to parm/metplus/PointStat_ensprob_ADPSFC.conf index 84b3ac9445..109ab2742a 100644 --- a/parm/metplus/PointStat_ensprob_SFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -139,7 +139,7 @@ POINT_STAT_REGRID_TO_GRID = NONE POINT_STAT_REGRID_METHOD = BILIN POINT_STAT_REGRID_WIDTH = 2 -POINT_STAT_OUTPUT_PREFIX = {MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE} +POINT_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # sets the -obs_valid_beg command line argument (optional) # not used for this example @@ -163,7 +163,7 @@ POINT_STAT_STATION_ID = # Message types, if all message types are to be returned, leave this empty, # otherwise indicate the message types of interest. -POINT_STAT_MESSAGE_TYPE = ADP{{fieldname_in_met_filedir_names}} +POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to True to run PointStat once for each name/level combination # set to False to run PointStat once per run time including all fields diff --git a/parm/metplus/PointStat_ensprob_UPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf similarity index 99% rename from parm/metplus/PointStat_ensprob_UPA.conf rename to parm/metplus/PointStat_ensprob_ADPUPA.conf index 6b4628112f..f1da93f11c 100644 --- a/parm/metplus/PointStat_ensprob_UPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -139,7 +139,7 @@ POINT_STAT_REGRID_TO_GRID = NONE POINT_STAT_REGRID_METHOD = BILIN POINT_STAT_REGRID_WIDTH = 2 -POINT_STAT_OUTPUT_PREFIX = {MODEL}_ADP{{fieldname_in_met_filedir_names}}_{OBTYPE} +POINT_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} # sets the -obs_valid_beg command line argument (optional) # not used for this example @@ -163,7 +163,7 @@ POINT_STAT_STATION_ID = # Message types, if all message types are to be returned, leave this empty, # otherwise indicate the message types of interest. -POINT_STAT_MESSAGE_TYPE = ADP{{fieldname_in_met_filedir_names}} +POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to True to run PointStat once for each name/level combination # set to False to run PointStat once per run time including all fields From a718921e4882cd4b56c79492e00614f3ac64df0c Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 8 Nov 2023 13:46:42 -0700 Subject: [PATCH 05/69] In METplus conf files, change comparison operators in thresholds from ">=", ">", "<=", and "<" to "ge", "gt", "le", and "lt". --- parm/metplus/EnsembleStat_ADPSFC.conf | 26 ++++---- parm/metplus/EnsembleStat_ADPUPA.conf | 48 ++++++------- parm/metplus/GenEnsProd_ADPSFC.conf | 12 ++-- parm/metplus/GenEnsProd_ADPUPA.conf | 24 +++---- parm/metplus/GridStat_ensprob_APCP01h.conf | 16 ++--- parm/metplus/GridStat_ensprob_APCP03h.conf | 16 ++--- parm/metplus/GridStat_ensprob_APCP06h.conf | 16 ++--- parm/metplus/GridStat_ensprob_APCP24h.conf | 16 ++--- parm/metplus/GridStat_ensprob_ASNOW.conf | 20 +++--- parm/metplus/GridStat_ensprob_REFC.conf | 16 ++--- parm/metplus/GridStat_ensprob_RETOP.conf | 16 ++--- parm/metplus/PointStat_ADPSFC.conf | 28 ++++---- parm/metplus/PointStat_ADPUPA.conf | 14 ++-- parm/metplus/PointStat_ensmean_ADPSFC.conf | 12 ++-- parm/metplus/PointStat_ensmean_ADPUPA.conf | 48 ++++++------- parm/metplus/PointStat_ensprob_ADPSFC.conf | 46 ++++++------- parm/metplus/PointStat_ensprob_ADPUPA.conf | 78 +++++++++++----------- 17 files changed, 226 insertions(+), 226 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index 9af823abd0..e3c02ccd83 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -191,58 +191,58 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # FCST_VAR1_NAME = TMP FCST_VAR1_LEVELS = Z2 -FCST_VAR1_THRESH = >=268, >=273, >=278, >=293, >=298, >=303 +FCST_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = Z2 -OBS_VAR1_THRESH = >=268, >=273, >=278, >=293, >=298, >=303 +OBS_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 OBS_VAR1_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR2_NAME = DPT FCST_VAR2_LEVELS = Z2 -FCST_VAR2_THRESH = >=263, >=268, >=273, >=288, >=293, >=298 +FCST_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 OBS_VAR2_NAME = DPT OBS_VAR2_LEVELS = Z2 -OBS_VAR2_THRESH = >=263, >=268, >=273, >=288, >=293, >=298 +OBS_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 OBS_VAR2_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR3_NAME = WIND FCST_VAR3_LEVELS = Z10 -FCST_VAR3_THRESH = >=5, >=10, >=15 +FCST_VAR3_THRESH = ge5, ge10, ge15 FCST_VAR3_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind OBS_VAR3_NAME = WIND OBS_VAR3_LEVELS = Z10 -OBS_VAR3_THRESH = >=5, >=10, >=15 +OBS_VAR3_THRESH = ge5, ge10, ge15 OBS_VAR3_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR4_NAME = TCDC FCST_VAR4_LEVELS = L0 -FCST_VAR4_THRESH = <25, >75 +FCST_VAR4_THRESH = lt25, gt75 FCST_VAR4_OPTIONS = GRIB_lvl_typ = 200; GRIB2_ipdtmpl_index=[27]; GRIB2_ipdtmpl_val=[255]; interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR4_NAME = TCDC OBS_VAR4_LEVELS = L0 -OBS_VAR4_THRESH = <25, >75 +OBS_VAR4_THRESH = lt25, gt75 #BOTH_VAR5_NAME = VIS #BOTH_VAR5_LEVELS = L0 -#BOTH_VAR5_THRESH = <1609, <8045, >=8045 +#BOTH_VAR5_THRESH = lt1609, lt8045, ge8045 #BOTH_VAR5_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR5_NAME = VIS FCST_VAR5_LEVELS = L0 -FCST_VAR5_THRESH = <1609, <8045, >=8045 +FCST_VAR5_THRESH = lt1609, lt8045, ge8045 FCST_VAR5_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR5_NAME = VIS OBS_VAR5_LEVELS = L0 -OBS_VAR5_THRESH = <1609, <8045, >=8045 +OBS_VAR5_THRESH = lt1609, lt8045, ge8045 FCST_VAR6_NAME = HGT FCST_VAR6_LEVELS = L0 -FCST_VAR6_THRESH = <152, <1520, >=914 +FCST_VAR6_THRESH = lt152, lt1520, ge914 FCST_VAR6_OPTIONS = GRIB_lvl_typ = 215; desc = "CEILING"; OBS_VAR6_NAME = CEILING OBS_VAR6_LEVELS = L0 #OBS_VAR6_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR6_OPTIONS = GRIB_lvl_typ = 215 -OBS_VAR6_THRESH = <152, <305, >=914 +OBS_VAR6_THRESH = lt152, lt305, ge914 [dir] # diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index d0f6fd96fa..a1b349ed90 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -191,100 +191,100 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # FCST_VAR1_NAME = TMP FCST_VAR1_LEVELS = P850 -FCST_VAR1_THRESH = >=288, >=293, >=298 +FCST_VAR1_THRESH = ge288, ge293, ge298 OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = P850 -OBS_VAR1_THRESH = >=288, >=293, >=298 +OBS_VAR1_THRESH = ge288, ge293, ge298 OBS_VAR1_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR2_NAME = TMP FCST_VAR2_LEVELS = P700 -FCST_VAR2_THRESH = >=273, >=278, >=283 +FCST_VAR2_THRESH = ge273, ge278, ge283 OBS_VAR2_NAME = TMP OBS_VAR2_LEVELS = P700 -OBS_VAR2_THRESH = >=273, >=278, >=283 +OBS_VAR2_THRESH = ge273, ge278, ge283 OBS_VAR2_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR3_NAME = TMP FCST_VAR3_LEVELS = P500 -FCST_VAR3_THRESH = >=258, >=263, >=268 +FCST_VAR3_THRESH = ge258, ge263, ge268 OBS_VAR3_NAME = TMP OBS_VAR3_LEVELS = P500 -OBS_VAR3_THRESH = >=258, >=263, >=268 +OBS_VAR3_THRESH = ge258, ge263, ge268 OBS_VAR3_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR4_NAME = DPT FCST_VAR4_LEVELS = P850 -FCST_VAR4_THRESH = >=273, >=278, >=283 +FCST_VAR4_THRESH = ge273, ge278, ge283 OBS_VAR4_NAME = DPT OBS_VAR4_LEVELS = P850 -OBS_VAR4_THRESH = >=273, >=278, >=283 +OBS_VAR4_THRESH = ge273, ge278, ge283 OBS_VAR4_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR5_NAME = DPT FCST_VAR5_LEVELS = P700 -FCST_VAR5_THRESH = >=263, >=286, >=273 +FCST_VAR5_THRESH = ge263, ge286, ge273 OBS_VAR5_NAME = DPT OBS_VAR5_LEVELS = P700 -OBS_VAR5_THRESH = >=263, >=286, >=273 +OBS_VAR5_THRESH = ge263, ge286, ge273 OBS_VAR5_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR6_NAME = WIND FCST_VAR6_LEVELS = P850 -FCST_VAR6_THRESH = >=5, >=10, >=15 +FCST_VAR6_THRESH = ge5, ge10, ge15 OBS_VAR6_NAME = WIND OBS_VAR6_LEVELS = P850 -OBS_VAR6_THRESH = >=5, >=10, >=15 +OBS_VAR6_THRESH = ge5, ge10, ge15 OBS_VAR6_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR7_NAME = WIND FCST_VAR7_LEVELS = P700 -FCST_VAR7_THRESH = >=10, >=15, >=20 +FCST_VAR7_THRESH = ge10, ge15, ge20 OBS_VAR7_NAME = WIND OBS_VAR7_LEVELS = P700 -OBSVAR7_THRESH = >=10, >=15, >=20 +OBSVAR7_THRESH = ge10, ge15, ge20 OBS_VAR7_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR8_NAME = WIND FCST_VAR8_LEVELS = P500 -FCST_VAR8_THRESH = >=15, >=21, >=26 +FCST_VAR8_THRESH = ge15, ge21, ge26 OBS_VAR8_NAME = WIND OBS_VAR8_LEVELS = P500 -OBS_VAR8_THRESH = >=15, >=21, >=26 +OBS_VAR8_THRESH = ge15, ge21, ge26 OBS_VAR8_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR9_NAME = WIND FCST_VAR9_LEVELS = P250 -FCST_VAR9_THRESH = >=26, >=31, >=36, >=46, >=62 +FCST_VAR9_THRESH = ge26, ge31, ge36, ge46, ge62 OBS_VAR9_NAME = WIND OBS_VAR9_LEVELS = P250 -OBS_VAR9_THRESH = >=26, >=31, >=36, >=46, >=62 +OBS_VAR9_THRESH = ge26, ge31, ge36, ge46, ge62 OBS_VAR9_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR10_NAME = HGT FCST_VAR10_LEVELS = P500 -FCST_VAR10_THRESH = >=5400, >=5600, >=5880 +FCST_VAR10_THRESH = ge5400, ge5600, ge5880 OBS_VAR10_NAME = HGT OBS_VAR10_LEVELS = P500 -OBS_VAR10_THRESH = >=5400, >=5600, >=5880 +OBS_VAR10_THRESH = ge5400, ge5600, ge5880 OBS_VAR10_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR11_NAME = CAPE FCST_VAR11_LEVELS = L0 FCST_VAR11_OPTIONS = cnt_thresh = [ >0 ]; -FCST_VAR11_THRESH = <=1000, >1000&&<2500, >=2500&&<4000, >=2500 +FCST_VAR11_THRESH = le1000, gt1000&<2500, ge2500&<4000, ge2500 OBS_VAR11_NAME = CAPE OBS_VAR11_LEVELS = L0-100000 OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR11_THRESH = <=1000, >1000&&<2500, >=2500&&<4000, >=2500 +OBS_VAR11_THRESH = le1000, gt1000&<2500, ge2500&<4000, ge2500 FCST_VAR12_NAME = HPBL FCST_VAR12_LEVELS = Z0 -FCST_VAR12_THRESH = <500, <1500, >1500 +FCST_VAR12_THRESH = lt500, lt1500, gt1500 OBS_VAR12_NAME = PBL OBS_VAR12_LEVELS = L0 OBS_VAR12_OPTIONS = desc = "TKE"; -OBS_VAR12_THRESH = <500, <1500, >1500 +OBS_VAR12_THRESH = lt500, lt1500, gt1500 [dir] # diff --git a/parm/metplus/GenEnsProd_ADPSFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf index 5d0275df24..5983544e57 100644 --- a/parm/metplus/GenEnsProd_ADPSFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -119,30 +119,30 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # (optional) ENS_VARn_OPTION ENS_VAR1_NAME = TMP ENS_VAR1_LEVELS = Z02 -ENS_VAR1_THRESH = >=268, >=273, >=278, >=293, >=298, >=303 +ENS_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 ENS_VAR2_NAME = DPT ENS_VAR2_LEVELS = Z2 -ENS_VAR2_THRESH = >=263, >=268, >=273, >=288, >=293, >=298 +ENS_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 ENS_VAR3_NAME = WIND ENS_VAR3_LEVELS = Z10 -ENS_VAR3_THRESH = >=5, >=10, >=15 +ENS_VAR3_THRESH = ge5, ge10, ge15 ENS_VAR3_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind ENS_VAR4_NAME = TCDC ENS_VAR4_LEVELS = L0 -ENS_VAR4_THRESH = <25, >75 +ENS_VAR4_THRESH = lt25, gt75 ENS_VAR4_OPTIONS = GRIB_lvl_typ = 200; GRIB2_ipdtmpl_index=[27]; GRIB2_ipdtmpl_val=[255]; interp = { type = [ { method = NEAREST; width = 1; } ]; } ENS_VAR5_NAME = VIS ENS_VAR5_LEVELS = L0 -ENS_VAR5_THRESH = <1609, <8045, >=8045 +ENS_VAR5_THRESH = lt1609, lt8045, ge8045 ENS_VAR5_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } ENS_VAR6_NAME = HGT ENS_VAR6_LEVELS = L0 -ENS_VAR6_THRESH = <152, <1520, >=914 +ENS_VAR6_THRESH = lt152, lt1520, ge914 ENS_VAR6_OPTIONS = GRIB_lvl_typ = 215; desc = "CEILING"; diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index dcfbf25687..6c15bb2745 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -119,52 +119,52 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # (optional) ENS_VARn_OPTION ENS_VAR1_NAME = TMP ENS_VAR1_LEVELS = P850 -ENS_VAR1_THRESH = >=288, >=293, >=298 +ENS_VAR1_THRESH = ge288, ge293, ge298 ENS_VAR2_NAME = TMP ENS_VAR2_LEVELS = P700 -ENS_VAR2_THRESH = >=273, >=278, >=283 +ENS_VAR2_THRESH = ge273, ge278, ge283 ENS_VAR3_NAME = TMP ENS_VAR3_LEVELS = P500 -ENS_VAR3_THRESH = >=258, >=263, >=268 +ENS_VAR3_THRESH = ge258, ge263, ge268 ENS_VAR4_NAME = DPT ENS_VAR4_LEVELS = P850 -ENS_VAR4_THRESH = >=273, >=278, >=283 +ENS_VAR4_THRESH = ge273, ge278, ge283 ENS_VAR5_NAME = DPT ENS_VAR5_LEVELS = P700 -ENS_VAR5_THRESH = >=263, >=268, >=273 +ENS_VAR5_THRESH = ge263, ge268, ge273 ENS_VAR6_NAME = WIND ENS_VAR6_LEVELS = P850 -ENS_VAR6_THRESH = >=5, >=10, >=15 +ENS_VAR6_THRESH = ge5, ge10, ge15 ENS_VAR7_NAME = WIND ENS_VAR7_LEVELS = P700 -ENS_VAR7_THRESH = >=10, >=15, >=20 +ENS_VAR7_THRESH = ge10, ge15, ge20 ENS_VAR8_NAME = WIND ENS_VAR8_LEVELS = P500 -ENS_VAR8_THRESH = >=15, >=21, >=26 +ENS_VAR8_THRESH = ge15, ge21, ge26 ENS_VAR9_NAME = WIND ENS_VAR9_LEVELS = P250 -ENS_VAR9_THRESH = >=26, >=31, >=36, >=46, >=62 +ENS_VAR9_THRESH = ge26, ge31, ge36, ge46, ge62 ENS_VAR10_NAME = HGT ENS_VAR10_LEVELS = P500 -ENS_VAR10_THRESH = >=5400, >=5600, >=5880 +ENS_VAR10_THRESH = ge5400, ge5600, ge5880 ENS_VAR11_NAME = CAPE ENS_VAR11_LEVELS = L0 ENS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; -ENS_VAR11_THRESH = <=1000, >1000&&<2500, >2500&&<4000, >2500 +ENS_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 ENS_VAR12_NAME = HPBL ENS_VAR12_LEVELS = Z0 -ENS_VAR12_THRESH = <500, <1500, >1500 +ENS_VAR12_THRESH = lt500, lt1500, gt1500 ### # GenEnsProd diff --git a/parm/metplus/GridStat_ensprob_APCP01h.conf b/parm/metplus/GridStat_ensprob_APCP01h.conf index 621fe93e53..10cb43630b 100644 --- a/parm/metplus/GridStat_ensprob_APCP01h.conf +++ b/parm/metplus/GridStat_ensprob_APCP01h.conf @@ -118,7 +118,7 @@ FCST_VAR1_THRESH = ==0.1 OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A01 -OBS_VAR1_THRESH = >0.0 +OBS_VAR1_THRESH = gt0.0 FCST_VAR2_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.254 FCST_VAR2_LEVELS = A01 @@ -126,7 +126,7 @@ FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = {{fieldname_in_obs_input}} OBS_VAR2_LEVELS = A01 -OBS_VAR2_THRESH = >=0.254 +OBS_VAR2_THRESH = ge0.254 FCST_VAR3_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.508 FCST_VAR3_LEVELS = A01 @@ -134,7 +134,7 @@ FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = {{fieldname_in_obs_input}} OBS_VAR3_LEVELS = A01 -OBS_VAR3_THRESH = >=0.508 +OBS_VAR3_THRESH = ge0.508 FCST_VAR4_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge2.54 FCST_VAR4_LEVELS = A01 @@ -142,7 +142,7 @@ FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = {{fieldname_in_obs_input}} OBS_VAR4_LEVELS = A01 -OBS_VAR4_THRESH = >=2.54 +OBS_VAR4_THRESH = ge2.54 #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match @@ -154,7 +154,7 @@ FCST_VAR5_OPTIONS = prob = FALSE; OBS_VAR5_NAME = {{fieldname_in_obs_input}} OBS_VAR5_LEVELS = A01 -OBS_VAR5_THRESH = >0.0 +OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR6_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.254 @@ -164,7 +164,7 @@ FCST_VAR6_OPTIONS = prob = FALSE; OBS_VAR6_NAME = {{fieldname_in_obs_input}} OBS_VAR6_LEVELS = A01 -OBS_VAR6_THRESH = >=0.254 +OBS_VAR6_THRESH = ge0.254 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR7_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.508 @@ -174,7 +174,7 @@ FCST_VAR7_OPTIONS = prob = FALSE; OBS_VAR7_NAME = {{fieldname_in_obs_input}} OBS_VAR7_LEVELS = A01 -OBS_VAR7_THRESH = >=0.508 +OBS_VAR7_THRESH = ge0.508 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR8_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge2.54 @@ -184,7 +184,7 @@ FCST_VAR8_OPTIONS = prob = FALSE; OBS_VAR8_NAME = {{fieldname_in_obs_input}} OBS_VAR8_LEVELS = A01 -OBS_VAR8_THRESH = >=2.54 +OBS_VAR8_THRESH = ge2.54 OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_APCP03h.conf b/parm/metplus/GridStat_ensprob_APCP03h.conf index de4fef9d52..8e3747272c 100644 --- a/parm/metplus/GridStat_ensprob_APCP03h.conf +++ b/parm/metplus/GridStat_ensprob_APCP03h.conf @@ -156,7 +156,7 @@ FCST_VAR1_THRESH = ==0.1 #OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR1_LEVELS = A03 -OBS_VAR1_THRESH = >0.0 +OBS_VAR1_THRESH = gt0.0 #FCST_VAR2_NAME = APCP_A3_ENS_FREQ_ge0.508 FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge0.508 @@ -166,7 +166,7 @@ FCST_VAR2_THRESH = ==0.1 #OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR2_LEVELS = A03 -OBS_VAR2_THRESH = >=0.508 +OBS_VAR2_THRESH = ge0.508 #FCST_VAR3_NAME = APCP_A3_ENS_FREQ_ge2.54 FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge2.54 @@ -176,7 +176,7 @@ FCST_VAR3_THRESH = ==0.1 #OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR3_LEVELS = A03 -OBS_VAR3_THRESH = >=2.54 +OBS_VAR3_THRESH = ge2.54 #FCST_VAR4_NAME = APCP_A3_ENS_FREQ_ge6.350 FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge6.350 @@ -186,7 +186,7 @@ FCST_VAR4_THRESH = ==0.1 #OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR4_LEVELS = A03 -OBS_VAR4_THRESH = >=6.350 +OBS_VAR4_THRESH = ge6.350 #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match @@ -200,7 +200,7 @@ FCST_VAR5_OPTIONS = prob = FALSE; #OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR5_LEVELS = A03 -OBS_VAR5_THRESH = >0.0 +OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR6_NAME = APCP_A3_ENS_FREQ_ge0.508 @@ -212,7 +212,7 @@ FCST_VAR6_OPTIONS = prob = FALSE; #OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR6_LEVELS = A03 -OBS_VAR6_THRESH = >=0.508 +OBS_VAR6_THRESH = ge0.508 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR7_NAME = APCP_A3_ENS_FREQ_ge2.54 @@ -224,7 +224,7 @@ FCST_VAR7_OPTIONS = prob = FALSE; #OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR7_LEVELS = A03 -OBS_VAR7_THRESH = >=2.54 +OBS_VAR7_THRESH = ge2.54 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR8_NAME = APCP_A3_ENS_FREQ_ge6.350 @@ -236,7 +236,7 @@ FCST_VAR8_OPTIONS = prob = FALSE; #OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR8_LEVELS = A03 -OBS_VAR8_THRESH = >=6.350 +OBS_VAR8_THRESH = ge6.350 OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_APCP06h.conf b/parm/metplus/GridStat_ensprob_APCP06h.conf index b56e65a597..482563f40e 100644 --- a/parm/metplus/GridStat_ensprob_APCP06h.conf +++ b/parm/metplus/GridStat_ensprob_APCP06h.conf @@ -156,7 +156,7 @@ FCST_VAR1_THRESH = ==0.1 #OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR1_LEVELS = A06 -OBS_VAR1_THRESH = >0.0 +OBS_VAR1_THRESH = gt0.0 #FCST_VAR2_NAME = APCP_A6_ENS_FREQ_ge2.54 FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge2.54 @@ -166,7 +166,7 @@ FCST_VAR2_THRESH = ==0.1 #OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR2_LEVELS = A06 -OBS_VAR2_THRESH = >=2.54 +OBS_VAR2_THRESH = ge2.54 #FCST_VAR3_NAME = APCP_A6_ENS_FREQ_ge6.350 FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge6.350 @@ -176,7 +176,7 @@ FCST_VAR3_THRESH = ==0.1 #OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR3_LEVELS = A06 -OBS_VAR3_THRESH = >=6.350 +OBS_VAR3_THRESH = ge6.350 #FCST_VAR4_NAME = APCP_A6_ENS_FREQ_ge12.700 FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge12.700 @@ -186,7 +186,7 @@ FCST_VAR4_THRESH = ==0.1 #OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR4_LEVELS = A06 -OBS_VAR4_THRESH = >=12.700 +OBS_VAR4_THRESH = ge12.700 #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match @@ -200,7 +200,7 @@ FCST_VAR5_OPTIONS = prob = FALSE; #OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR5_LEVELS = A06 -OBS_VAR5_THRESH = >0.0 +OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR6_NAME = APCP_A6_ENS_FREQ_ge2.54 @@ -212,7 +212,7 @@ FCST_VAR6_OPTIONS = prob = FALSE; #OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR6_LEVELS = A06 -OBS_VAR6_THRESH = >=2.54 +OBS_VAR6_THRESH = ge2.54 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR7_NAME = APCP_A6_ENS_FREQ_ge6.350 @@ -224,7 +224,7 @@ FCST_VAR7_OPTIONS = prob = FALSE; #OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR7_LEVELS = A06 -OBS_VAR7_THRESH = >=6.350 +OBS_VAR7_THRESH = ge6.350 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR8_NAME = APCP_A6_ENS_FREQ_ge12.700 @@ -236,7 +236,7 @@ FCST_VAR8_OPTIONS = prob = FALSE; #OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR8_LEVELS = A06 -OBS_VAR8_THRESH = >=12.700 +OBS_VAR8_THRESH = ge12.700 OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_APCP24h.conf b/parm/metplus/GridStat_ensprob_APCP24h.conf index 91897c590c..db90695550 100644 --- a/parm/metplus/GridStat_ensprob_APCP24h.conf +++ b/parm/metplus/GridStat_ensprob_APCP24h.conf @@ -156,7 +156,7 @@ FCST_VAR1_THRESH = ==0.1 #OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR1_LEVELS = A24 -OBS_VAR1_THRESH = >0.0 +OBS_VAR1_THRESH = gt0.0 #FCST_VAR2_NAME = APCP_A24_ENS_FREQ_ge6.350 FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge6.350 @@ -166,7 +166,7 @@ FCST_VAR2_THRESH = ==0.1 #OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR2_LEVELS = A24 -OBS_VAR2_THRESH = >=6.350 +OBS_VAR2_THRESH = ge6.350 #FCST_VAR3_NAME = APCP_A24_ENS_FREQ_ge12.700 FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge12.700 @@ -176,7 +176,7 @@ FCST_VAR3_THRESH = ==0.1 #OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR3_LEVELS = A24 -OBS_VAR3_THRESH = >=12.700 +OBS_VAR3_THRESH = ge12.700 #FCST_VAR4_NAME = APCP_A24_ENS_FREQ_ge25.400 FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge25.400 @@ -186,7 +186,7 @@ FCST_VAR4_THRESH = ==0.1 #OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR4_LEVELS = A24 -OBS_VAR4_THRESH = >=25.400 +OBS_VAR4_THRESH = ge25.400 #Process as scalars for neighborhood methods ### Note that the number of forecast and obs thresholds must match @@ -200,7 +200,7 @@ FCST_VAR5_OPTIONS = prob = FALSE; #OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR5_LEVELS = A24 -OBS_VAR5_THRESH = >0.0 +OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR6_NAME = APCP_A24_ENS_FREQ_ge6.350 @@ -212,7 +212,7 @@ FCST_VAR6_OPTIONS = prob = FALSE; #OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR6_LEVELS = A24 -OBS_VAR6_THRESH = >=6.350 +OBS_VAR6_THRESH = ge6.350 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR7_NAME = APCP_A24_ENS_FREQ_ge12.700 @@ -224,7 +224,7 @@ FCST_VAR7_OPTIONS = prob = FALSE; #OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR7_LEVELS = A24 -OBS_VAR7_THRESH = >=12.700 +OBS_VAR7_THRESH = ge12.700 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR8_NAME = APCP_A24_ENS_FREQ_ge25.400 @@ -236,7 +236,7 @@ FCST_VAR8_OPTIONS = prob = FALSE; #OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR8_LEVELS = A24 -OBS_VAR8_THRESH = >=25.400 +OBS_VAR8_THRESH = ge25.400 OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 8d802113a8..443d13c686 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -156,7 +156,7 @@ FCST_VAR1_THRESH = ==0.1 #OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A{{accum_hh}} -OBS_VAR1_THRESH = >0.0 +OBS_VAR1_THRESH = gt0.0 OBS_VAR1_OPTIONS = convert(x) = 100.0*x; #FCST_VAR2_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge0.508 @@ -167,7 +167,7 @@ FCST_VAR2_THRESH = ==0.1 #OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {{fieldname_in_obs_input}} OBS_VAR2_LEVELS = A{{accum_hh}} -OBS_VAR2_THRESH = >=0.508 +OBS_VAR2_THRESH = ge0.508 OBS_VAR2_OPTIONS = convert(x) = 100.0*x; #FCST_VAR3_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge2.54 @@ -178,7 +178,7 @@ FCST_VAR3_THRESH = ==0.1 #OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {{fieldname_in_obs_input}} OBS_VAR3_LEVELS = A{{accum_hh}} -OBS_VAR3_THRESH = >=2.54 +OBS_VAR3_THRESH = ge2.54 OBS_VAR3_OPTIONS = convert(x) = 100.0*x; #FCST_VAR4_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge @@ -189,7 +189,7 @@ FCST_VAR4_THRESH = ==0.1 #OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {{fieldname_in_obs_input}} OBS_VAR4_LEVELS = A{{accum_hh}} -OBS_VAR4_THRESH = >=5.08 +OBS_VAR4_THRESH = ge5.08 OBS_VAR4_OPTIONS = convert(x) = 100.0*x; #FCST_VAR5_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge @@ -200,7 +200,7 @@ FCST_VAR5_THRESH = ==0.1 #OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {{fieldname_in_obs_input}} OBS_VAR5_LEVELS = A{{accum_hh}} -OBS_VAR5_THRESH = >=10.16 +OBS_VAR5_THRESH = ge10.16 OBS_VAR5_OPTIONS = convert(x) = 100.0*x; #FCST_VAR6_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge @@ -211,7 +211,7 @@ FCST_VAR6_THRESH = ==0.1 #OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {{fieldname_in_obs_input}} OBS_VAR6_LEVELS = A{{accum_hh}} -OBS_VAR6_THRESH = >=20.32 +OBS_VAR6_THRESH = ge20.32 OBS_VAR6_OPTIONS = convert(x) = 100.0*x; #Process as scalars for neighborhood methods @@ -226,7 +226,7 @@ FCST_VAR7_OPTIONS = prob = FALSE; #OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {{fieldname_in_obs_input}} OBS_VAR7_LEVELS = A{{accum_hh}} -OBS_VAR7_THRESH = >0.0 +OBS_VAR7_THRESH = gt0.0 OBS_VAR7_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge2.54 @@ -237,7 +237,7 @@ FCST_VAR8_OPTIONS = prob = FALSE; #OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {{fieldname_in_obs_input}} OBS_VAR8_LEVELS = A{{accum_hh}} -OBS_VAR8_THRESH = >=2.54 +OBS_VAR8_THRESH = ge2.54 OBS_VAR8_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR9_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge5.08 @@ -248,7 +248,7 @@ FCST_VAR9_OPTIONS = prob = FALSE; #OBS_VAR9_NAME = APCP OBS_VAR9_NAME = {{fieldname_in_obs_input}} OBS_VAR9_LEVELS = A{{accum_hh}} -OBS_VAR9_THRESH = >=5.08 +OBS_VAR9_THRESH = ge5.08 OBS_VAR9_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR10_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge10.16 @@ -259,7 +259,7 @@ FCST_VAR10_OPTIONS = prob = FALSE; #OBS_VAR8_NAME = APCP OBS_VAR10_NAME = {{fieldname_in_obs_input}} OBS_VAR10_LEVELS = A{{accum_hh}} -OBS_VAR10_THRESH = >=10.16 +OBS_VAR10_THRESH = ge10.16 OBS_VAR10_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 21a5f2deee..0edf3d18ce 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -161,7 +161,7 @@ OBS_VAR1_LEVELS = Z500 # List of thresholds to evaluate for each name/level combination for # observation variable 1. # -OBS_VAR1_THRESH = >=20.0 +OBS_VAR1_THRESH = ge20.0 OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; #FCST_VAR2_NAME = REFC_L0_ENS_FREQ_ge30 @@ -171,7 +171,7 @@ FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = MergedReflectivityQCComposite OBS_VAR2_LEVELS = Z500 -OBS_VAR2_THRESH = >=30.0 +OBS_VAR2_THRESH = ge30.0 OBS_VAR2_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; #FCST_VAR3_NAME = REFC_L0_ENS_FREQ_ge40 @@ -181,7 +181,7 @@ FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = MergedReflectivityQCComposite OBS_VAR3_LEVELS = Z500 -OBS_VAR3_THRESH = >=40.0 +OBS_VAR3_THRESH = ge40.0 OBS_VAR3_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; #FCST_VAR4_NAME = REFC_L0_ENS_FREQ_ge50 @@ -191,7 +191,7 @@ FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = MergedReflectivityQCComposite OBS_VAR4_LEVELS = Z500 -OBS_VAR4_THRESH = >=50.0 +OBS_VAR4_THRESH = ge50.0 OBS_VAR4_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; #Process as scalars for neighborhood methods @@ -205,7 +205,7 @@ FCST_VAR5_OPTIONS = prob = FALSE; OBS_VAR5_NAME = MergedReflectivityQCComposite OBS_VAR5_LEVELS = Z500 -OBS_VAR5_THRESH = >=20.0 +OBS_VAR5_THRESH = ge20.0 OBS_VAR5_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR6_NAME = REFC_L0_ENS_FREQ_ge30 @@ -216,7 +216,7 @@ FCST_VAR6_OPTIONS = prob = FALSE; OBS_VAR6_NAME = MergedReflectivityQCComposite OBS_VAR6_LEVELS = Z500 -OBS_VAR6_THRESH = >=30.0 +OBS_VAR6_THRESH = ge30.0 OBS_VAR6_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR7_NAME = REFC_L0_ENS_FREQ_ge40 @@ -227,7 +227,7 @@ FCST_VAR7_OPTIONS = prob = FALSE; OBS_VAR7_NAME = MergedReflectivityQCComposite OBS_VAR7_LEVELS = Z500 -OBS_VAR7_THRESH = >=40.0 +OBS_VAR7_THRESH = ge40.0 OBS_VAR7_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR8_NAME = REFC_L0_ENS_FREQ_ge50 @@ -238,7 +238,7 @@ FCST_VAR8_OPTIONS = prob = FALSE; OBS_VAR8_NAME = MergedReflectivityQCComposite OBS_VAR8_LEVELS = Z500 -OBS_VAR8_THRESH = >=50.0 +OBS_VAR8_THRESH = ge50.0 OBS_VAR8_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #OBS_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 6646b2036d..aba7f47462 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -160,7 +160,7 @@ OBS_VAR1_LEVELS = Z500 # List of thresholds to evaluate for each name/level combination for # observation variable 1. # -OBS_VAR1_THRESH = >=20.0 +OBS_VAR1_THRESH = ge20.0 OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; #FCST_VAR2_NAME = RETOP_L0_ENS_FREQ_ge30 @@ -170,7 +170,7 @@ FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = EchoTop18 OBS_VAR2_LEVELS = Z500 -OBS_VAR2_THRESH = >=30.0 +OBS_VAR2_THRESH = ge30.0 OBS_VAR2_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; #FCST_VAR3_NAME = RETOP_L0_ENS_FREQ_ge40 @@ -180,7 +180,7 @@ FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = EchoTop18 OBS_VAR3_LEVELS = Z500 -OBS_VAR3_THRESH = >=40.0 +OBS_VAR3_THRESH = ge40.0 OBS_VAR3_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; #FCST_VAR4_NAME = RETOP_L0_ENS_FREQ_ge50 @@ -190,7 +190,7 @@ FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = EchoTop18 OBS_VAR4_LEVELS = Z500 -OBS_VAR4_THRESH = >=50.0 +OBS_VAR4_THRESH = ge50.0 OBS_VAR4_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; #Process as scalars for neighborhood methods @@ -204,7 +204,7 @@ FCST_VAR5_OPTIONS = prob = FALSE; OBS_VAR5_NAME = EchoTop18 OBS_VAR5_LEVELS = Z500 -OBS_VAR5_THRESH = >=20.0 +OBS_VAR5_THRESH = ge20.0 OBS_VAR5_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR6_NAME = RETOP_L0_ENS_FREQ_ge30 @@ -215,7 +215,7 @@ FCST_VAR6_OPTIONS = prob = FALSE; OBS_VAR6_NAME = EchoTop18 OBS_VAR6_LEVELS = Z500 -OBS_VAR6_THRESH = >=30.0 +OBS_VAR6_THRESH = ge30.0 OBS_VAR6_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR7_NAME = RETOP_L0_ENS_FREQ_ge40 @@ -226,7 +226,7 @@ FCST_VAR7_OPTIONS = prob = FALSE; OBS_VAR7_NAME = EchoTop18 OBS_VAR7_LEVELS = Z500 -OBS_VAR7_THRESH = >=40.0 +OBS_VAR7_THRESH = ge40.0 OBS_VAR7_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_VAR8_NAME = RETOP_L0_ENS_FREQ_ge50 @@ -237,7 +237,7 @@ FCST_VAR8_OPTIONS = prob = FALSE; OBS_VAR8_NAME = EchoTop18 OBS_VAR8_LEVELS = Z500 -OBS_VAR8_THRESH = >=50.0 +OBS_VAR8_THRESH = ge50.0 OBS_VAR8_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #OBS_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index 76f6a47f76..2c3f6a53cb 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -213,17 +213,17 @@ FCST_VAR3_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; BOTH_VAR4_NAME = UGRD BOTH_VAR4_LEVELS = Z10 -BOTH_VAR4_THRESH = >=2.572 ;; m/s or 5kts +BOTH_VAR4_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR4_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; BOTH_VAR5_NAME = VGRD BOTH_VAR5_LEVELS = Z10 -BOTH_VAR5_THRESH = >=2.572 ;; m/s or 5kts +BOTH_VAR5_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR5_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; BOTH_VAR6_NAME = WIND BOTH_VAR6_LEVELS = Z10 -BOTH_VAR6_THRESH = >=2.572, >=2.572&&<5.144, >=5.144, >=10.288, >=15.433 ;; m/s or 5, 10, 20, 30kts +BOTH_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 ;; m/s or 5, 10, 20, 30kts FCST_VAR6_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind OBS_VAR6_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind @@ -244,7 +244,7 @@ OBS_VAR8_LEVELS = L0 BOTH_VAR9_NAME = VIS BOTH_VAR9_LEVELS = L0 -BOTH_VAR9_THRESH = <805, <1609, <4828, <8045 ,>=8045, <16090 +BOTH_VAR9_THRESH = lt805, lt1609, lt4828, lt8045 ,ge8045, lt16090 FCST_VAR9_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; censor_thresh = [>16090]; censor_val = [16090]; @@ -259,13 +259,13 @@ FCST_VAR10_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; FCST_VAR11_NAME = HGT FCST_VAR11_LEVELS = L0 -FCST_VAR11_THRESH = <152, <305, <914, <1520, <3040, >=914 +FCST_VAR11_THRESH = lt152, lt305, lt914, lt1520, lt3040, ge914 FCST_VAR11_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; GRIB_lvl_typ = 215; desc = "CEILING"; OBS_VAR11_NAME = CEILING OBS_VAR11_LEVELS = L0 -OBS_VAR11_THRESH = <152, <305, <914, <1520, <3040, >=914 +OBS_VAR11_THRESH = lt152, lt305, lt914, lt1520, lt3040, ge914 OBS_VAR11_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } @@ -274,35 +274,35 @@ BOTH_VAR12_LEVELS = Z2 FCST_VAR13_NAME = CRAIN FCST_VAR13_LEVELS = L0 -FCST_VAR13_THRESH = >=1.0 +FCST_VAR13_THRESH = ge1.0 OBS_VAR13_NAME = PRWE OBS_VAR13_LEVELS = Z0 -OBS_VAR13_THRESH = >=161&&<=163 +OBS_VAR13_THRESH = ge161&&le163 FCST_VAR14_NAME = CSNOW FCST_VAR14_LEVELS = L0 -FCST_VAR14_THRESH = >=1.0 +FCST_VAR14_THRESH = ge1.0 OBS_VAR14_NAME = PRWE OBS_VAR14_LEVELS = Z0 -OBS_VAR14_THRESH = >=171&&<=173 +OBS_VAR14_THRESH = ge171&&le173 FCST_VAR15_NAME = CFRZR FCST_VAR15_LEVELS = L0 -FCST_VAR15_THRESH = >=1.0 +FCST_VAR15_THRESH = ge1.0 OBS_VAR15_NAME = PRWE OBS_VAR15_LEVELS = Z0 -OBS_VAR15_THRESH = >=164&&<=166 +OBS_VAR15_THRESH = ge164&&le166 FCST_VAR16_NAME = CICEP FCST_VAR16_LEVELS = L0 -FCST_VAR16_THRESH = >=1.0 +FCST_VAR16_THRESH = ge1.0 OBS_VAR16_NAME = PRWE OBS_VAR16_LEVELS = Z0 -OBS_VAR16_THRESH = >=174&&<=176 +OBS_VAR16_THRESH = ge174&&le176 # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index d92e1e3b99..06905e3833 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -213,17 +213,17 @@ FCST_VAR3_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; BOTH_VAR4_NAME = UGRD BOTH_VAR4_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR4_THRESH = >=2.572 ;; m/s or 5kts +BOTH_VAR4_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR4_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; BOTH_VAR5_NAME = VGRD BOTH_VAR5_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR5_THRESH = >=2.572 ;; m/s or 5kts +BOTH_VAR5_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR5_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; BOTH_VAR6_NAME = WIND BOTH_VAR6_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR6_THRESH = >=2.572, >=2.572&&<5.144, >=5.144, >=10.288, >=15.433, >=20.577, >=25.722 ;; m/s or 5, 10, 20, 30, 40, 50kts +BOTH_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 ;; m/s or 5, 10, 20, 30, 40, 50kts FCST_VAR6_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; BOTH_VAR7_NAME = HGT @@ -236,12 +236,12 @@ FCST_VAR8_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; FCST_VAR9_NAME = CAPE FCST_VAR9_LEVELS = L0 -FCST_VAR9_THRESH = >500, >1000, >1500, >2000, >3000, >4000 +FCST_VAR9_THRESH = gt500, gt1000, gt1500, gt2000, gt3000, gt4000 FCST_VAR9_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; cnt_thresh = [ >0 ]; OBS_VAR9_NAME = CAPE OBS_VAR9_LEVELS = L0-100000 -OBS_VAR9_THRESH = >500, >1000, >1500, >2000, >3000, >4000 +OBS_VAR9_THRESH = gt500, gt1000, gt1500, gt2000, gt3000, gt4000 OBS_VAR9_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; @@ -263,11 +263,11 @@ OBS_VAR11_OPTIONS = desc = "RI"; FCST_VAR12_NAME = CAPE FCST_VAR12_LEVELS = L0-90 FCST_VAR12_OPTIONS = cnt_thresh = [ >0 ]; -FCST_VAR12_THRESH = >500, >1000, >1500, >2000, >3000, >4000 +FCST_VAR12_THRESH = gt500, gt1000, gt1500, gt2000, gt3000, gt4000 OBS_VAR12_NAME = MLCAPE OBS_VAR12_LEVELS = L0 OBS_VAR12_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR12_THRESH = >500, >1000, >1500, >2000, >3000, >4000 +OBS_VAR12_THRESH = gt500, gt1000, gt1500, gt2000, gt3000, gt4000 # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index 7a7796aa51..a903632ec2 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -179,27 +179,27 @@ POINT_STAT_ONCE_PER_FIELD = False # To use one variables for both forecast and observation data, set BOTH_VAR_* instead FCST_VAR1_NAME = TMP_Z2_ENS_MEAN FCST_VAR1_LEVELS = Z2 -FCST_VAR1_THRESH = >=268, >=273, >=278, >=293, >=298, >=303 +FCST_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = Z2 -OBS_VAR1_THRESH = >=268, >=273, >=278, >=293, >=298, >=303 +OBS_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 FCST_VAR2_NAME = DPT_Z2_ENS_MEAN FCST_VAR2_LEVELS = Z2 -FCST_VAR2_THRESH = >=263, >=268, >=273, >=288, >=293, >=298 +FCST_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 OBS_VAR2_NAME = DPT OBS_VAR2_LEVELS = Z2 -OBS_VAR2_THRESH = >=263, >=268, >=273, >=288, >=293, >=298 +OBS_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 FCST_VAR3_NAME = WIND_Z10_ENS_MEAN FCST_VAR3_LEVELS = Z10 -FCST_VAR3_THRESH = >=5, >=10, >=15 +FCST_VAR3_THRESH = ge5, ge10, ge15 OBS_VAR3_NAME = WIND OBS_VAR3_LEVELS = Z10 -OBS_VAR3_THRESH = >=5, >=10, >=15 +OBS_VAR3_THRESH = ge5, ge10, ge15 # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index 8916a45626..1d3cc7755e 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -179,102 +179,102 @@ POINT_STAT_ONCE_PER_FIELD = False # To use one variables for both forecast and observation data, set BOTH_VAR_* instead FCST_VAR1_NAME = TMP_P850_ENS_MEAN FCST_VAR1_LEVELS = P850 -FCST_VAR1_THRESH = >=288, >=293, >=298 +FCST_VAR1_THRESH = ge288, ge293, ge298 OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = P850 -OBS_VAR1_THRESH = >=288, >=293, >=298 +OBS_VAR1_THRESH = ge288, ge293, ge298 FCST_VAR2_NAME = TMP_P700_ENS_MEAN FCST_VAR2_LEVELS = P700 -FCST_VAR2_THRESH = >=273, >=278, >=283 +FCST_VAR2_THRESH = ge273, ge278, ge283 OBS_VAR2_NAME = TMP OBS_VAR2_LEVELS = P700 -OBS_VAR2_THRESH = >=273, >=278, >=283 +OBS_VAR2_THRESH = ge273, ge278, ge283 FCST_VAR3_NAME = TMP_P500_ENS_MEAN FCST_VAR3_LEVELS = P500 -FCST_VAR3_THRESH = >=258, >=263, >=268 +FCST_VAR3_THRESH = ge258, ge263, ge268 OBS_VAR3_NAME = TMP OBS_VAR3_LEVELS = P500 -OBS_VAR3_THRESH = >=258, >=263, >=268 +OBS_VAR3_THRESH = ge258, ge263, ge268 FCST_VAR4_NAME = DPT_P850_ENS_MEAN FCST_VAR4_LEVELS = P850 -FCST_VAR4_THRESH = >=273, >=278, >=283 +FCST_VAR4_THRESH = ge273, ge278, ge283 OBS_VAR4_NAME = DPT OBS_VAR4_LEVELS = P850 -OBS_VAR4_THRESH = >=273, >=278, >=283 +OBS_VAR4_THRESH = ge273, ge278, ge283 FCST_VAR5_NAME = DPT_P700_ENS_MEAN FCST_VAR5_LEVELS = P700 -FCST_VAR5_THRESH = >=263, >=286, >=273 +FCST_VAR5_THRESH = ge263, ge286, ge273 OBS_VAR5_NAME = DPT OBS_VAR5_LEVELS = P700 -OBS_VAR5_THRESH = >=263, >=286, >=273 +OBS_VAR5_THRESH = ge263, ge286, ge273 FCST_VAR6_NAME = WIND_P850_ENS_MEAN FCST_VAR6_LEVELS = P850 -FCST_VAR6_THRESH = >=5, >=10, >=15 +FCST_VAR6_THRESH = ge5, ge10, ge15 OBS_VAR6_NAME = WIND OBS_VAR6_LEVELS = P850 -OBS_VAR6_THRESH = >=5, >=10, >=15 +OBS_VAR6_THRESH = ge5, ge10, ge15 FCST_VAR7_NAME = WIND_P700_ENS_MEAN FCST_VAR7_LEVELS = P700 -FCST_VAR7_THRESH = >=10, >=15, >=20 +FCST_VAR7_THRESH = ge10, ge15, ge20 OBS_VAR7_NAME = WIND OBS_VAR7_LEVELS = P700 -OBS_VAR7_THRESH = >=10, >=15, >=20 +OBS_VAR7_THRESH = ge10, ge15, ge20 FCST_VAR8_NAME = WIND_P500_ENS_MEAN FCST_VAR8_LEVELS = P500 -FCST_VAR8_THRESH = >=15, >=21, >=26 +FCST_VAR8_THRESH = ge15, ge21, ge26 OBS_VAR8_NAME = WIND OBS_VAR8_LEVELS = P500 -OBS_VAR8_THRESH = >=15, >=21, >=26 +OBS_VAR8_THRESH = ge15, ge21, ge26 FCST_VAR9_NAME = WIND_P250_ENS_MEAN FCST_VAR9_LEVELS = P250 -FCST_VAR9_THRESH = >=26, >=31, >=46, >=62 +FCST_VAR9_THRESH = ge26, ge31, ge46, ge62 OBS_VAR9_NAME = WIND OBS_VAR9_LEVELS = P250 -OBS_VAR9_THRESH = >=26, >=31, >=46, >=62 +OBS_VAR9_THRESH = ge26, ge31, ge46, ge62 FCST_VAR10_NAME = HGT_P500_ENS_MEAN FCST_VAR10_LEVELS = P500 -FCST_VAR10_THRESH = >=5400, >=5600, >=5880 +FCST_VAR10_THRESH = ge5400, ge5600, ge5880 OBS_VAR10_NAME = HGT OBS_VAR10_LEVELS = P500 -OBS_VAR10_THRESH = >=5400, >=5600, >=5880 +OBS_VAR10_THRESH = ge5400, ge5600, ge5880 FCST_VAR11_NAME = CAPE_L0_ENS_MEAN FCST_VAR11_LEVELS = L0 FCST_VAR11_OPTIONS = cnt_thresh = [ >0 ]; -FCST_VAR11_THRESH = <=1000, >1000&&<2500, >2500&&<4000, >2500 +FCST_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 OBS_VAR11_NAME = CAPE OBS_VAR11_LEVELS = L0-100000 OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR11_THRESH = <=1000, >1000&&<2500, >2500&&<4000, >2500 +OBS_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 FCST_VAR12_NAME = HPBL_Z0_ENS_MEAN FCST_VAR12_LEVELS = Z0 -FCST_VAR12_THRESH = <500, <1500, >1500 +FCST_VAR12_THRESH = lt500, lt1500, gt1500 OBS_VAR12_NAME = PBL OBS_VAR12_LEVELS = L0 OBS_VAR12_OPTIONS = desc = "TKE"; -OBS_VAR12_THRESH = <500, <1500, >1500 +OBS_VAR12_THRESH = lt500, lt1500, gt1500 # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index 109ab2742a..eec022711f 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -185,7 +185,7 @@ FCST_VAR1_THRESH = ==0.1 OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = Z2 -OBS_VAR1_THRESH = >=268 +OBS_VAR1_THRESH = ge268 FCST_VAR2_NAME = TMP_Z2_ENS_FREQ_ge273 FCST_VAR2_LEVELS = Z2 @@ -193,7 +193,7 @@ FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = TMP OBS_VAR2_LEVELS = Z2 -OBS_VAR2_THRESH = >=273 +OBS_VAR2_THRESH = ge273 FCST_VAR3_NAME = TMP_Z2_ENS_FREQ_ge278 FCST_VAR3_LEVELS = Z2 @@ -201,7 +201,7 @@ FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = TMP OBS_VAR3_LEVELS = Z2 -OBS_VAR3_THRESH = >=278 +OBS_VAR3_THRESH = ge278 FCST_VAR4_NAME = TMP_Z2_ENS_FREQ_ge293 FCST_VAR4_LEVELS = Z2 @@ -209,7 +209,7 @@ FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = TMP OBS_VAR4_LEVELS = Z2 -OBS_VAR4_THRESH = >=293 +OBS_VAR4_THRESH = ge293 FCST_VAR5_NAME = TMP_Z2_ENS_FREQ_ge298 FCST_VAR5_LEVELS = Z2 @@ -217,7 +217,7 @@ FCST_VAR5_THRESH = ==0.1 OBS_VAR5_NAME = TMP OBS_VAR5_LEVELS = Z2 -OBS_VAR5_THRESH = >=298 +OBS_VAR5_THRESH = ge298 FCST_VAR6_NAME = TMP_Z2_ENS_FREQ_ge303 FCST_VAR6_LEVELS = Z2 @@ -225,7 +225,7 @@ FCST_VAR6_THRESH = ==0.1 OBS_VAR6_NAME = TMP OBS_VAR6_LEVELS = Z2 -OBS_VAR6_THRESH = >=303 +OBS_VAR6_THRESH = ge303 FCST_VAR7_NAME = DPT_Z2_ENS_FREQ_ge263 FCST_VAR7_LEVELS = Z2 @@ -233,7 +233,7 @@ FCST_VAR7_THRESH = ==0.1 OBS_VAR7_NAME = DPT OBS_VAR7_LEVELS = Z2 -OBS_VAR7_THRESH = >=263 +OBS_VAR7_THRESH = ge263 FCST_VAR8_NAME = DPT_Z2_ENS_FREQ_ge268 FCST_VAR8_LEVELS = Z2 @@ -241,7 +241,7 @@ FCST_VAR8_THRESH = ==0.1 OBS_VAR8_NAME = DPT OBS_VAR8_LEVELS = Z2 -OBS_VAR8_THRESH = >=268 +OBS_VAR8_THRESH = ge268 FCST_VAR9_NAME = DPT_Z2_ENS_FREQ_ge273 FCST_VAR9_LEVELS = Z2 @@ -249,7 +249,7 @@ FCST_VAR9_THRESH = ==0.1 OBS_VAR9_NAME = DPT OBS_VAR9_LEVELS = Z2 -OBS_VAR9_THRESH = >=273 +OBS_VAR9_THRESH = ge273 FCST_VAR10_NAME = DPT_Z2_ENS_FREQ_ge288 FCST_VAR10_LEVELS = Z2 @@ -257,7 +257,7 @@ FCST_VAR10_THRESH = ==0.1 OBS_VAR10_NAME = DPT OBS_VAR10_LEVELS = Z2 -OBS_VAR10_THRESH = >=288 +OBS_VAR10_THRESH = ge288 FCST_VAR11_NAME = DPT_Z2_ENS_FREQ_ge293 FCST_VAR11_LEVELS = Z2 @@ -265,7 +265,7 @@ FCST_VAR11_THRESH = ==0.1 OBS_VAR11_NAME = DPT OBS_VAR11_LEVELS = Z2 -OBS_VAR11_THRESH = >=293 +OBS_VAR11_THRESH = ge293 FCST_VAR12_NAME = DPT_Z2_ENS_FREQ_ge298 FCST_VAR12_LEVELS = Z2 @@ -273,7 +273,7 @@ FCST_VAR12_THRESH = ==0.1 OBS_VAR12_NAME = DPT OBS_VAR12_LEVELS = Z2 -OBS_VAR12_THRESH = >=298 +OBS_VAR12_THRESH = ge298 FCST_VAR13_NAME = WIND_Z10_ENS_FREQ_ge5 FCST_VAR13_LEVELS = Z10 @@ -281,7 +281,7 @@ FCST_VAR13_THRESH = ==0.1 OBS_VAR13_NAME = WIND OBS_VAR13_LEVELS = Z10 -OBS_VAR13_THRESH = >=5 +OBS_VAR13_THRESH = ge5 FCST_VAR14_NAME = WIND_Z10_ENS_FREQ_ge10 FCST_VAR14_LEVELS = Z10 @@ -289,7 +289,7 @@ FCST_VAR14_THRESH = ==0.1 OBS_VAR14_NAME = WIND OBS_VAR14_LEVELS = Z10 -OBS_VAR14_THRESH = >=10 +OBS_VAR14_THRESH = ge10 FCST_VAR15_NAME = WIND_Z10_ENS_FREQ_ge15 FCST_VAR15_LEVELS = Z10 @@ -297,7 +297,7 @@ FCST_VAR15_THRESH = ==0.1 OBS_VAR15_NAME = WIND OBS_VAR15_LEVELS = Z10 -OBS_VAR15_THRESH = >=15 +OBS_VAR15_THRESH = ge15 FCST_VAR16_NAME = TCDC_L0_ENS_FREQ_lt25 FCST_VAR16_LEVELS = L0 @@ -305,7 +305,7 @@ FCST_VAR16_THRESH = ==0.1 OBS_VAR16_NAME = TCDC OBS_VAR16_LEVELS = L0 -OBS_VAR16_THRESH = <25 +OBS_VAR16_THRESH = lt25 FCST_VAR17_NAME = TCDC_L0_ENS_FREQ_gt75 FCST_VAR17_LEVELS = L0 @@ -313,7 +313,7 @@ FCST_VAR17_THRESH = ==0.1 OBS_VAR17_NAME = TCDC OBS_VAR17_LEVELS = L0 -OBS_VAR17_THRESH = >75 +OBS_VAR17_THRESH = gt75 FCST_VAR18_NAME = VIS_L0_ENS_FREQ_lt1609 FCST_VAR18_LEVELS = L0 @@ -322,7 +322,7 @@ FCST_VAR18_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR18_NAME = VIS OBS_VAR18_LEVELS = L0 -OBS_VAR18_THRESH = <1609 +OBS_VAR18_THRESH = lt1609 OBS_VAR18_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR19_NAME = VIS_L0_ENS_FREQ_lt8045 @@ -332,7 +332,7 @@ FCST_VAR19_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR19_NAME = VIS OBS_VAR19_LEVELS = L0 -OBS_VAR19_THRESH = <8045 +OBS_VAR19_THRESH = lt8045 OBS_VAR19_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR20_NAME = VIS_L0_ENS_FREQ_ge8045 @@ -342,7 +342,7 @@ FCST_VAR20_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR20_NAME = VIS OBS_VAR20_LEVELS = L0 -OBS_VAR20_THRESH = >=8045 +OBS_VAR20_THRESH = ge8045 OBS_VAR20_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR21_NAME = HGT_L0_ENS_FREQ_lt152 @@ -352,7 +352,7 @@ FCST_VAR21_OPTIONS = desc = "CEILING"; OBS_VAR21_NAME = CEILING OBS_VAR21_LEVELS = L0 -OBS_VAR21_THRESH = <152 +OBS_VAR21_THRESH = lt152 OBS_VAR21_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR22_NAME = HGT_L0_ENS_FREQ_lt1520 @@ -362,7 +362,7 @@ FCST_VAR22_OPTIONS = desc = "CEILING"; OBS_VAR22_NAME = CEILING OBS_VAR22_LEVELS = L0 -OBS_VAR22_THRESH = <1520 +OBS_VAR22_THRESH = lt1520 OBS_VAR22_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR23_NAME = HGT_L0_ENS_FREQ_ge914 @@ -372,7 +372,7 @@ FCST_VAR23_OPTIONS = desc = "CEILING"; OBS_VAR23_NAME = CEILING OBS_VAR23_LEVELS = L0 -OBS_VAR23_THRESH = >=914 +OBS_VAR23_THRESH = ge914 OBS_VAR23_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } # Forecast data description variables diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index f1da93f11c..a74a4fe12c 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -184,7 +184,7 @@ FCST_VAR1_THRESH = ==0.1 OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = P850 -OBS_VAR1_THRESH = >=288 +OBS_VAR1_THRESH = ge288 FCST_VAR2_NAME = TMP_P850_ENS_FREQ_ge293 FCST_VAR2_LEVELS = P850 @@ -192,7 +192,7 @@ FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = TMP OBS_VAR2_LEVELS = P850 -OBS_VAR2_THRESH = >=293 +OBS_VAR2_THRESH = ge293 FCST_VAR3_NAME = TMP_P850_ENS_FREQ_ge298 FCST_VAR3_LEVELS = P850 @@ -200,7 +200,7 @@ FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = TMP OBS_VAR3_LEVELS = P850 -OBS_VAR3_THRESH = >=298 +OBS_VAR3_THRESH = ge298 FCST_VAR4_NAME = TMP_P700_ENS_FREQ_ge273 FCST_VAR4_LEVELS = P700 @@ -208,7 +208,7 @@ FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = TMP OBS_VAR4_LEVELS = P700 -OBS_VAR4_THRESH = >=273 +OBS_VAR4_THRESH = ge273 FCST_VAR5_NAME = TMP_P700_ENS_FREQ_ge278 FCST_VAR5_LEVELS = P700 @@ -216,7 +216,7 @@ FCST_VAR5_THRESH = ==0.1 OBS_VAR5_NAME = TMP OBS_VAR5_LEVELS = P700 -OBS_VAR5_THRESH = >=278 +OBS_VAR5_THRESH = ge278 FCST_VAR6_NAME = TMP_P700_ENS_FREQ_ge283 FCST_VAR6_LEVELS = P700 @@ -224,7 +224,7 @@ FCST_VAR6_THRESH = ==0.1 OBS_VAR6_NAME = TMP OBS_VAR6_LEVELS = P700 -OBS_VAR6_THRESH = >=283 +OBS_VAR6_THRESH = ge283 FCST_VAR7_NAME = TMP_P500_ENS_FREQ_ge258 FCST_VAR7_LEVELS = P500 @@ -232,7 +232,7 @@ FCST_VAR7_THRESH = ==0.1 OBS_VAR7_NAME = TMP OBS_VAR7_LEVELS = P500 -OBS_VAR7_THRESH = >=258 +OBS_VAR7_THRESH = ge258 FCST_VAR8_NAME = TMP_P500_ENS_FREQ_ge263 FCST_VAR8_LEVELS = P500 @@ -240,7 +240,7 @@ FCST_VAR8_THRESH = ==0.1 OBS_VAR8_NAME = TMP OBS_VAR8_LEVELS = P500 -OBS_VAR8_THRESH = >=263 +OBS_VAR8_THRESH = ge263 FCST_VAR9_NAME = TMP_P500_ENS_FREQ_ge268 FCST_VAR9_LEVELS = P500 @@ -248,7 +248,7 @@ FCST_VAR9_THRESH = ==0.1 OBS_VAR9_NAME = TMP OBS_VAR9_LEVELS = P500 -OBS_VAR9_THRESH = >=268 +OBS_VAR9_THRESH = ge268 FCST_VAR10_NAME = DPT_P850_ENS_FREQ_ge273 FCST_VAR10_LEVELS = P850 @@ -256,7 +256,7 @@ FCST_VAR10_THRESH = ==0.1 OBS_VAR10_NAME = DPT OBS_VAR10_LEVELS = P850 -OBS_VAR10_THRESH = >=273 +OBS_VAR10_THRESH = ge273 FCST_VAR11_NAME = DPT_P850_ENS_FREQ_ge278 FCST_VAR11_LEVELS = P850 @@ -264,7 +264,7 @@ FCST_VAR11_THRESH = ==0.1 OBS_VAR11_NAME = DPT OBS_VAR11_LEVELS = P850 -OBS_VAR11_THRESH = >=278 +OBS_VAR11_THRESH = ge278 FCST_VAR12_NAME = DPT_P850_ENS_FREQ_ge283 FCST_VAR12_LEVELS = P850 @@ -272,7 +272,7 @@ FCST_VAR12_THRESH = ==0.1 OBS_VAR12_NAME = DPT OBS_VAR12_LEVELS = P850 -OBS_VAR12_THRESH = >=283 +OBS_VAR12_THRESH = ge283 FCST_VAR13_NAME = DPT_P700_ENS_FREQ_ge263 FCST_VAR13_LEVELS = P700 @@ -280,7 +280,7 @@ FCST_VAR13_THRESH = ==0.1 OBS_VAR13_NAME = DPT OBS_VAR13_LEVELS = P700 -OBS_VAR13_THRESH = >=263 +OBS_VAR13_THRESH = ge263 FCST_VAR14_NAME = DPT_P700_ENS_FREQ_ge268 FCST_VAR14_LEVELS = P700 @@ -288,7 +288,7 @@ FCST_VAR14_THRESH = ==0.1 OBS_VAR14_NAME = DPT OBS_VAR14_LEVELS = P700 -OBS_VAR14_THRESH = >=268 +OBS_VAR14_THRESH = ge268 FCST_VAR15_NAME = DPT_P700_ENS_FREQ_ge273 FCST_VAR15_LEVELS = P700 @@ -296,7 +296,7 @@ FCST_VAR15_THRESH = ==0.1 OBS_VAR15_NAME = DPT OBS_VAR15_LEVELS = P700 -OBS_VAR15_THRESH = >=273 +OBS_VAR15_THRESH = ge273 FCST_VAR16_NAME = WIND_P850_ENS_FREQ_ge5 FCST_VAR16_LEVELS = P850 @@ -304,7 +304,7 @@ FCST_VAR16_THRESH = ==0.1 OBS_VAR16_NAME = WIND OBS_VAR16_LEVELS = P850 -OBS_VAR16_THRESH = >=5 +OBS_VAR16_THRESH = ge5 FCST_VAR17_NAME = WIND_P850_ENS_FREQ_ge10 FCST_VAR17_LEVELS = P850 @@ -312,7 +312,7 @@ FCST_VAR17_THRESH = ==0.1 OBS_VAR17_NAME = WIND OBS_VAR17_LEVELS = P850 -OBS_VAR17_THRESH = >=10 +OBS_VAR17_THRESH = ge10 FCST_VAR18_NAME = WIND_P850_ENS_FREQ_ge15 FCST_VAR18_LEVELS = P850 @@ -320,7 +320,7 @@ FCST_VAR18_THRESH = ==0.1 OBS_VAR18_NAME = WIND OBS_VAR18_LEVELS = P850 -OBS_VAR18_THRESH = >=15 +OBS_VAR18_THRESH = ge15 FCST_VAR19_NAME = WIND_P700_ENS_FREQ_ge10 FCST_VAR19_LEVELS = P700 @@ -328,7 +328,7 @@ FCST_VAR19_THRESH = ==0.1 OBS_VAR19_NAME = WIND OBS_VAR19_LEVELS = P700 -OBS_VAR19_THRESH = >=10 +OBS_VAR19_THRESH = ge10 FCST_VAR20_NAME = WIND_P700_ENS_FREQ_ge15 FCST_VAR20_LEVELS = P700 @@ -336,7 +336,7 @@ FCST_VAR20_THRESH = ==0.1 OBS_VAR20_NAME = WIND OBS_VAR20_LEVELS = P700 -OBS_VAR20_THRESH = >=15 +OBS_VAR20_THRESH = ge15 FCST_VAR21_NAME = WIND_P700_ENS_FREQ_ge20 FCST_VAR21_LEVELS = P700 @@ -344,7 +344,7 @@ FCST_VAR21_THRESH = ==0.1 OBS_VAR21_NAME = WIND OBS_VAR21_LEVELS = P700 -OBS_VAR21_THRESH = >=20 +OBS_VAR21_THRESH = ge20 FCST_VAR22_NAME = WIND_P500_ENS_FREQ_ge15 FCST_VAR22_LEVELS = P500 @@ -352,7 +352,7 @@ FCST_VAR22_THRESH = ==0.1 OBS_VAR22_NAME = WIND OBS_VAR22_LEVELS = P500 -OBS_VAR22_THRESH = >=15 +OBS_VAR22_THRESH = ge15 FCST_VAR23_NAME = WIND_P500_ENS_FREQ_ge21 FCST_VAR23_LEVELS = P500 @@ -360,7 +360,7 @@ FCST_VAR23_THRESH = ==0.1 OBS_VAR23_NAME = WIND OBS_VAR23_LEVELS = P500 -OBS_VAR23_THRESH = >=21 +OBS_VAR23_THRESH = ge21 FCST_VAR24_NAME = WIND_P500_ENS_FREQ_ge26 FCST_VAR24_LEVELS = P500 @@ -368,7 +368,7 @@ FCST_VAR24_THRESH = ==0.1 OBS_VAR24_NAME = WIND OBS_VAR24_LEVELS = P500 -OBS_VAR24_THRESH = >=26 +OBS_VAR24_THRESH = ge26 FCST_VAR25_NAME = WIND_P250_ENS_FREQ_ge26 FCST_VAR25_LEVELS = P250 @@ -376,7 +376,7 @@ FCST_VAR25_THRESH = ==0.1 OBS_VAR25_NAME = WIND OBS_VAR25_LEVELS = P250 -OBS_VAR25_THRESH = >=26 +OBS_VAR25_THRESH = ge26 FCST_VAR26_NAME = WIND_P250_ENS_FREQ_ge31 FCST_VAR26_LEVELS = P250 @@ -384,7 +384,7 @@ FCST_VAR26_THRESH = ==0.1 OBS_VAR26_NAME = WIND OBS_VAR26_LEVELS = P250 -OBS_VAR26_THRESH = >=31 +OBS_VAR26_THRESH = ge31 FCST_VAR27_NAME = WIND_P250_ENS_FREQ_ge36 FCST_VAR27_LEVELS = P250 @@ -392,7 +392,7 @@ FCST_VAR27_THRESH = ==0.1 OBS_VAR27_NAME = WIND OBS_VAR27_LEVELS = P250 -OBS_VAR27_THRESH = >=36 +OBS_VAR27_THRESH = ge36 FCST_VAR28_NAME = WIND_P250_ENS_FREQ_ge46 FCST_VAR28_LEVELS = P250 @@ -400,7 +400,7 @@ FCST_VAR28_THRESH = ==0.1 OBS_VAR28_NAME = WIND OBS_VAR28_LEVELS = P250 -OBS_VAR28_THRESH = >=46 +OBS_VAR28_THRESH = ge46 FCST_VAR29_NAME = WIND_P250_ENS_FREQ_ge62 FCST_VAR29_LEVELS = P250 @@ -408,7 +408,7 @@ FCST_VAR29_THRESH = ==0.1 OBS_VAR29_NAME = WIND OBS_VAR29_LEVELS = P250 -OBS_VAR29_THRESH = >=62 +OBS_VAR29_THRESH = ge62 FCST_VAR30_NAME = HGT_P500_ENS_FREQ_ge5400 FCST_VAR30_LEVELS = P500 @@ -416,7 +416,7 @@ FCST_VAR30_THRESH = ==0.1 OBS_VAR30_NAME = HGT OBS_VAR30_LEVELS = P500 -OBS_VAR30_THRESH = >=5400 +OBS_VAR30_THRESH = ge5400 FCST_VAR31_NAME = HGT_P500_ENS_FREQ_ge5600 FCST_VAR31_LEVELS = P500 @@ -424,7 +424,7 @@ FCST_VAR31_THRESH = ==0.1 OBS_VAR31_NAME = HGT OBS_VAR31_LEVELS = P500 -OBS_VAR31_THRESH = >=5600 +OBS_VAR31_THRESH = ge5600 FCST_VAR32_NAME = HGT_P500_ENS_FREQ_ge5880 FCST_VAR32_LEVELS = P500 @@ -432,7 +432,7 @@ FCST_VAR32_THRESH = ==0.1 OBS_VAR32_NAME = HGT OBS_VAR32_LEVELS = P500 -OBS_VAR32_THRESH = >=5880 +OBS_VAR32_THRESH = ge5880 FCST_VAR33_NAME = CAPE_L0_ENS_FREQ_le1000 FCST_VAR33_LEVELS = L0 @@ -441,7 +441,7 @@ FCST_VAR33_THRESH = ==0.1 OBS_VAR33_NAME = CAPE OBS_VAR33_LEVELS = L0-100000 OBS_VAR33_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR33_THRESH = <=1000 +OBS_VAR33_THRESH = le1000 FCST_VAR34_NAME = CAPE_L0_ENS_FREQ_gt1000.and.lt2500 FCST_VAR34_LEVELS = L0 @@ -450,7 +450,7 @@ FCST_VAR34_THRESH = ==0.1 OBS_VAR34_NAME = CAPE OBS_VAR34_LEVELS = L0-100000 OBS_VAR34_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR34_THRESH = >1000&&<2500 +OBS_VAR34_THRESH = gt1000&<2500 FCST_VAR35_NAME = CAPE_L0_ENS_FREQ_gt2500.and.lt4000 FCST_VAR35_LEVELS = L0 @@ -459,7 +459,7 @@ FCST_VAR35_THRESH = ==0.1 OBS_VAR35_NAME = CAPE OBS_VAR35_LEVELS = L0-100000 OBS_VAR35_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR35_THRESH = >2500&&<4000 +OBS_VAR35_THRESH = gt2500&<4000 FCST_VAR36_NAME = CAPE_L0_ENS_FREQ_gt2500 FCST_VAR36_LEVELS = L0 @@ -468,7 +468,7 @@ FCST_VAR36_THRESH = ==0.1 OBS_VAR36_NAME = CAPE OBS_VAR36_LEVELS = L0-100000 OBS_VAR36_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR36_THRESH =>2500 +OBS_VAR36_THRESH = gt2500 FCST_VAR37_NAME = HPBL_Z0_ENS_FREQ_lt500 FCST_VAR37_LEVELS = Z0 @@ -477,7 +477,7 @@ FCST_VAR37_THRESH = ==0.1 OBS_VAR37_NAME = PBL OBS_VAR37_LEVELS = L0 OBS_VAR37_OPTIONS = desc = "TKE"; -OBS_VAR37_THRESH = <500 +OBS_VAR37_THRESH = lt500 FCST_VAR38_NAME = HPBL_Z0_ENS_FREQ_lt1500 FCST_VAR38_LEVELS = Z0 @@ -486,7 +486,7 @@ FCST_VAR38_THRESH = ==0.1 OBS_VAR38_NAME = PBL OBS_VAR38_LEVELS = L0 OBS_VAR38_OPTIONS = desc = "TKE"; -OBS_VAR38_THRESH = <1500 +OBS_VAR38_THRESH = lt1500 FCST_VAR39_NAME = HPBL_Z0_ENS_FREQ_gt1500 FCST_VAR39_LEVELS = Z0 @@ -495,7 +495,7 @@ FCST_VAR39_THRESH = ==0.1 OBS_VAR39_NAME = PBL OBS_VAR39_LEVELS = L0 OBS_VAR39_OPTIONS = desc = "TKE"; -OBS_VAR39_THRESH = >1500 +OBS_VAR39_THRESH = gt1500 # Forecast data description variables FCST_IS_PROB = True From 50dd57785f18286ec5b54d608924bd68f8cb8381 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 8 Nov 2023 14:47:47 -0700 Subject: [PATCH 06/69] Changes to METplus conf files: (1) FCST_VAR_... and OBS_VAR_... variables are grouped together, (2) commented-out settings of FCST_VAR_... and OBS_VAR_... are removed, (3) FCST_VAR_OPTIONS and OBS_VAR_OPTIONS come last, and (4) each element in options is on a separate line. --- parm/metplus/EnsembleStat_ADPSFC.conf | 12 ++-- parm/metplus/EnsembleStat_ADPUPA.conf | 7 ++- parm/metplus/EnsembleStat_APCP01h.conf | 3 +- parm/metplus/EnsembleStat_APCPgt01h.conf | 3 +- parm/metplus/EnsembleStat_ASNOW.conf | 3 +- parm/metplus/EnsembleStat_REFC.conf | 10 ++- parm/metplus/EnsembleStat_RETOP.conf | 12 +++- parm/metplus/GenEnsProd_ADPSFC.conf | 8 ++- parm/metplus/GenEnsProd_ADPUPA.conf | 2 +- parm/metplus/GridStat_REFC.conf | 5 +- parm/metplus/GridStat_RETOP.conf | 6 +- parm/metplus/GridStat_ensmean_APCP01h.conf | 2 - parm/metplus/GridStat_ensmean_APCPgt01h.conf | 1 - parm/metplus/GridStat_ensmean_ASNOW.conf | 3 - parm/metplus/GridStat_ensmean_REFC.conf | 2 - parm/metplus/GridStat_ensmean_RETOP.conf | 6 +- parm/metplus/GridStat_ensprob_APCP01h.conf | 8 --- parm/metplus/GridStat_ensprob_APCP03h.conf | 22 ------- parm/metplus/GridStat_ensprob_APCP06h.conf | 22 ------- parm/metplus/GridStat_ensprob_APCP24h.conf | 23 ------- parm/metplus/GridStat_ensprob_ASNOW.conf | 37 +++-------- parm/metplus/GridStat_ensprob_REFC.conf | 60 +++++++++++------- parm/metplus/GridStat_ensprob_RETOP.conf | 66 +++++++++++++------- parm/metplus/PointStat_ADPSFC.conf | 4 -- parm/metplus/PointStat_ADPUPA.conf | 5 +- parm/metplus/PointStat_ensmean_ADPSFC.conf | 3 - parm/metplus/PointStat_ensmean_ADPUPA.conf | 18 +----- parm/metplus/PointStat_ensprob_ADPSFC.conf | 32 ++-------- parm/metplus/PointStat_ensprob_ADPUPA.conf | 57 ++++------------- 29 files changed, 165 insertions(+), 277 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index e3c02ccd83..28bb858e53 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -217,15 +217,14 @@ OBS_VAR3_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; FCST_VAR4_NAME = TCDC FCST_VAR4_LEVELS = L0 FCST_VAR4_THRESH = lt25, gt75 -FCST_VAR4_OPTIONS = GRIB_lvl_typ = 200; GRIB2_ipdtmpl_index=[27]; GRIB2_ipdtmpl_val=[255]; interp = { type = [ { method = NEAREST; width = 1; } ]; } +FCST_VAR4_OPTIONS = GRIB_lvl_typ = 200; + GRIB2_ipdtmpl_index=[27]; + GRIB2_ipdtmpl_val=[255]; + interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR4_NAME = TCDC OBS_VAR4_LEVELS = L0 OBS_VAR4_THRESH = lt25, gt75 -#BOTH_VAR5_NAME = VIS -#BOTH_VAR5_LEVELS = L0 -#BOTH_VAR5_THRESH = lt1609, lt8045, ge8045 -#BOTH_VAR5_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR5_NAME = VIS FCST_VAR5_LEVELS = L0 FCST_VAR5_THRESH = lt1609, lt8045, ge8045 @@ -240,9 +239,8 @@ FCST_VAR6_THRESH = lt152, lt1520, ge914 FCST_VAR6_OPTIONS = GRIB_lvl_typ = 215; desc = "CEILING"; OBS_VAR6_NAME = CEILING OBS_VAR6_LEVELS = L0 -#OBS_VAR6_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } -OBS_VAR6_OPTIONS = GRIB_lvl_typ = 215 OBS_VAR6_THRESH = lt152, lt305, ge914 +OBS_VAR6_OPTIONS = GRIB_lvl_typ = 215 [dir] # diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index a1b349ed90..1a09f84534 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -271,20 +271,21 @@ OBS_VAR10_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; FCST_VAR11_NAME = CAPE FCST_VAR11_LEVELS = L0 -FCST_VAR11_OPTIONS = cnt_thresh = [ >0 ]; FCST_VAR11_THRESH = le1000, gt1000&<2500, ge2500&<4000, ge2500 +FCST_VAR11_OPTIONS = cnt_thresh = [ >0 ]; OBS_VAR11_NAME = CAPE OBS_VAR11_LEVELS = L0-100000 -OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; OBS_VAR11_THRESH = le1000, gt1000&<2500, ge2500&<4000, ge2500 +OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; + cnt_logic = UNION; FCST_VAR12_NAME = HPBL FCST_VAR12_LEVELS = Z0 FCST_VAR12_THRESH = lt500, lt1500, gt1500 OBS_VAR12_NAME = PBL OBS_VAR12_LEVELS = L0 -OBS_VAR12_OPTIONS = desc = "TKE"; OBS_VAR12_THRESH = lt500, lt1500, gt1500 +OBS_VAR12_OPTIONS = desc = "TKE"; [dir] # diff --git a/parm/metplus/EnsembleStat_APCP01h.conf b/parm/metplus/EnsembleStat_APCP01h.conf index aa85f5dc51..f0b168e423 100644 --- a/parm/metplus/EnsembleStat_APCP01h.conf +++ b/parm/metplus/EnsembleStat_APCP01h.conf @@ -192,7 +192,8 @@ ACCUM_HH = {{accum_hh}} # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} FCST_VAR1_LEVELS = A{ACCUM_HH} -FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; +FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; + ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS} diff --git a/parm/metplus/EnsembleStat_APCPgt01h.conf b/parm/metplus/EnsembleStat_APCPgt01h.conf index e748642b9b..429ff151b4 100644 --- a/parm/metplus/EnsembleStat_APCPgt01h.conf +++ b/parm/metplus/EnsembleStat_APCPgt01h.conf @@ -199,7 +199,8 @@ ACCUM_HH = {{accum_hh}} # FCST_VAR1_NAME = {{fieldname_in_met_output}} FCST_VAR1_LEVELS = A{ACCUM_HH} -FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; +FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; + ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_met_output}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS} diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index 54068d8dab..23a2d84438 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -192,7 +192,8 @@ ACCUM_HH = {{accum_hh}} # FCST_VAR1_NAME = {{fieldname_in_met_output}} FCST_VAR1_LEVELS = A{ACCUM_HH} -FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; +FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; + ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS}; convert(x) = 100.0*x; diff --git a/parm/metplus/EnsembleStat_REFC.conf b/parm/metplus/EnsembleStat_REFC.conf index d6fe4874c8..b28b4f8540 100644 --- a/parm/metplus/EnsembleStat_REFC.conf +++ b/parm/metplus/EnsembleStat_REFC.conf @@ -190,10 +190,16 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} FCST_VAR1_LEVELS = L0 -FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; +FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; + ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = Z500 -OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; +OBS_VAR1_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + ens_ssvar_bin_size = 50.0; + ens_phist_bin_size = 0.05; [dir] # diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index 55ac5fc8b1..e6516e78ce 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -191,11 +191,19 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE FCST_VAR1_NAME = {{fieldname_in_fcst_input}} FCST_VAR1_LEVELS = L0 # convert from meters to kilofeet: M_to_KFT(x) = x * 3.28084 * 0.001; -FCST_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; +FCST_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; + ens_ssvar_bin_size = 50.0; + ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = Z500 # convert from kilometers to kilofeet: KM_to_KFT(x) = x * 3280.84 * 0.001; -OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; +OBS_VAR1_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; + ens_ssvar_bin_size = 50.0; + ens_phist_bin_size = 0.05; [dir] # diff --git a/parm/metplus/GenEnsProd_ADPSFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf index 5983544e57..e8b0956e13 100644 --- a/parm/metplus/GenEnsProd_ADPSFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -133,7 +133,10 @@ ENS_VAR3_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V com ENS_VAR4_NAME = TCDC ENS_VAR4_LEVELS = L0 ENS_VAR4_THRESH = lt25, gt75 -ENS_VAR4_OPTIONS = GRIB_lvl_typ = 200; GRIB2_ipdtmpl_index=[27]; GRIB2_ipdtmpl_val=[255]; interp = { type = [ { method = NEAREST; width = 1; } ]; } +ENS_VAR4_OPTIONS = GRIB_lvl_typ = 200; + GRIB2_ipdtmpl_index=[27]; + GRIB2_ipdtmpl_val=[255]; + interp = { type = [ { method = NEAREST; width = 1; } ]; } ENS_VAR5_NAME = VIS ENS_VAR5_LEVELS = L0 @@ -143,7 +146,8 @@ ENS_VAR5_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } ENS_VAR6_NAME = HGT ENS_VAR6_LEVELS = L0 ENS_VAR6_THRESH = lt152, lt1520, ge914 -ENS_VAR6_OPTIONS = GRIB_lvl_typ = 215; desc = "CEILING"; +ENS_VAR6_OPTIONS = GRIB_lvl_typ = 215; + desc = "CEILING"; ### diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index 6c15bb2745..82125ad716 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -159,8 +159,8 @@ ENS_VAR10_THRESH = ge5400, ge5600, ge5880 ENS_VAR11_NAME = CAPE ENS_VAR11_LEVELS = L0 -ENS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; ENS_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 +ENS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; ENS_VAR12_NAME = HPBL ENS_VAR12_LEVELS = Z0 diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 3cc6e62d1f..159691cced 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -154,7 +154,10 @@ OBS_VAR1_NAME = {{fieldname_in_obs_input}} # same length as FCST_VAR1_LEVELS. # OBS_VAR1_LEVELS = Z500 -OBS_VAR1_OPTIONS = censor_thresh = [eq-999, <-20]; censor_val = [-9999, -20]; cnt_thresh = [ >15 ]; cnt_logic = UNION; +OBS_VAR1_OPTIONS = censor_thresh = [eq-999, <-20]; + censor_val = [-9999, -20]; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; # # Time relative to valid time (in seconds) to allow files to be considered # valid. Set both BEGIN and END to 0 to require the exact time in the diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 6a836b1153..367c136a36 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -155,7 +155,11 @@ OBS_VAR1_NAME = {{fieldname_in_obs_input}} # same length as FCST_VAR1_LEVELS. # OBS_VAR1_LEVELS = Z500 -OBS_VAR1_OPTIONS = convert(x) = x * 3280.84 * 0.001; censor_thresh = [<=-9.84252,eq-3.28084]; censor_val = [-9999,-16.4042]; cnt_thresh = [ >0 ]; cnt_logic = UNION; +OBS_VAR1_OPTIONS = convert(x) = x * 3280.84 * 0.001; + censor_thresh = [<=-9.84252,eq-3.28084]; + censor_val = [-9999,-16.4042]; + cnt_thresh = [ >0 ]; + cnt_logic = UNION; # # Time relative to valid time (in seconds) to allow files to be considered # valid. Set both BEGIN and END to 0 to require the exact time in the diff --git a/parm/metplus/GridStat_ensmean_APCP01h.conf b/parm/metplus/GridStat_ensmean_APCP01h.conf index e087841431..a22660afd9 100644 --- a/parm/metplus/GridStat_ensmean_APCP01h.conf +++ b/parm/metplus/GridStat_ensmean_APCP01h.conf @@ -132,7 +132,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # the METplus conf files for accumulation > 1 hour (e.g. 3, 6, and 24 # hour). # -#FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{ENV[ACCUM_NO_PAD]}_ENS_MEAN FCST_VAR1_NAME = {{fieldname_in_met_output}}_A01_ENS_MEAN # # List of levels to evaluate for forecast variable 1. @@ -157,7 +156,6 @@ BOTH_VAR1_THRESH = {{field_thresholds}} # error like this from METplus: # ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... # -#OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {{fieldname_in_obs_input}} # # List of levels to evaluate for observation variable 1. Must be the diff --git a/parm/metplus/GridStat_ensmean_APCPgt01h.conf b/parm/metplus/GridStat_ensmean_APCPgt01h.conf index ff277bbcbb..d8b38454c8 100644 --- a/parm/metplus/GridStat_ensmean_APCPgt01h.conf +++ b/parm/metplus/GridStat_ensmean_APCPgt01h.conf @@ -128,7 +128,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # must be set to the value of FIELDNAME_IN_MET_OUTPUT with "_A3_ENS_MEAN" # appended to it. # -#FCST_VAR1_NAME = APCP_A3_ENS_MEAN FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN # # List of levels to evaluate for forecast variable 1. diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 93b4f6346f..54a590bc9a 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -121,7 +121,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # statistic, etc. In this case, this suffix is "_A01_ENS_MEAN". Thus, # below, FCST_VAR1_NAME must be set to the value of fieldname_in_met_output # with "_A01_ENS_MEAN" appended to it. -#FCST_VAR1_NAME = APCP_01_A01_ENS_MEAN # # Question: # Why is the name of the array in the input NetCDF file (created by @@ -132,7 +131,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # the METplus conf files for accumulation > 1 hour (e.g. 3, 6, and 24 # hour). # -#FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{ENV[ACCUM_NO_PAD]}_ENS_MEAN FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN # # List of levels to evaluate for forecast variable 1. @@ -157,7 +155,6 @@ BOTH_VAR1_THRESH = {{field_thresholds}} # error like this from METplus: # ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... # -#OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {{fieldname_in_obs_input}} # # List of levels to evaluate for observation variable 1. Must be the diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index d8a6cc83ff..88f3e9de83 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -123,8 +123,6 @@ FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_MEAN # List of levels to evaluate for forecast variable 1. # FCST_VAR1_LEVELS = L0 - -#FCST_VAR1_OPTIONS = cnt_thresh = [ >15 ]; cnt_logic = UNION; # # List of thresholds to evaluate for each name/level combination for # both obs and forecast variable 1. diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index bc037c4567..cb033574d5 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -148,7 +148,11 @@ OBS_VAR1_NAME = {{fieldname_in_obs_input}} # same length as FCST_VAR1_LEVELS. # OBS_VAR1_LEVELS = Z500 -OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; +OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; # # Time relative to valid time (in seconds) to allow files to be considered # valid. Set both BEGIN and END to 0 to require the exact time in the diff --git a/parm/metplus/GridStat_ensprob_APCP01h.conf b/parm/metplus/GridStat_ensprob_APCP01h.conf index 10cb43630b..9e2b188ec0 100644 --- a/parm/metplus/GridStat_ensprob_APCP01h.conf +++ b/parm/metplus/GridStat_ensprob_APCP01h.conf @@ -115,7 +115,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic FCST_VAR1_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_gt0.0 FCST_VAR1_LEVELS = A01 FCST_VAR1_THRESH = ==0.1 - OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A01 OBS_VAR1_THRESH = gt0.0 @@ -123,7 +122,6 @@ OBS_VAR1_THRESH = gt0.0 FCST_VAR2_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.254 FCST_VAR2_LEVELS = A01 FCST_VAR2_THRESH = ==0.1 - OBS_VAR2_NAME = {{fieldname_in_obs_input}} OBS_VAR2_LEVELS = A01 OBS_VAR2_THRESH = ge0.254 @@ -131,7 +129,6 @@ OBS_VAR2_THRESH = ge0.254 FCST_VAR3_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.508 FCST_VAR3_LEVELS = A01 FCST_VAR3_THRESH = ==0.1 - OBS_VAR3_NAME = {{fieldname_in_obs_input}} OBS_VAR3_LEVELS = A01 OBS_VAR3_THRESH = ge0.508 @@ -139,7 +136,6 @@ OBS_VAR3_THRESH = ge0.508 FCST_VAR4_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge2.54 FCST_VAR4_LEVELS = A01 FCST_VAR4_THRESH = ==0.1 - OBS_VAR4_NAME = {{fieldname_in_obs_input}} OBS_VAR4_LEVELS = A01 OBS_VAR4_THRESH = ge2.54 @@ -151,7 +147,6 @@ FCST_VAR5_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_gt0.0 FCST_VAR5_LEVELS = A01 FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; - OBS_VAR5_NAME = {{fieldname_in_obs_input}} OBS_VAR5_LEVELS = A01 OBS_VAR5_THRESH = gt0.0 @@ -161,7 +156,6 @@ FCST_VAR6_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.254 FCST_VAR6_LEVELS = A01 FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; - OBS_VAR6_NAME = {{fieldname_in_obs_input}} OBS_VAR6_LEVELS = A01 OBS_VAR6_THRESH = ge0.254 @@ -171,7 +165,6 @@ FCST_VAR7_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.508 FCST_VAR7_LEVELS = A01 FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; - OBS_VAR7_NAME = {{fieldname_in_obs_input}} OBS_VAR7_LEVELS = A01 OBS_VAR7_THRESH = ge0.508 @@ -181,7 +174,6 @@ FCST_VAR8_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge2.54 FCST_VAR8_LEVELS = A01 FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; - OBS_VAR8_NAME = {{fieldname_in_obs_input}} OBS_VAR8_LEVELS = A01 OBS_VAR8_THRESH = ge2.54 diff --git a/parm/metplus/GridStat_ensprob_APCP03h.conf b/parm/metplus/GridStat_ensprob_APCP03h.conf index 8e3747272c..eb57856c99 100644 --- a/parm/metplus/GridStat_ensprob_APCP03h.conf +++ b/parm/metplus/GridStat_ensprob_APCP03h.conf @@ -135,7 +135,6 @@ FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} # The same is true of other forecast fields below except the suffix is # different. # -#FCST_VAR1_NAME = APCP_A3_ENS_FREQ_gt0.0 FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_gt0.0 FCST_VAR1_LEVELS = A03 FCST_VAR1_THRESH = ==0.1 @@ -153,37 +152,27 @@ FCST_VAR1_THRESH = ==0.1 # OBS_VAR1_NAME to here, not to the name of the variable in the grib2 # file. # -#OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR1_LEVELS = A03 OBS_VAR1_THRESH = gt0.0 -#FCST_VAR2_NAME = APCP_A3_ENS_FREQ_ge0.508 FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge0.508 FCST_VAR2_LEVELS = A03 FCST_VAR2_THRESH = ==0.1 - -#OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR2_LEVELS = A03 OBS_VAR2_THRESH = ge0.508 -#FCST_VAR3_NAME = APCP_A3_ENS_FREQ_ge2.54 FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge2.54 FCST_VAR3_LEVELS = A03 FCST_VAR3_THRESH = ==0.1 - -#OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR3_LEVELS = A03 OBS_VAR3_THRESH = ge2.54 -#FCST_VAR4_NAME = APCP_A3_ENS_FREQ_ge6.350 FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge6.350 FCST_VAR4_LEVELS = A03 FCST_VAR4_THRESH = ==0.1 - -#OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR4_LEVELS = A03 OBS_VAR4_THRESH = ge6.350 @@ -196,44 +185,33 @@ FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_gt0.0 FCST_VAR5_LEVELS = A03 FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; - -#OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR5_LEVELS = A03 OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR6_NAME = APCP_A3_ENS_FREQ_ge0.508 FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge0.508 FCST_VAR6_LEVELS = A03 FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; - -#OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR6_LEVELS = A03 OBS_VAR6_THRESH = ge0.508 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR7_NAME = APCP_A3_ENS_FREQ_ge2.54 FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge2.54 FCST_VAR7_LEVELS = A03 FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; - -#OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR7_LEVELS = A03 OBS_VAR7_THRESH = ge2.54 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR8_NAME = APCP_A3_ENS_FREQ_ge6.350 FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge6.350 FCST_VAR8_LEVELS = A03 FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; - -#OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR8_LEVELS = A03 OBS_VAR8_THRESH = ge6.350 diff --git a/parm/metplus/GridStat_ensprob_APCP06h.conf b/parm/metplus/GridStat_ensprob_APCP06h.conf index 482563f40e..08a62561fb 100644 --- a/parm/metplus/GridStat_ensprob_APCP06h.conf +++ b/parm/metplus/GridStat_ensprob_APCP06h.conf @@ -135,7 +135,6 @@ FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} # The same is true of other forecast fields below except the suffix is # different. # -#FCST_VAR1_NAME = APCP_A6_ENS_FREQ_gt0.0 FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_gt0.0 FCST_VAR1_LEVELS = A06 FCST_VAR1_THRESH = ==0.1 @@ -153,37 +152,27 @@ FCST_VAR1_THRESH = ==0.1 # OBS_VAR1_NAME to here, not to the name of the variable in the grib2 # file. # -#OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR1_LEVELS = A06 OBS_VAR1_THRESH = gt0.0 -#FCST_VAR2_NAME = APCP_A6_ENS_FREQ_ge2.54 FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge2.54 FCST_VAR2_LEVELS = A06 FCST_VAR2_THRESH = ==0.1 - -#OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR2_LEVELS = A06 OBS_VAR2_THRESH = ge2.54 -#FCST_VAR3_NAME = APCP_A6_ENS_FREQ_ge6.350 FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge6.350 FCST_VAR3_LEVELS = A06 FCST_VAR3_THRESH = ==0.1 - -#OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR3_LEVELS = A06 OBS_VAR3_THRESH = ge6.350 -#FCST_VAR4_NAME = APCP_A6_ENS_FREQ_ge12.700 FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge12.700 FCST_VAR4_LEVELS = A06 FCST_VAR4_THRESH = ==0.1 - -#OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR4_LEVELS = A06 OBS_VAR4_THRESH = ge12.700 @@ -196,44 +185,33 @@ FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_gt0.0 FCST_VAR5_LEVELS = A06 FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; - -#OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR5_LEVELS = A06 OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR6_NAME = APCP_A6_ENS_FREQ_ge2.54 FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge2.54 FCST_VAR6_LEVELS = A06 FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; - -#OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR6_LEVELS = A06 OBS_VAR6_THRESH = ge2.54 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR7_NAME = APCP_A6_ENS_FREQ_ge6.350 FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge6.350 FCST_VAR7_LEVELS = A06 FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; - -#OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR7_LEVELS = A06 OBS_VAR7_THRESH = ge6.350 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR8_NAME = APCP_A6_ENS_FREQ_ge12.700 FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge12.700 FCST_VAR8_LEVELS = A06 FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; - -#OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR8_LEVELS = A06 OBS_VAR8_THRESH = ge12.700 diff --git a/parm/metplus/GridStat_ensprob_APCP24h.conf b/parm/metplus/GridStat_ensprob_APCP24h.conf index db90695550..7f027ae6fa 100644 --- a/parm/metplus/GridStat_ensprob_APCP24h.conf +++ b/parm/metplus/GridStat_ensprob_APCP24h.conf @@ -135,7 +135,6 @@ FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} # The same is true of other forecast fields below except the suffix is # different. # -#FCST_VAR1_NAME = APCP_A24_ENS_FREQ_gt0.0 FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_gt0.0 FCST_VAR1_LEVELS = A24 FCST_VAR1_THRESH = ==0.1 @@ -153,37 +152,27 @@ FCST_VAR1_THRESH = ==0.1 # OBS_VAR1_NAME to here, not to the name of the variable in the grib2 # file. # -#OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR1_LEVELS = A24 OBS_VAR1_THRESH = gt0.0 -#FCST_VAR2_NAME = APCP_A24_ENS_FREQ_ge6.350 FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge6.350 FCST_VAR2_LEVELS = A24 FCST_VAR2_THRESH = ==0.1 - -#OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR2_LEVELS = A24 OBS_VAR2_THRESH = ge6.350 -#FCST_VAR3_NAME = APCP_A24_ENS_FREQ_ge12.700 FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge12.700 FCST_VAR3_LEVELS = A24 FCST_VAR3_THRESH = ==0.1 - -#OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR3_LEVELS = A24 OBS_VAR3_THRESH = ge12.700 -#FCST_VAR4_NAME = APCP_A24_ENS_FREQ_ge25.400 FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge25.400 FCST_VAR4_LEVELS = A24 FCST_VAR4_THRESH = ==0.1 - -#OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR4_LEVELS = A24 OBS_VAR4_THRESH = ge25.400 @@ -191,49 +180,37 @@ OBS_VAR4_THRESH = ge25.400 #Process as scalars for neighborhood methods ### Note that the number of forecast and obs thresholds must match ### but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -#FCST_VAR5_NAME = APCP_A24_ENS_FREQ_gt0.0 FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_gt0.0 FCST_VAR5_LEVELS = A24 FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; - -#OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR5_LEVELS = A24 OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR6_NAME = APCP_A24_ENS_FREQ_ge6.350 FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge6.350 FCST_VAR6_LEVELS = A24 FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; - -#OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR6_LEVELS = A24 OBS_VAR6_THRESH = ge6.350 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR7_NAME = APCP_A24_ENS_FREQ_ge12.700 FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge12.700 FCST_VAR7_LEVELS = A24 FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; - -#OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR7_LEVELS = A24 OBS_VAR7_THRESH = ge12.700 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR8_NAME = APCP_A24_ENS_FREQ_ge25.400 FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge25.400 FCST_VAR8_LEVELS = A24 FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; - -#OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} OBS_VAR8_LEVELS = A24 OBS_VAR8_THRESH = ge25.400 diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 443d13c686..ec53bda2d1 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -135,7 +135,6 @@ FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} # The same is true of other forecast fields below except the suffix is # different. # -#FCST_VAR1_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_gt0.0 FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_gt0.0 FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = ==0.1 @@ -153,62 +152,46 @@ FCST_VAR1_THRESH = ==0.1 # OBS_VAR1_NAME to here, not to the name of the variable in the grib2 # file. # -#OBS_VAR1_NAME = APCP OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = gt0.0 OBS_VAR1_OPTIONS = convert(x) = 100.0*x; -#FCST_VAR2_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge0.508 FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_gt0.0 FCST_VAR2_LEVELS = A{{accum_hh}} FCST_VAR2_THRESH = ==0.1 - -#OBS_VAR2_NAME = APCP OBS_VAR2_NAME = {{fieldname_in_obs_input}} OBS_VAR2_LEVELS = A{{accum_hh}} OBS_VAR2_THRESH = ge0.508 OBS_VAR2_OPTIONS = convert(x) = 100.0*x; -#FCST_VAR3_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge2.54 FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge2.54 FCST_VAR3_LEVELS = A{{accum_hh}} FCST_VAR3_THRESH = ==0.1 - -#OBS_VAR3_NAME = APCP OBS_VAR3_NAME = {{fieldname_in_obs_input}} OBS_VAR3_LEVELS = A{{accum_hh}} OBS_VAR3_THRESH = ge2.54 OBS_VAR3_OPTIONS = convert(x) = 100.0*x; -#FCST_VAR4_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge5.08 FCST_VAR4_LEVELS = A{{accum_hh}} FCST_VAR4_THRESH = ==0.1 - -#OBS_VAR4_NAME = APCP OBS_VAR4_NAME = {{fieldname_in_obs_input}} OBS_VAR4_LEVELS = A{{accum_hh}} OBS_VAR4_THRESH = ge5.08 OBS_VAR4_OPTIONS = convert(x) = 100.0*x; -#FCST_VAR5_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge10.16 FCST_VAR5_LEVELS = A{{accum_hh}} FCST_VAR5_THRESH = ==0.1 - -#OBS_VAR5_NAME = APCP OBS_VAR5_NAME = {{fieldname_in_obs_input}} OBS_VAR5_LEVELS = A{{accum_hh}} OBS_VAR5_THRESH = ge10.16 OBS_VAR5_OPTIONS = convert(x) = 100.0*x; -#FCST_VAR6_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_ge FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge20.32 FCST_VAR6_LEVELS = A{{accum_hh}} FCST_VAR6_THRESH = ==0.1 - -#OBS_VAR6_NAME = APCP OBS_VAR6_NAME = {{fieldname_in_obs_input}} OBS_VAR6_LEVELS = A{{accum_hh}} OBS_VAR6_THRESH = ge20.32 @@ -222,45 +205,41 @@ FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_gt0.0 FCST_VAR7_LEVELS = A{{accum_hh}} FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; - -#OBS_VAR7_NAME = APCP OBS_VAR7_NAME = {{fieldname_in_obs_input}} OBS_VAR7_LEVELS = A{{accum_hh}} OBS_VAR7_THRESH = gt0.0 -OBS_VAR7_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR7_OPTIONS = convert(x) = 100.0*x; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge2.54 FCST_VAR8_LEVELS = A{{accum_hh}} FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; - -#OBS_VAR8_NAME = APCP OBS_VAR8_NAME = {{fieldname_in_obs_input}} OBS_VAR8_LEVELS = A{{accum_hh}} OBS_VAR8_THRESH = ge2.54 -OBS_VAR8_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR8_OPTIONS = convert(x) = 100.0*x; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR9_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge5.08 FCST_VAR9_LEVELS = A{{accum_hh}} FCST_VAR9_THRESH = ==0.1 FCST_VAR9_OPTIONS = prob = FALSE; - -#OBS_VAR9_NAME = APCP OBS_VAR9_NAME = {{fieldname_in_obs_input}} OBS_VAR9_LEVELS = A{{accum_hh}} OBS_VAR9_THRESH = ge5.08 -OBS_VAR9_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR9_OPTIONS = convert(x) = 100.0*x; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } FCST_VAR10_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge10.16 FCST_VAR10_LEVELS = A{{accum_hh}} FCST_VAR10_THRESH = ==0.1 FCST_VAR10_OPTIONS = prob = FALSE; - -#OBS_VAR8_NAME = APCP OBS_VAR10_NAME = {{fieldname_in_obs_input}} OBS_VAR10_LEVELS = A{{accum_hh}} OBS_VAR10_THRESH = ge10.16 -OBS_VAR10_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR10_OPTIONS = convert(x) = 100.0*x; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 0edf3d18ce..5067020f45 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -126,10 +126,8 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # The same is true of other forecast fields below except the suffix is # different. # -#FCST_VAR1_NAME = REFC_L0_ENS_FREQ_ge20 FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR1_LEVELS = L0 -#FCST_VAR1_OPTIONS = cnt_thresh = [ >15 ]; cnt_logic = UNION; # # List of thresholds to evaluate for each name/level combination for # forecast variable 1. @@ -162,84 +160,98 @@ OBS_VAR1_LEVELS = Z500 # observation variable 1. # OBS_VAR1_THRESH = ge20.0 -OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; +OBS_VAR1_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; -#FCST_VAR2_NAME = REFC_L0_ENS_FREQ_ge30 FCST_VAR2_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge30 FCST_VAR2_LEVELS = L0 FCST_VAR2_THRESH = ==0.1 - OBS_VAR2_NAME = MergedReflectivityQCComposite OBS_VAR2_LEVELS = Z500 OBS_VAR2_THRESH = ge30.0 -OBS_VAR2_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; +OBS_VAR2_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; -#FCST_VAR3_NAME = REFC_L0_ENS_FREQ_ge40 FCST_VAR3_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 FCST_VAR3_LEVELS = L0 FCST_VAR3_THRESH = ==0.1 - OBS_VAR3_NAME = MergedReflectivityQCComposite OBS_VAR3_LEVELS = Z500 OBS_VAR3_THRESH = ge40.0 -OBS_VAR3_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; +OBS_VAR3_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; -#FCST_VAR4_NAME = REFC_L0_ENS_FREQ_ge50 FCST_VAR4_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge50 FCST_VAR4_LEVELS = L0 FCST_VAR4_THRESH = ==0.1 - OBS_VAR4_NAME = MergedReflectivityQCComposite OBS_VAR4_LEVELS = Z500 OBS_VAR4_THRESH = ge50.0 -OBS_VAR4_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; +OBS_VAR4_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -#FCST_VAR5_NAME = REFC_L0_ENS_FREQ_ge20 FCST_VAR5_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR5_LEVELS = L0 FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; - OBS_VAR5_NAME = MergedReflectivityQCComposite OBS_VAR5_LEVELS = Z500 OBS_VAR5_THRESH = ge20.0 -OBS_VAR5_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR5_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR6_NAME = REFC_L0_ENS_FREQ_ge30 FCST_VAR6_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge30 FCST_VAR6_LEVELS = L0 FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; - OBS_VAR6_NAME = MergedReflectivityQCComposite OBS_VAR6_LEVELS = Z500 OBS_VAR6_THRESH = ge30.0 -OBS_VAR6_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR6_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR7_NAME = REFC_L0_ENS_FREQ_ge40 FCST_VAR7_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 FCST_VAR7_LEVELS = L0 FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; - OBS_VAR7_NAME = MergedReflectivityQCComposite OBS_VAR7_LEVELS = Z500 OBS_VAR7_THRESH = ge40.0 -OBS_VAR7_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR7_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR8_NAME = REFC_L0_ENS_FREQ_ge50 FCST_VAR8_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge50 FCST_VAR8_LEVELS = L0 FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; - OBS_VAR8_NAME = MergedReflectivityQCComposite OBS_VAR8_LEVELS = Z500 OBS_VAR8_THRESH = ge50.0 -OBS_VAR8_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR8_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #OBS_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index aba7f47462..96fc12b277 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -161,84 +161,106 @@ OBS_VAR1_LEVELS = Z500 # observation variable 1. # OBS_VAR1_THRESH = ge20.0 -OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; +OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; -#FCST_VAR2_NAME = RETOP_L0_ENS_FREQ_ge30 FCST_VAR2_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge30 FCST_VAR2_LEVELS = L0 FCST_VAR2_THRESH = ==0.1 - OBS_VAR2_NAME = EchoTop18 OBS_VAR2_LEVELS = Z500 OBS_VAR2_THRESH = ge30.0 -OBS_VAR2_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; +OBS_VAR2_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; -#FCST_VAR3_NAME = RETOP_L0_ENS_FREQ_ge40 FCST_VAR3_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 FCST_VAR3_LEVELS = L0 FCST_VAR3_THRESH = ==0.1 - OBS_VAR3_NAME = EchoTop18 OBS_VAR3_LEVELS = Z500 OBS_VAR3_THRESH = ge40.0 -OBS_VAR3_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; +OBS_VAR3_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; -#FCST_VAR4_NAME = RETOP_L0_ENS_FREQ_ge50 FCST_VAR4_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge50 FCST_VAR4_LEVELS = L0 FCST_VAR4_THRESH = ==0.1 - OBS_VAR4_NAME = EchoTop18 OBS_VAR4_LEVELS = Z500 OBS_VAR4_THRESH = ge50.0 -OBS_VAR4_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; +OBS_VAR4_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -#FCST_VAR5_NAME = RETOP_L0_ENS_FREQ_ge20 FCST_VAR5_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR5_LEVELS = L0 FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; - OBS_VAR5_NAME = EchoTop18 OBS_VAR5_LEVELS = Z500 OBS_VAR5_THRESH = ge20.0 -OBS_VAR5_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR5_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR6_NAME = RETOP_L0_ENS_FREQ_ge30 FCST_VAR6_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge30 FCST_VAR6_LEVELS = L0 FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; - OBS_VAR6_NAME = EchoTop18 OBS_VAR6_LEVELS = Z500 OBS_VAR6_THRESH = ge30.0 -OBS_VAR6_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR6_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR7_NAME = RETOP_L0_ENS_FREQ_ge40 FCST_VAR7_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 FCST_VAR7_LEVELS = L0 FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; - OBS_VAR7_NAME = EchoTop18 OBS_VAR7_LEVELS = Z500 OBS_VAR7_THRESH = ge40.0 -OBS_VAR7_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR7_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_VAR8_NAME = RETOP_L0_ENS_FREQ_ge50 FCST_VAR8_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge50 FCST_VAR8_LEVELS = L0 FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; - OBS_VAR8_NAME = EchoTop18 OBS_VAR8_LEVELS = Z500 OBS_VAR8_THRESH = ge50.0 -OBS_VAR8_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR8_OPTIONS = censor_thresh = lt-20.0; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; + convert(x) = x * 3280.84 * 0.001; + nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #OBS_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index 2c3f6a53cb..fbc401bcca 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -275,7 +275,6 @@ BOTH_VAR12_LEVELS = Z2 FCST_VAR13_NAME = CRAIN FCST_VAR13_LEVELS = L0 FCST_VAR13_THRESH = ge1.0 - OBS_VAR13_NAME = PRWE OBS_VAR13_LEVELS = Z0 OBS_VAR13_THRESH = ge161&&le163 @@ -283,7 +282,6 @@ OBS_VAR13_THRESH = ge161&&le163 FCST_VAR14_NAME = CSNOW FCST_VAR14_LEVELS = L0 FCST_VAR14_THRESH = ge1.0 - OBS_VAR14_NAME = PRWE OBS_VAR14_LEVELS = Z0 OBS_VAR14_THRESH = ge171&&le173 @@ -291,7 +289,6 @@ OBS_VAR14_THRESH = ge171&&le173 FCST_VAR15_NAME = CFRZR FCST_VAR15_LEVELS = L0 FCST_VAR15_THRESH = ge1.0 - OBS_VAR15_NAME = PRWE OBS_VAR15_LEVELS = Z0 OBS_VAR15_THRESH = ge164&&le166 @@ -299,7 +296,6 @@ OBS_VAR15_THRESH = ge164&&le166 FCST_VAR16_NAME = CICEP FCST_VAR16_LEVELS = L0 FCST_VAR16_THRESH = ge1.0 - OBS_VAR16_NAME = PRWE OBS_VAR16_LEVELS = Z0 OBS_VAR16_THRESH = ge174&&le176 diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index 06905e3833..e540a48a49 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -262,12 +262,13 @@ OBS_VAR11_OPTIONS = desc = "RI"; FCST_VAR12_NAME = CAPE FCST_VAR12_LEVELS = L0-90 -FCST_VAR12_OPTIONS = cnt_thresh = [ >0 ]; FCST_VAR12_THRESH = gt500, gt1000, gt1500, gt2000, gt3000, gt4000 +FCST_VAR12_OPTIONS = cnt_thresh = [ >0 ]; OBS_VAR12_NAME = MLCAPE OBS_VAR12_LEVELS = L0 -OBS_VAR12_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; OBS_VAR12_THRESH = gt500, gt1000, gt1500, gt2000, gt3000, gt4000 +OBS_VAR12_OPTIONS = cnt_thresh = [ >0 ]; + cnt_logic = UNION; # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index a903632ec2..2c68130019 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -180,7 +180,6 @@ POINT_STAT_ONCE_PER_FIELD = False FCST_VAR1_NAME = TMP_Z2_ENS_MEAN FCST_VAR1_LEVELS = Z2 FCST_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 - OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = Z2 OBS_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 @@ -188,7 +187,6 @@ OBS_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 FCST_VAR2_NAME = DPT_Z2_ENS_MEAN FCST_VAR2_LEVELS = Z2 FCST_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 - OBS_VAR2_NAME = DPT OBS_VAR2_LEVELS = Z2 OBS_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 @@ -196,7 +194,6 @@ OBS_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 FCST_VAR3_NAME = WIND_Z10_ENS_MEAN FCST_VAR3_LEVELS = Z10 FCST_VAR3_THRESH = ge5, ge10, ge15 - OBS_VAR3_NAME = WIND OBS_VAR3_LEVELS = Z10 OBS_VAR3_THRESH = ge5, ge10, ge15 diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index 1d3cc7755e..02c1946bac 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -180,7 +180,6 @@ POINT_STAT_ONCE_PER_FIELD = False FCST_VAR1_NAME = TMP_P850_ENS_MEAN FCST_VAR1_LEVELS = P850 FCST_VAR1_THRESH = ge288, ge293, ge298 - OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = P850 OBS_VAR1_THRESH = ge288, ge293, ge298 @@ -188,7 +187,6 @@ OBS_VAR1_THRESH = ge288, ge293, ge298 FCST_VAR2_NAME = TMP_P700_ENS_MEAN FCST_VAR2_LEVELS = P700 FCST_VAR2_THRESH = ge273, ge278, ge283 - OBS_VAR2_NAME = TMP OBS_VAR2_LEVELS = P700 OBS_VAR2_THRESH = ge273, ge278, ge283 @@ -196,7 +194,6 @@ OBS_VAR2_THRESH = ge273, ge278, ge283 FCST_VAR3_NAME = TMP_P500_ENS_MEAN FCST_VAR3_LEVELS = P500 FCST_VAR3_THRESH = ge258, ge263, ge268 - OBS_VAR3_NAME = TMP OBS_VAR3_LEVELS = P500 OBS_VAR3_THRESH = ge258, ge263, ge268 @@ -204,7 +201,6 @@ OBS_VAR3_THRESH = ge258, ge263, ge268 FCST_VAR4_NAME = DPT_P850_ENS_MEAN FCST_VAR4_LEVELS = P850 FCST_VAR4_THRESH = ge273, ge278, ge283 - OBS_VAR4_NAME = DPT OBS_VAR4_LEVELS = P850 OBS_VAR4_THRESH = ge273, ge278, ge283 @@ -212,7 +208,6 @@ OBS_VAR4_THRESH = ge273, ge278, ge283 FCST_VAR5_NAME = DPT_P700_ENS_MEAN FCST_VAR5_LEVELS = P700 FCST_VAR5_THRESH = ge263, ge286, ge273 - OBS_VAR5_NAME = DPT OBS_VAR5_LEVELS = P700 OBS_VAR5_THRESH = ge263, ge286, ge273 @@ -220,7 +215,6 @@ OBS_VAR5_THRESH = ge263, ge286, ge273 FCST_VAR6_NAME = WIND_P850_ENS_MEAN FCST_VAR6_LEVELS = P850 FCST_VAR6_THRESH = ge5, ge10, ge15 - OBS_VAR6_NAME = WIND OBS_VAR6_LEVELS = P850 OBS_VAR6_THRESH = ge5, ge10, ge15 @@ -228,7 +222,6 @@ OBS_VAR6_THRESH = ge5, ge10, ge15 FCST_VAR7_NAME = WIND_P700_ENS_MEAN FCST_VAR7_LEVELS = P700 FCST_VAR7_THRESH = ge10, ge15, ge20 - OBS_VAR7_NAME = WIND OBS_VAR7_LEVELS = P700 OBS_VAR7_THRESH = ge10, ge15, ge20 @@ -236,7 +229,6 @@ OBS_VAR7_THRESH = ge10, ge15, ge20 FCST_VAR8_NAME = WIND_P500_ENS_MEAN FCST_VAR8_LEVELS = P500 FCST_VAR8_THRESH = ge15, ge21, ge26 - OBS_VAR8_NAME = WIND OBS_VAR8_LEVELS = P500 OBS_VAR8_THRESH = ge15, ge21, ge26 @@ -244,7 +236,6 @@ OBS_VAR8_THRESH = ge15, ge21, ge26 FCST_VAR9_NAME = WIND_P250_ENS_MEAN FCST_VAR9_LEVELS = P250 FCST_VAR9_THRESH = ge26, ge31, ge46, ge62 - OBS_VAR9_NAME = WIND OBS_VAR9_LEVELS = P250 OBS_VAR9_THRESH = ge26, ge31, ge46, ge62 @@ -252,29 +243,26 @@ OBS_VAR9_THRESH = ge26, ge31, ge46, ge62 FCST_VAR10_NAME = HGT_P500_ENS_MEAN FCST_VAR10_LEVELS = P500 FCST_VAR10_THRESH = ge5400, ge5600, ge5880 - OBS_VAR10_NAME = HGT OBS_VAR10_LEVELS = P500 OBS_VAR10_THRESH = ge5400, ge5600, ge5880 FCST_VAR11_NAME = CAPE_L0_ENS_MEAN FCST_VAR11_LEVELS = L0 -FCST_VAR11_OPTIONS = cnt_thresh = [ >0 ]; FCST_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 - +FCST_VAR11_OPTIONS = cnt_thresh = [ >0 ]; OBS_VAR11_NAME = CAPE OBS_VAR11_LEVELS = L0-100000 -OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; OBS_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 +OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; FCST_VAR12_NAME = HPBL_Z0_ENS_MEAN FCST_VAR12_LEVELS = Z0 FCST_VAR12_THRESH = lt500, lt1500, gt1500 - OBS_VAR12_NAME = PBL OBS_VAR12_LEVELS = L0 -OBS_VAR12_OPTIONS = desc = "TKE"; OBS_VAR12_THRESH = lt500, lt1500, gt1500 +OBS_VAR12_OPTIONS = desc = "TKE"; # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index eec022711f..fd87072456 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -182,7 +182,6 @@ POINT_STAT_ONCE_PER_FIELD = False FCST_VAR1_NAME = TMP_Z2_ENS_FREQ_ge268 FCST_VAR1_LEVELS = Z2 FCST_VAR1_THRESH = ==0.1 - OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = Z2 OBS_VAR1_THRESH = ge268 @@ -190,7 +189,6 @@ OBS_VAR1_THRESH = ge268 FCST_VAR2_NAME = TMP_Z2_ENS_FREQ_ge273 FCST_VAR2_LEVELS = Z2 FCST_VAR2_THRESH = ==0.1 - OBS_VAR2_NAME = TMP OBS_VAR2_LEVELS = Z2 OBS_VAR2_THRESH = ge273 @@ -198,7 +196,6 @@ OBS_VAR2_THRESH = ge273 FCST_VAR3_NAME = TMP_Z2_ENS_FREQ_ge278 FCST_VAR3_LEVELS = Z2 FCST_VAR3_THRESH = ==0.1 - OBS_VAR3_NAME = TMP OBS_VAR3_LEVELS = Z2 OBS_VAR3_THRESH = ge278 @@ -206,7 +203,6 @@ OBS_VAR3_THRESH = ge278 FCST_VAR4_NAME = TMP_Z2_ENS_FREQ_ge293 FCST_VAR4_LEVELS = Z2 FCST_VAR4_THRESH = ==0.1 - OBS_VAR4_NAME = TMP OBS_VAR4_LEVELS = Z2 OBS_VAR4_THRESH = ge293 @@ -214,7 +210,6 @@ OBS_VAR4_THRESH = ge293 FCST_VAR5_NAME = TMP_Z2_ENS_FREQ_ge298 FCST_VAR5_LEVELS = Z2 FCST_VAR5_THRESH = ==0.1 - OBS_VAR5_NAME = TMP OBS_VAR5_LEVELS = Z2 OBS_VAR5_THRESH = ge298 @@ -222,7 +217,6 @@ OBS_VAR5_THRESH = ge298 FCST_VAR6_NAME = TMP_Z2_ENS_FREQ_ge303 FCST_VAR6_LEVELS = Z2 FCST_VAR6_THRESH = ==0.1 - OBS_VAR6_NAME = TMP OBS_VAR6_LEVELS = Z2 OBS_VAR6_THRESH = ge303 @@ -230,7 +224,6 @@ OBS_VAR6_THRESH = ge303 FCST_VAR7_NAME = DPT_Z2_ENS_FREQ_ge263 FCST_VAR7_LEVELS = Z2 FCST_VAR7_THRESH = ==0.1 - OBS_VAR7_NAME = DPT OBS_VAR7_LEVELS = Z2 OBS_VAR7_THRESH = ge263 @@ -238,7 +231,6 @@ OBS_VAR7_THRESH = ge263 FCST_VAR8_NAME = DPT_Z2_ENS_FREQ_ge268 FCST_VAR8_LEVELS = Z2 FCST_VAR8_THRESH = ==0.1 - OBS_VAR8_NAME = DPT OBS_VAR8_LEVELS = Z2 OBS_VAR8_THRESH = ge268 @@ -246,7 +238,6 @@ OBS_VAR8_THRESH = ge268 FCST_VAR9_NAME = DPT_Z2_ENS_FREQ_ge273 FCST_VAR9_LEVELS = Z2 FCST_VAR9_THRESH = ==0.1 - OBS_VAR9_NAME = DPT OBS_VAR9_LEVELS = Z2 OBS_VAR9_THRESH = ge273 @@ -254,7 +245,6 @@ OBS_VAR9_THRESH = ge273 FCST_VAR10_NAME = DPT_Z2_ENS_FREQ_ge288 FCST_VAR10_LEVELS = Z2 FCST_VAR10_THRESH = ==0.1 - OBS_VAR10_NAME = DPT OBS_VAR10_LEVELS = Z2 OBS_VAR10_THRESH = ge288 @@ -262,7 +252,6 @@ OBS_VAR10_THRESH = ge288 FCST_VAR11_NAME = DPT_Z2_ENS_FREQ_ge293 FCST_VAR11_LEVELS = Z2 FCST_VAR11_THRESH = ==0.1 - OBS_VAR11_NAME = DPT OBS_VAR11_LEVELS = Z2 OBS_VAR11_THRESH = ge293 @@ -270,7 +259,6 @@ OBS_VAR11_THRESH = ge293 FCST_VAR12_NAME = DPT_Z2_ENS_FREQ_ge298 FCST_VAR12_LEVELS = Z2 FCST_VAR12_THRESH = ==0.1 - OBS_VAR12_NAME = DPT OBS_VAR12_LEVELS = Z2 OBS_VAR12_THRESH = ge298 @@ -278,7 +266,6 @@ OBS_VAR12_THRESH = ge298 FCST_VAR13_NAME = WIND_Z10_ENS_FREQ_ge5 FCST_VAR13_LEVELS = Z10 FCST_VAR13_THRESH = ==0.1 - OBS_VAR13_NAME = WIND OBS_VAR13_LEVELS = Z10 OBS_VAR13_THRESH = ge5 @@ -286,7 +273,6 @@ OBS_VAR13_THRESH = ge5 FCST_VAR14_NAME = WIND_Z10_ENS_FREQ_ge10 FCST_VAR14_LEVELS = Z10 FCST_VAR14_THRESH = ==0.1 - OBS_VAR14_NAME = WIND OBS_VAR14_LEVELS = Z10 OBS_VAR14_THRESH = ge10 @@ -294,7 +280,6 @@ OBS_VAR14_THRESH = ge10 FCST_VAR15_NAME = WIND_Z10_ENS_FREQ_ge15 FCST_VAR15_LEVELS = Z10 FCST_VAR15_THRESH = ==0.1 - OBS_VAR15_NAME = WIND OBS_VAR15_LEVELS = Z10 OBS_VAR15_THRESH = ge15 @@ -302,7 +287,6 @@ OBS_VAR15_THRESH = ge15 FCST_VAR16_NAME = TCDC_L0_ENS_FREQ_lt25 FCST_VAR16_LEVELS = L0 FCST_VAR16_THRESH = ==0.1 - OBS_VAR16_NAME = TCDC OBS_VAR16_LEVELS = L0 OBS_VAR16_THRESH = lt25 @@ -310,7 +294,6 @@ OBS_VAR16_THRESH = lt25 FCST_VAR17_NAME = TCDC_L0_ENS_FREQ_gt75 FCST_VAR17_LEVELS = L0 FCST_VAR17_THRESH = ==0.1 - OBS_VAR17_NAME = TCDC OBS_VAR17_LEVELS = L0 OBS_VAR17_THRESH = gt75 @@ -319,7 +302,6 @@ FCST_VAR18_NAME = VIS_L0_ENS_FREQ_lt1609 FCST_VAR18_LEVELS = L0 FCST_VAR18_THRESH = ==0.1 FCST_VAR18_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } - OBS_VAR18_NAME = VIS OBS_VAR18_LEVELS = L0 OBS_VAR18_THRESH = lt1609 @@ -329,7 +311,6 @@ FCST_VAR19_NAME = VIS_L0_ENS_FREQ_lt8045 FCST_VAR19_LEVELS = L0 FCST_VAR19_THRESH = ==0.1 FCST_VAR19_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } - OBS_VAR19_NAME = VIS OBS_VAR19_LEVELS = L0 OBS_VAR19_THRESH = lt8045 @@ -339,7 +320,6 @@ FCST_VAR20_NAME = VIS_L0_ENS_FREQ_ge8045 FCST_VAR20_LEVELS = L0 FCST_VAR20_THRESH = ==0.1 FCST_VAR20_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ]; } - OBS_VAR20_NAME = VIS OBS_VAR20_LEVELS = L0 OBS_VAR20_THRESH = ge8045 @@ -349,31 +329,31 @@ FCST_VAR21_NAME = HGT_L0_ENS_FREQ_lt152 FCST_VAR21_LEVELS = L0 FCST_VAR21_THRESH = ==0.1 FCST_VAR21_OPTIONS = desc = "CEILING"; - OBS_VAR21_NAME = CEILING OBS_VAR21_LEVELS = L0 OBS_VAR21_THRESH = lt152 -OBS_VAR21_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } +OBS_VAR21_OPTIONS = GRIB_lvl_typ = 215; + interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR22_NAME = HGT_L0_ENS_FREQ_lt1520 FCST_VAR22_LEVELS = L0 FCST_VAR22_THRESH = ==0.1 FCST_VAR22_OPTIONS = desc = "CEILING"; - OBS_VAR22_NAME = CEILING OBS_VAR22_LEVELS = L0 OBS_VAR22_THRESH = lt1520 -OBS_VAR22_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } +OBS_VAR22_OPTIONS = GRIB_lvl_typ = 215; + interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR23_NAME = HGT_L0_ENS_FREQ_ge914 FCST_VAR23_LEVELS = L0 FCST_VAR23_THRESH = ==0.1 FCST_VAR23_OPTIONS = desc = "CEILING"; - OBS_VAR23_NAME = CEILING OBS_VAR23_LEVELS = L0 OBS_VAR23_THRESH = ge914 -OBS_VAR23_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } +OBS_VAR23_OPTIONS = GRIB_lvl_typ = 215; + interp = { type = [ { method = NEAREST; width = 1; } ]; } # Forecast data description variables FCST_IS_PROB = True diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index a74a4fe12c..9bc063c9c9 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -181,7 +181,6 @@ POINT_STAT_ONCE_PER_FIELD = False FCST_VAR1_NAME = TMP_P850_ENS_FREQ_ge288 FCST_VAR1_LEVELS = P850 FCST_VAR1_THRESH = ==0.1 - OBS_VAR1_NAME = TMP OBS_VAR1_LEVELS = P850 OBS_VAR1_THRESH = ge288 @@ -189,7 +188,6 @@ OBS_VAR1_THRESH = ge288 FCST_VAR2_NAME = TMP_P850_ENS_FREQ_ge293 FCST_VAR2_LEVELS = P850 FCST_VAR2_THRESH = ==0.1 - OBS_VAR2_NAME = TMP OBS_VAR2_LEVELS = P850 OBS_VAR2_THRESH = ge293 @@ -197,7 +195,6 @@ OBS_VAR2_THRESH = ge293 FCST_VAR3_NAME = TMP_P850_ENS_FREQ_ge298 FCST_VAR3_LEVELS = P850 FCST_VAR3_THRESH = ==0.1 - OBS_VAR3_NAME = TMP OBS_VAR3_LEVELS = P850 OBS_VAR3_THRESH = ge298 @@ -205,7 +202,6 @@ OBS_VAR3_THRESH = ge298 FCST_VAR4_NAME = TMP_P700_ENS_FREQ_ge273 FCST_VAR4_LEVELS = P700 FCST_VAR4_THRESH = ==0.1 - OBS_VAR4_NAME = TMP OBS_VAR4_LEVELS = P700 OBS_VAR4_THRESH = ge273 @@ -213,7 +209,6 @@ OBS_VAR4_THRESH = ge273 FCST_VAR5_NAME = TMP_P700_ENS_FREQ_ge278 FCST_VAR5_LEVELS = P700 FCST_VAR5_THRESH = ==0.1 - OBS_VAR5_NAME = TMP OBS_VAR5_LEVELS = P700 OBS_VAR5_THRESH = ge278 @@ -221,7 +216,6 @@ OBS_VAR5_THRESH = ge278 FCST_VAR6_NAME = TMP_P700_ENS_FREQ_ge283 FCST_VAR6_LEVELS = P700 FCST_VAR6_THRESH = ==0.1 - OBS_VAR6_NAME = TMP OBS_VAR6_LEVELS = P700 OBS_VAR6_THRESH = ge283 @@ -229,7 +223,6 @@ OBS_VAR6_THRESH = ge283 FCST_VAR7_NAME = TMP_P500_ENS_FREQ_ge258 FCST_VAR7_LEVELS = P500 FCST_VAR7_THRESH = ==0.1 - OBS_VAR7_NAME = TMP OBS_VAR7_LEVELS = P500 OBS_VAR7_THRESH = ge258 @@ -237,7 +230,6 @@ OBS_VAR7_THRESH = ge258 FCST_VAR8_NAME = TMP_P500_ENS_FREQ_ge263 FCST_VAR8_LEVELS = P500 FCST_VAR8_THRESH = ==0.1 - OBS_VAR8_NAME = TMP OBS_VAR8_LEVELS = P500 OBS_VAR8_THRESH = ge263 @@ -245,7 +237,6 @@ OBS_VAR8_THRESH = ge263 FCST_VAR9_NAME = TMP_P500_ENS_FREQ_ge268 FCST_VAR9_LEVELS = P500 FCST_VAR9_THRESH = ==0.1 - OBS_VAR9_NAME = TMP OBS_VAR9_LEVELS = P500 OBS_VAR9_THRESH = ge268 @@ -253,7 +244,6 @@ OBS_VAR9_THRESH = ge268 FCST_VAR10_NAME = DPT_P850_ENS_FREQ_ge273 FCST_VAR10_LEVELS = P850 FCST_VAR10_THRESH = ==0.1 - OBS_VAR10_NAME = DPT OBS_VAR10_LEVELS = P850 OBS_VAR10_THRESH = ge273 @@ -261,7 +251,6 @@ OBS_VAR10_THRESH = ge273 FCST_VAR11_NAME = DPT_P850_ENS_FREQ_ge278 FCST_VAR11_LEVELS = P850 FCST_VAR11_THRESH = ==0.1 - OBS_VAR11_NAME = DPT OBS_VAR11_LEVELS = P850 OBS_VAR11_THRESH = ge278 @@ -269,7 +258,6 @@ OBS_VAR11_THRESH = ge278 FCST_VAR12_NAME = DPT_P850_ENS_FREQ_ge283 FCST_VAR12_LEVELS = P850 FCST_VAR12_THRESH = ==0.1 - OBS_VAR12_NAME = DPT OBS_VAR12_LEVELS = P850 OBS_VAR12_THRESH = ge283 @@ -277,7 +265,6 @@ OBS_VAR12_THRESH = ge283 FCST_VAR13_NAME = DPT_P700_ENS_FREQ_ge263 FCST_VAR13_LEVELS = P700 FCST_VAR13_THRESH = ==0.1 - OBS_VAR13_NAME = DPT OBS_VAR13_LEVELS = P700 OBS_VAR13_THRESH = ge263 @@ -285,7 +272,6 @@ OBS_VAR13_THRESH = ge263 FCST_VAR14_NAME = DPT_P700_ENS_FREQ_ge268 FCST_VAR14_LEVELS = P700 FCST_VAR14_THRESH = ==0.1 - OBS_VAR14_NAME = DPT OBS_VAR14_LEVELS = P700 OBS_VAR14_THRESH = ge268 @@ -293,7 +279,6 @@ OBS_VAR14_THRESH = ge268 FCST_VAR15_NAME = DPT_P700_ENS_FREQ_ge273 FCST_VAR15_LEVELS = P700 FCST_VAR15_THRESH = ==0.1 - OBS_VAR15_NAME = DPT OBS_VAR15_LEVELS = P700 OBS_VAR15_THRESH = ge273 @@ -301,7 +286,6 @@ OBS_VAR15_THRESH = ge273 FCST_VAR16_NAME = WIND_P850_ENS_FREQ_ge5 FCST_VAR16_LEVELS = P850 FCST_VAR16_THRESH = ==0.1 - OBS_VAR16_NAME = WIND OBS_VAR16_LEVELS = P850 OBS_VAR16_THRESH = ge5 @@ -309,7 +293,6 @@ OBS_VAR16_THRESH = ge5 FCST_VAR17_NAME = WIND_P850_ENS_FREQ_ge10 FCST_VAR17_LEVELS = P850 FCST_VAR17_THRESH = ==0.1 - OBS_VAR17_NAME = WIND OBS_VAR17_LEVELS = P850 OBS_VAR17_THRESH = ge10 @@ -317,7 +300,6 @@ OBS_VAR17_THRESH = ge10 FCST_VAR18_NAME = WIND_P850_ENS_FREQ_ge15 FCST_VAR18_LEVELS = P850 FCST_VAR18_THRESH = ==0.1 - OBS_VAR18_NAME = WIND OBS_VAR18_LEVELS = P850 OBS_VAR18_THRESH = ge15 @@ -325,7 +307,6 @@ OBS_VAR18_THRESH = ge15 FCST_VAR19_NAME = WIND_P700_ENS_FREQ_ge10 FCST_VAR19_LEVELS = P700 FCST_VAR19_THRESH = ==0.1 - OBS_VAR19_NAME = WIND OBS_VAR19_LEVELS = P700 OBS_VAR19_THRESH = ge10 @@ -333,7 +314,6 @@ OBS_VAR19_THRESH = ge10 FCST_VAR20_NAME = WIND_P700_ENS_FREQ_ge15 FCST_VAR20_LEVELS = P700 FCST_VAR20_THRESH = ==0.1 - OBS_VAR20_NAME = WIND OBS_VAR20_LEVELS = P700 OBS_VAR20_THRESH = ge15 @@ -341,7 +321,6 @@ OBS_VAR20_THRESH = ge15 FCST_VAR21_NAME = WIND_P700_ENS_FREQ_ge20 FCST_VAR21_LEVELS = P700 FCST_VAR21_THRESH = ==0.1 - OBS_VAR21_NAME = WIND OBS_VAR21_LEVELS = P700 OBS_VAR21_THRESH = ge20 @@ -349,7 +328,6 @@ OBS_VAR21_THRESH = ge20 FCST_VAR22_NAME = WIND_P500_ENS_FREQ_ge15 FCST_VAR22_LEVELS = P500 FCST_VAR22_THRESH = ==0.1 - OBS_VAR22_NAME = WIND OBS_VAR22_LEVELS = P500 OBS_VAR22_THRESH = ge15 @@ -357,7 +335,6 @@ OBS_VAR22_THRESH = ge15 FCST_VAR23_NAME = WIND_P500_ENS_FREQ_ge21 FCST_VAR23_LEVELS = P500 FCST_VAR23_THRESH = ==0.1 - OBS_VAR23_NAME = WIND OBS_VAR23_LEVELS = P500 OBS_VAR23_THRESH = ge21 @@ -365,7 +342,6 @@ OBS_VAR23_THRESH = ge21 FCST_VAR24_NAME = WIND_P500_ENS_FREQ_ge26 FCST_VAR24_LEVELS = P500 FCST_VAR24_THRESH = ==0.1 - OBS_VAR24_NAME = WIND OBS_VAR24_LEVELS = P500 OBS_VAR24_THRESH = ge26 @@ -373,7 +349,6 @@ OBS_VAR24_THRESH = ge26 FCST_VAR25_NAME = WIND_P250_ENS_FREQ_ge26 FCST_VAR25_LEVELS = P250 FCST_VAR25_THRESH = ==0.1 - OBS_VAR25_NAME = WIND OBS_VAR25_LEVELS = P250 OBS_VAR25_THRESH = ge26 @@ -381,7 +356,6 @@ OBS_VAR25_THRESH = ge26 FCST_VAR26_NAME = WIND_P250_ENS_FREQ_ge31 FCST_VAR26_LEVELS = P250 FCST_VAR26_THRESH = ==0.1 - OBS_VAR26_NAME = WIND OBS_VAR26_LEVELS = P250 OBS_VAR26_THRESH = ge31 @@ -389,7 +363,6 @@ OBS_VAR26_THRESH = ge31 FCST_VAR27_NAME = WIND_P250_ENS_FREQ_ge36 FCST_VAR27_LEVELS = P250 FCST_VAR27_THRESH = ==0.1 - OBS_VAR27_NAME = WIND OBS_VAR27_LEVELS = P250 OBS_VAR27_THRESH = ge36 @@ -397,7 +370,6 @@ OBS_VAR27_THRESH = ge36 FCST_VAR28_NAME = WIND_P250_ENS_FREQ_ge46 FCST_VAR28_LEVELS = P250 FCST_VAR28_THRESH = ==0.1 - OBS_VAR28_NAME = WIND OBS_VAR28_LEVELS = P250 OBS_VAR28_THRESH = ge46 @@ -405,7 +377,6 @@ OBS_VAR28_THRESH = ge46 FCST_VAR29_NAME = WIND_P250_ENS_FREQ_ge62 FCST_VAR29_LEVELS = P250 FCST_VAR29_THRESH = ==0.1 - OBS_VAR29_NAME = WIND OBS_VAR29_LEVELS = P250 OBS_VAR29_THRESH = ge62 @@ -413,7 +384,6 @@ OBS_VAR29_THRESH = ge62 FCST_VAR30_NAME = HGT_P500_ENS_FREQ_ge5400 FCST_VAR30_LEVELS = P500 FCST_VAR30_THRESH = ==0.1 - OBS_VAR30_NAME = HGT OBS_VAR30_LEVELS = P500 OBS_VAR30_THRESH = ge5400 @@ -421,7 +391,6 @@ OBS_VAR30_THRESH = ge5400 FCST_VAR31_NAME = HGT_P500_ENS_FREQ_ge5600 FCST_VAR31_LEVELS = P500 FCST_VAR31_THRESH = ==0.1 - OBS_VAR31_NAME = HGT OBS_VAR31_LEVELS = P500 OBS_VAR31_THRESH = ge5600 @@ -429,7 +398,6 @@ OBS_VAR31_THRESH = ge5600 FCST_VAR32_NAME = HGT_P500_ENS_FREQ_ge5880 FCST_VAR32_LEVELS = P500 FCST_VAR32_THRESH = ==0.1 - OBS_VAR32_NAME = HGT OBS_VAR32_LEVELS = P500 OBS_VAR32_THRESH = ge5880 @@ -437,65 +405,62 @@ OBS_VAR32_THRESH = ge5880 FCST_VAR33_NAME = CAPE_L0_ENS_FREQ_le1000 FCST_VAR33_LEVELS = L0 FCST_VAR33_THRESH = ==0.1 - OBS_VAR33_NAME = CAPE OBS_VAR33_LEVELS = L0-100000 -OBS_VAR33_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; OBS_VAR33_THRESH = le1000 +OBS_VAR33_OPTIONS = cnt_thresh = [ >0 ]; + cnt_logic = UNION; FCST_VAR34_NAME = CAPE_L0_ENS_FREQ_gt1000.and.lt2500 FCST_VAR34_LEVELS = L0 FCST_VAR34_THRESH = ==0.1 - OBS_VAR34_NAME = CAPE OBS_VAR34_LEVELS = L0-100000 -OBS_VAR34_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; OBS_VAR34_THRESH = gt1000&<2500 +OBS_VAR34_OPTIONS = cnt_thresh = [ >0 ]; + cnt_logic = UNION; FCST_VAR35_NAME = CAPE_L0_ENS_FREQ_gt2500.and.lt4000 FCST_VAR35_LEVELS = L0 FCST_VAR35_THRESH = ==0.1 - OBS_VAR35_NAME = CAPE OBS_VAR35_LEVELS = L0-100000 -OBS_VAR35_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; OBS_VAR35_THRESH = gt2500&<4000 +OBS_VAR35_OPTIONS = cnt_thresh = [ >0 ]; + cnt_logic = UNION; FCST_VAR36_NAME = CAPE_L0_ENS_FREQ_gt2500 FCST_VAR36_LEVELS = L0 FCST_VAR36_THRESH = ==0.1 - OBS_VAR36_NAME = CAPE OBS_VAR36_LEVELS = L0-100000 -OBS_VAR36_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; +OBS_VAR36_OPTIONS = cnt_thresh = [ >0 ]; + cnt_logic = UNION; OBS_VAR36_THRESH = gt2500 FCST_VAR37_NAME = HPBL_Z0_ENS_FREQ_lt500 FCST_VAR37_LEVELS = Z0 FCST_VAR37_THRESH = ==0.1 - OBS_VAR37_NAME = PBL OBS_VAR37_LEVELS = L0 -OBS_VAR37_OPTIONS = desc = "TKE"; OBS_VAR37_THRESH = lt500 +OBS_VAR37_OPTIONS = desc = "TKE"; FCST_VAR38_NAME = HPBL_Z0_ENS_FREQ_lt1500 FCST_VAR38_LEVELS = Z0 FCST_VAR38_THRESH = ==0.1 - OBS_VAR38_NAME = PBL OBS_VAR38_LEVELS = L0 -OBS_VAR38_OPTIONS = desc = "TKE"; OBS_VAR38_THRESH = lt1500 +OBS_VAR38_OPTIONS = desc = "TKE"; FCST_VAR39_NAME = HPBL_Z0_ENS_FREQ_gt1500 FCST_VAR39_LEVELS = Z0 FCST_VAR39_THRESH = ==0.1 - OBS_VAR39_NAME = PBL OBS_VAR39_LEVELS = L0 -OBS_VAR39_OPTIONS = desc = "TKE"; OBS_VAR39_THRESH = gt1500 +OBS_VAR39_OPTIONS = desc = "TKE"; # Forecast data description variables FCST_IS_PROB = True From cd7b49fadbc62ab3da1c0559357c6505e182c4ec Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 8 Nov 2023 15:50:32 -0700 Subject: [PATCH 07/69] Bug fixes after first round of testing. --- scripts/exregional_run_met_genensprod_or_ensemblestat.sh | 2 +- scripts/exregional_run_met_gridstat_or_pointstat_vx.sh | 2 +- scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh | 2 +- scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh | 2 +- scripts/exregional_run_met_pb2nc_obs.sh | 2 +- .../config.custom_ESGgrid_Great_Lakes_snow_8km.yaml | 2 +- ush/valid_param_vals.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index 9ccb2d1b25..1e1d9173e2 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -204,7 +204,7 @@ if [ "${grid_or_point}" = "grid" ]; then elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_SFCorUPA_FN_METPROC_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) FCST_INPUT_DIR="${vx_fcst_input_basedir}" fi diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index 46c93ee299..d107b83a9b 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -240,7 +240,7 @@ if [ "${grid_or_point}" = "grid" ]; then elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_SFCorUPA_FN_METPROC_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) FCST_INPUT_DIR="${vx_fcst_input_basedir}" FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE} ) diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index bf3a8280a1..e8a61df562 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -193,7 +193,7 @@ if [ "${grid_or_point}" = "grid" ]; then elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_SFCorUPA_FN_METPROC_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_ADP${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh index 89c128eeed..28f88b2f80 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh @@ -149,7 +149,7 @@ if [ "${grid_or_point}" = "grid" ]; then elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_SFCorUPA_FN_METPROC_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_ADP${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) diff --git a/scripts/exregional_run_met_pb2nc_obs.sh b/scripts/exregional_run_met_pb2nc_obs.sh index be0f0a2b91..7832babc07 100755 --- a/scripts/exregional_run_met_pb2nc_obs.sh +++ b/scripts/exregional_run_met_pb2nc_obs.sh @@ -110,7 +110,7 @@ set_vx_params \ vx_output_basedir=$( eval echo "${VX_OUTPUT_BASEDIR}" ) OBS_INPUT_DIR="${OBS_DIR}" -OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_SFCorUPA_FN_TEMPLATE} ) +OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE} ) OUTPUT_BASE="${vx_output_basedir}" OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}_obs" diff --git a/tests/WE2E/test_configs/custom_grids/config.custom_ESGgrid_Great_Lakes_snow_8km.yaml b/tests/WE2E/test_configs/custom_grids/config.custom_ESGgrid_Great_Lakes_snow_8km.yaml index b604cbc06d..da349278ce 100644 --- a/tests/WE2E/test_configs/custom_grids/config.custom_ESGgrid_Great_Lakes_snow_8km.yaml +++ b/tests/WE2E/test_configs/custom_grids/config.custom_ESGgrid_Great_Lakes_snow_8km.yaml @@ -56,7 +56,7 @@ task_run_post: POST_OUTPUT_DOMAIN_NAME: custom_ESGgrid_Michigan_Ontario verification: VX_FCST_MODEL_NAME: Michigan_Ontario_snow_8km - VX_FIELDS: [ "APCP", "REFC", "RETOP", "SFC", "UPA", "ASNOW" ] + VX_FIELDS: [ "APCP", "REFC", "RETOP", "ADPSFC", "ADPUPA", "ASNOW" ] platform: CCPA_OBS_DIR: '{{ workflow.EXPTDIR }}/CCPA_obs' MRMS_OBS_DIR: '{{ workflow.EXPTDIR }}/MRMS_obs' diff --git a/ush/valid_param_vals.yaml b/ush/valid_param_vals.yaml index f62c8dcdef..7b1c2f7b9b 100644 --- a/ush/valid_param_vals.yaml +++ b/ush/valid_param_vals.yaml @@ -78,6 +78,6 @@ valid_vals_DO_AQM_CHEM_LBCS: [True, False] valid_vals_DO_AQM_GEFS_LBCS: [True, False] valid_vals_DO_AQM_SAVE_AIRNOW_HIST: [True, False] valid_vals_COLDSTART: [True, False] -valid_vals_VX_FIELDS: [ "APCP", "ASNOW", "REFC", "RETOP", "SFC", "UPA" ] +valid_vals_VX_FIELDS: [ "APCP", "ASNOW", "REFC", "RETOP", "ADPSFC", "ADPUPA" ] valid_vals_VX_APCP_ACCUMS_HRS: [ 1, 3, 6, 24 ] valid_vals_VX_ASNOW_ACCUMS_HRS: [ 6, 24 ] From 5d165824836429dbd538ca54a9c2254656ffa616 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 8 Nov 2023 16:48:02 -0700 Subject: [PATCH 08/69] More bug fixes after first round of testing. --- scripts/exregional_run_met_genensprod_or_ensemblestat.sh | 2 ++ scripts/exregional_run_met_gridstat_or_pointstat_vx.sh | 6 ++++-- .../exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh | 4 +++- .../exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index 1e1d9173e2..a80e62bcc3 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -321,6 +321,8 @@ fi # if [ "${field_is_APCPgt01h}" = "TRUE" ]; then metplus_config_tmpl_fn="APCPgt01h" +elif [ "${VAR}" = "ASNOW" ]; then + metplus_config_tmpl_fn="${VAR}" else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index d107b83a9b..14298f621b 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -144,7 +144,7 @@ if [ "${grid_or_point}" = "grid" ]; then "APCP24h") FIELD_THRESHOLDS="gt0.0, ge0.254, ge0.508, ge1.27, ge2.54, ge3.810, ge6.350, ge8.890, ge12.700, ge25.400" ;; - "ASNOW") + "ASNOW"*) FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" ;; "REFC") @@ -218,7 +218,7 @@ if [ "${grid_or_point}" = "grid" ]; then FCST_INPUT_DIR="${vx_fcst_input_basedir}" FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE} ) ;; - "ASNOW") + "ASNOW"*) OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}/metprd/PcpCombine_fcst" FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_FN_METPROC_TEMPLATE} ) @@ -322,6 +322,8 @@ fi # if [ "${field_is_APCPgt01h}" = "TRUE" ]; then metplus_config_tmpl_fn="APCPgt01h" +elif [ "${VAR}" = "ASNOW" ]; then + metplus_config_tmpl_fn="${VAR}" else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index e8a61df562..f0a0e1beb0 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -195,7 +195,7 @@ elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_ADP${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) + FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) fi @@ -284,6 +284,8 @@ fi # if [ "${field_is_APCPgt01h}" = "TRUE" ]; then metplus_config_tmpl_fn="APCPgt01h" +elif [ "${VAR}" = "ASNOW" ]; then + metplus_config_tmpl_fn="${VAR}" else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh index 28f88b2f80..fe5f60eb80 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh @@ -151,7 +151,7 @@ elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_ADP${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) + FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) fi @@ -243,6 +243,8 @@ if [ "${field_is_APCPgt01h}" = "TRUE" ]; then # for probabilistic ensemble vx tasks yet... # metplus_config_tmpl_fn="APCPgt01h" metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" +elif [ "${VAR}" = "ASNOW" ]; then + metplus_config_tmpl_fn="${VAR}" else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi From fa51d0a25bdfbd95b57d116afececca08a36b36a Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 9 Nov 2023 09:28:24 -0700 Subject: [PATCH 09/69] Use a workflow variable to set the log level in the METplus log files. --- parm/metplus/EnsembleStat_ADPSFC.conf | 6 ++---- parm/metplus/EnsembleStat_ADPUPA.conf | 6 ++---- parm/metplus/EnsembleStat_APCP01h.conf | 6 ++---- parm/metplus/EnsembleStat_APCPgt01h.conf | 6 ++---- parm/metplus/EnsembleStat_ASNOW.conf | 6 ++---- parm/metplus/EnsembleStat_REFC.conf | 6 ++---- parm/metplus/EnsembleStat_RETOP.conf | 6 ++---- parm/metplus/GenEnsProd_ADPSFC.conf | 6 ++---- parm/metplus/GenEnsProd_ADPUPA.conf | 6 ++---- parm/metplus/GenEnsProd_APCP01h.conf | 6 ++---- parm/metplus/GenEnsProd_APCPgt01h.conf | 6 ++---- parm/metplus/GenEnsProd_ASNOW.conf | 6 ++---- parm/metplus/GenEnsProd_REFC.conf | 6 ++---- parm/metplus/GenEnsProd_RETOP.conf | 6 ++---- parm/metplus/GridStat_APCP01h.conf | 4 ++-- parm/metplus/GridStat_APCPgt01h.conf | 4 ++-- parm/metplus/GridStat_ASNOW.conf | 4 ++-- parm/metplus/GridStat_REFC.conf | 4 ++-- parm/metplus/GridStat_RETOP.conf | 4 ++-- parm/metplus/GridStat_ensmean_APCP01h.conf | 4 ++-- parm/metplus/GridStat_ensmean_APCPgt01h.conf | 4 ++-- parm/metplus/GridStat_ensmean_ASNOW.conf | 4 ++-- parm/metplus/GridStat_ensmean_REFC.conf | 4 ++-- parm/metplus/GridStat_ensmean_RETOP.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP01h.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP03h.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP06h.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP24h.conf | 4 ++-- parm/metplus/GridStat_ensprob_ASNOW.conf | 4 ++-- parm/metplus/GridStat_ensprob_REFC.conf | 4 ++-- parm/metplus/GridStat_ensprob_RETOP.conf | 4 ++-- parm/metplus/Pb2nc_obs.conf | 4 ++-- parm/metplus/PointStat_ADPSFC.conf | 4 ++-- parm/metplus/PointStat_ADPUPA.conf | 4 ++-- parm/metplus/PointStat_ensmean_ADPSFC.conf | 4 ++-- parm/metplus/PointStat_ensmean_ADPUPA.conf | 4 ++-- parm/metplus/PointStat_ensprob_ADPSFC.conf | 4 ++-- parm/metplus/PointStat_ensprob_ADPUPA.conf | 4 ++-- 38 files changed, 76 insertions(+), 104 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index 28bb858e53..b35dd94386 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -71,10 +71,8 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# The METplus EnsembleStat logging level -# 0 quiet to 5 loud, Verbosity setting for METplus EnsembleStat output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -LOG_ENSEMBLE_STAT_VERBOSITY = 3 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index 1a09f84534..fa0568ac99 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -71,10 +71,8 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# The METplus EnsembleStat logging level -# 0 quiet to 5 loud, Verbosity setting for METplus EnsembleStat output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -LOG_ENSEMBLE_STAT_VERBOSITY = 3 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/EnsembleStat_APCP01h.conf b/parm/metplus/EnsembleStat_APCP01h.conf index f0b168e423..d0068f0e89 100644 --- a/parm/metplus/EnsembleStat_APCP01h.conf +++ b/parm/metplus/EnsembleStat_APCP01h.conf @@ -71,10 +71,8 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# The METplus EnsembleStat logging level -# 0 quiet to 5 loud, Verbosity setting for METplus EnsembleStat output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_ENSEMBLE_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = 0 OBS_FILE_WINDOW_END = 0 diff --git a/parm/metplus/EnsembleStat_APCPgt01h.conf b/parm/metplus/EnsembleStat_APCPgt01h.conf index 429ff151b4..351f077ed3 100644 --- a/parm/metplus/EnsembleStat_APCPgt01h.conf +++ b/parm/metplus/EnsembleStat_APCPgt01h.conf @@ -78,10 +78,8 @@ FCST_IS_PROB = false FCST_NATIVE_DATA_TYPE = GRIB OBS_NATIVE_DATA_TYPE = GRIB -# The METplus EnsembleStat logging level -# 0 quiet to 5 loud, Verbosity setting for METplus EnsembleStat output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_ENSEMBLE_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = 0 OBS_FILE_WINDOW_END = 0 diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index 23a2d84438..4b587bd31e 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -71,10 +71,8 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# The METplus EnsembleStat logging level -# 0 quiet to 5 loud, Verbosity setting for METplus EnsembleStat output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_ENSEMBLE_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = 0 OBS_FILE_WINDOW_END = 0 diff --git a/parm/metplus/EnsembleStat_REFC.conf b/parm/metplus/EnsembleStat_REFC.conf index b28b4f8540..f0a2a8bd47 100644 --- a/parm/metplus/EnsembleStat_REFC.conf +++ b/parm/metplus/EnsembleStat_REFC.conf @@ -71,10 +71,8 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# The METplus EnsembleStat logging level -# 0 quiet to 5 loud, Verbosity setting for METplus EnsembleStat output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_ENSEMBLE_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = -300 OBS_FILE_WINDOW_END = 300 diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index e6516e78ce..25e2d4d0e7 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -71,10 +71,8 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# The METplus EnsembleStat logging level -# 0 quiet to 5 loud, Verbosity setting for METplus EnsembleStat output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_ENSEMBLE_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = -300 OBS_FILE_WINDOW_END = 300 diff --git a/parm/metplus/GenEnsProd_ADPSFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf index e8b0956e13..44329274ee 100644 --- a/parm/metplus/GenEnsProd_ADPSFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -62,10 +62,8 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# The METplus GenEnsProd logging level -# 0 quiet to 5 loud, Verbosity setting for MET gen_ens_prod output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_GEN_ENS_PROD_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### # File I/O diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index 82125ad716..d0ae31dd73 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -62,10 +62,8 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# The METplus GenEnsProd logging level -# 0 quiet to 5 loud, Verbosity setting for MET gen_ens_prod output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_GEN_ENS_PROD_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### # File I/O diff --git a/parm/metplus/GenEnsProd_APCP01h.conf b/parm/metplus/GenEnsProd_APCP01h.conf index d60c8d3ce0..988699d844 100644 --- a/parm/metplus/GenEnsProd_APCP01h.conf +++ b/parm/metplus/GenEnsProd_APCP01h.conf @@ -62,10 +62,8 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# The METplus GenEnsProd logging level -# 0 quiet to 5 loud, Verbosity setting for MET gen_ens_prod output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_GEN_ENS_PROD_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### # File I/O diff --git a/parm/metplus/GenEnsProd_APCPgt01h.conf b/parm/metplus/GenEnsProd_APCPgt01h.conf index 08886087d9..ec45f78734 100644 --- a/parm/metplus/GenEnsProd_APCPgt01h.conf +++ b/parm/metplus/GenEnsProd_APCPgt01h.conf @@ -62,10 +62,8 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# The METplus GenEnsProd logging level -# 0 quiet to 5 loud, Verbosity setting for MET gen_ens_prod output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_GEN_ENS_PROD_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### # File I/O diff --git a/parm/metplus/GenEnsProd_ASNOW.conf b/parm/metplus/GenEnsProd_ASNOW.conf index 65415ff0a1..cb8e1ba3cc 100644 --- a/parm/metplus/GenEnsProd_ASNOW.conf +++ b/parm/metplus/GenEnsProd_ASNOW.conf @@ -62,10 +62,8 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# The METplus GenEnsProd logging level -# 0 quiet to 5 loud, Verbosity setting for MET gen_ens_prod output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_GEN_ENS_PROD_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### # File I/O diff --git a/parm/metplus/GenEnsProd_REFC.conf b/parm/metplus/GenEnsProd_REFC.conf index 8c02f71d64..c58a0ab3d8 100644 --- a/parm/metplus/GenEnsProd_REFC.conf +++ b/parm/metplus/GenEnsProd_REFC.conf @@ -62,10 +62,8 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# The METplus GenEnsProd logging level -# 0 quiet to 5 loud, Verbosity setting for MET gen_ens_prod output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_GEN_ENS_PROD_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### # File I/O diff --git a/parm/metplus/GenEnsProd_RETOP.conf b/parm/metplus/GenEnsProd_RETOP.conf index 111b3bfccc..c6ef61cf5e 100644 --- a/parm/metplus/GenEnsProd_RETOP.conf +++ b/parm/metplus/GenEnsProd_RETOP.conf @@ -62,10 +62,8 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# The METplus GenEnsProd logging level -# 0 quiet to 5 loud, Verbosity setting for MET gen_ens_prod output, 2 is default. -# This takes precendence over the general LOG_MET_VERBOSITY set in metplus_logging.conf -#LOG_GEN_ENS_PROD_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### # File I/O diff --git a/parm/metplus/GridStat_APCP01h.conf b/parm/metplus/GridStat_APCP01h.conf index d287041e35..b75412e095 100644 --- a/parm/metplus/GridStat_APCP01h.conf +++ b/parm/metplus/GridStat_APCP01h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_APCPgt01h.conf b/parm/metplus/GridStat_APCPgt01h.conf index 1fe5412311..67dbc883f1 100644 --- a/parm/metplus/GridStat_APCPgt01h.conf +++ b/parm/metplus/GridStat_APCPgt01h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 04a1db164a..54d91a06b8 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 159691cced..9c67260600 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 367c136a36..e68227209b 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensmean_APCP01h.conf b/parm/metplus/GridStat_ensmean_APCP01h.conf index a22660afd9..c3771e9be4 100644 --- a/parm/metplus/GridStat_ensmean_APCP01h.conf +++ b/parm/metplus/GridStat_ensmean_APCP01h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensmean_APCPgt01h.conf b/parm/metplus/GridStat_ensmean_APCPgt01h.conf index d8b38454c8..25018aa3aa 100644 --- a/parm/metplus/GridStat_ensmean_APCPgt01h.conf +++ b/parm/metplus/GridStat_ensmean_APCPgt01h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 54a590bc9a..ed8abc1675 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index 88f3e9de83..289d22d07d 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index cb033574d5..62f89ad044 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensprob_APCP01h.conf b/parm/metplus/GridStat_ensprob_APCP01h.conf index 9e2b188ec0..bb17a27b38 100644 --- a/parm/metplus/GridStat_ensprob_APCP01h.conf +++ b/parm/metplus/GridStat_ensprob_APCP01h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensprob_APCP03h.conf b/parm/metplus/GridStat_ensprob_APCP03h.conf index eb57856c99..a59ee73a44 100644 --- a/parm/metplus/GridStat_ensprob_APCP03h.conf +++ b/parm/metplus/GridStat_ensprob_APCP03h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensprob_APCP06h.conf b/parm/metplus/GridStat_ensprob_APCP06h.conf index 08a62561fb..3e96c4f12d 100644 --- a/parm/metplus/GridStat_ensprob_APCP06h.conf +++ b/parm/metplus/GridStat_ensprob_APCP06h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensprob_APCP24h.conf b/parm/metplus/GridStat_ensprob_APCP24h.conf index 7f027ae6fa..d076516847 100644 --- a/parm/metplus/GridStat_ensprob_APCP24h.conf +++ b/parm/metplus/GridStat_ensprob_APCP24h.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index ec53bda2d1..096e8dd9ec 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 5067020f45..8ab1480550 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 96fc12b277..3796cd74d6 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for GridStat only -#LOG_GRID_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/Pb2nc_obs.conf b/parm/metplus/Pb2nc_obs.conf index ae2b5e19f0..99460acb89 100644 --- a/parm/metplus/Pb2nc_obs.conf +++ b/parm/metplus/Pb2nc_obs.conf @@ -43,8 +43,8 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -LOG_POINT_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index fbc401bcca..7b29c1d0c2 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -LOG_POINT_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index e540a48a49..1ca09deab6 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -LOG_POINT_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index 2c68130019..05463b3034 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -LOG_POINT_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index 02c1946bac..eabe50e0ef 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -LOG_POINT_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index fd87072456..fcbfa267ee 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -LOG_POINT_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index 9bc063c9c9..f5cde7b9d4 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -44,8 +44,8 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -LOG_POINT_STAT_VERBOSITY = 2 +# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. # From e6fe549ad0d1d49be43b9968f33f3bc379ada184 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 9 Nov 2023 11:54:59 -0700 Subject: [PATCH 10/69] Clean up the way the METplus tool names are calculated; pass METplus tool names to template METplus conf files as variables; add new workflow variable that specifies the METplus verbosity level. --- parm/wflow/verify_det.yaml | 8 +- parm/wflow/verify_ens.yaml | 24 ++--- parm/wflow/verify_pre.yaml | 8 +- ...onal_run_met_genensprod_or_ensemblestat.sh | 32 ++++--- ...gional_run_met_gridstat_or_pointstat_vx.sh | 32 ++++--- ...un_met_gridstat_or_pointstat_vx_ensmean.sh | 32 ++++--- ...un_met_gridstat_or_pointstat_vx_ensprob.sh | 32 ++++--- scripts/exregional_run_met_pb2nc_obs.sh | 32 ++++--- scripts/exregional_run_met_pcpcombine.sh | 32 ++++--- ush/config_defaults.yaml | 7 +- ..._tool_name.sh => get_metplus_tool_name.sh} | 92 ++++++++++--------- 11 files changed, 197 insertions(+), 134 deletions(-) rename ush/{get_met_metplus_tool_name.sh => get_metplus_tool_name.sh} (56%) diff --git a/parm/wflow/verify_det.yaml b/parm/wflow/verify_det.yaml index 4d26add1e4..f4e1cd26c7 100644 --- a/parm/wflow/verify_det.yaml +++ b/parm/wflow/verify_det.yaml @@ -37,7 +37,7 @@ metatask_GridStat_CCPA_all_accums_all_mems: OBS_DIR: '&CCPA_OBS_DIR;' VAR: APCP ACCUM_HH: '#ACCUM_HH#' - MET_TOOL: 'GRIDSTAT' + METPLUSTOOLNAME: 'GRIDSTAT' OBTYPE: 'CCPA' ENSMEM_INDX: "#mem#" SLASH_ENSMEM_SUBDIR_OR_NULL: '{% if global.DO_ENSEMBLE %}{{ "/mem#mem#" }}{% endif %}' @@ -67,7 +67,7 @@ metatask_GridStat_NOHRSC_all_accums_all_mems: OBS_DIR: '&NOHRSC_OBS_DIR;' VAR: ASNOW ACCUM_HH: '#ACCUM_HH#' - MET_TOOL: 'GRIDSTAT' + METPLUSTOOLNAME: 'GRIDSTAT' OBTYPE: 'NOHRSC' ENSMEM_INDX: "#mem#" SLASH_ENSMEM_SUBDIR_OR_NULL: '{% if global.DO_ENSEMBLE %}{{ "/mem#mem#" }}{% endif %}' @@ -91,7 +91,7 @@ metatask_GridStat_MRMS_all_mems: OBS_DIR: '&MRMS_OBS_DIR;' VAR: '#VAR#' ACCUM_HH: '01' - MET_TOOL: 'GRIDSTAT' + METPLUSTOOLNAME: 'GRIDSTAT' OBTYPE: 'MRMS' ENSMEM_INDX: "#mem#" SLASH_ENSMEM_SUBDIR_OR_NULL: '{% if global.DO_ENSEMBLE %}{{ "/mem#mem#" }}{% endif %}' @@ -124,7 +124,7 @@ metatask_PointStat_NDAS_all_mems: <<: *default_vars OBS_DIR: '&NDAS_OBS_DIR;' VAR: '#VAR#' - MET_TOOL: 'POINTSTAT' + METPLUSTOOLNAME: 'POINTSTAT' OBTYPE: 'NDAS' ACCUM_HH: '01' ENSMEM_INDX: "#mem#" diff --git a/parm/wflow/verify_ens.yaml b/parm/wflow/verify_ens.yaml index 46108d929b..b5ef12537e 100644 --- a/parm/wflow/verify_ens.yaml +++ b/parm/wflow/verify_ens.yaml @@ -32,7 +32,7 @@ metatask_GenEnsProd_EnsembleStat_CCPA: ACCUM_HH: '#ACCUM_HH#' OBS_DIR: '&CCPA_OBS_DIR;' VAR: APCP - MET_TOOL: 'GENENSPROD' + METPLUSTOOLNAME: 'GENENSPROD' OBTYPE: 'CCPA' dependency: and: @@ -49,7 +49,7 @@ metatask_GenEnsProd_EnsembleStat_CCPA: <<: *task_GenEnsProd_CCPA envars: <<: *envars_GenEnsProd_CCPA - MET_TOOL: 'ENSEMBLESTAT' + METPLUSTOOLNAME: 'ENSEMBLESTAT' dependency: taskdep_genensprod: attrs: @@ -66,7 +66,7 @@ metatask_GenEnsProd_EnsembleStat_NOHRSC: ACCUM_HH: '#ACCUM_HH#' OBS_DIR: '&NOHRSC_OBS_DIR;' VAR: ASNOW - MET_TOOL: 'GENENSPROD' + METPLUSTOOLNAME: 'GENENSPROD' OBTYPE: 'NOHRSC' dependency: and: @@ -80,7 +80,7 @@ metatask_GenEnsProd_EnsembleStat_NOHRSC: <<: *task_GenEnsProd_NOHRSC envars: <<: *envars_GenEnsProd_NOHRSC - MET_TOOL: 'ENSEMBLESTAT' + METPLUSTOOLNAME: 'ENSEMBLESTAT' dependency: taskdep_genensprod: attrs: @@ -97,7 +97,7 @@ metatask_GenEnsProd_EnsembleStat_MRMS: ACCUM_HH: '01' OBS_DIR: '&MRMS_OBS_DIR;' VAR: '#VAR#' - MET_TOOL: 'GENENSPROD' + METPLUSTOOLNAME: 'GENENSPROD' OBTYPE: 'MRMS' dependency: and: @@ -117,7 +117,7 @@ metatask_GenEnsProd_EnsembleStat_MRMS: <<: *task_GenEnsProd_MRMS envars: <<: *envars_GenEnsProd_MRMS - MET_TOOL: 'ENSEMBLESTAT' + METPLUSTOOLNAME: 'ENSEMBLESTAT' dependency: taskdep: attrs: @@ -133,7 +133,7 @@ metatask_GenEnsProd_EnsembleStat_NDAS: <<: *default_vars OBS_DIR: '&NDAS_OBS_DIR;' VAR: '#VAR#' - MET_TOOL: 'GENENSPROD' + METPLUSTOOLNAME: 'GENENSPROD' OBTYPE: 'NDAS' ACCUM_HH: '01' walltime: 02:30:00 @@ -151,7 +151,7 @@ metatask_GenEnsProd_EnsembleStat_NDAS: <<: *task_GenEnsProd_NDAS envars: <<: *envars_GenEnsProd_NDAS - MET_TOOL: 'ENSEMBLESTAT' + METPLUSTOOLNAME: 'ENSEMBLESTAT' walltime: 01:00:00 dependency: taskdep_genensprod: @@ -172,7 +172,7 @@ metatask_GridStat_CCPA_ensmeanprob_all_accums: <<: *default_vars OBS_DIR: '&CCPA_OBS_DIR;' VAR: APCP - MET_TOOL: 'GRIDSTAT' + METPLUSTOOLNAME: 'GRIDSTAT' OBTYPE: 'CCPA' ACCUM_HH: '#ACCUM_HH#' dependency: @@ -194,7 +194,7 @@ metatask_GridStat_NOHRSC_ensmeanprob_all_accums: <<: *default_vars OBS_DIR: '&NOHRSC_OBS_DIR;' VAR: ASNOW - MET_TOOL: 'GRIDSTAT' + METPLUSTOOLNAME: 'GRIDSTAT' OBTYPE: 'NOHRSC' ACCUM_HH: '#ACCUM_HH#' dependency: @@ -213,7 +213,7 @@ metatask_GridStat_MRMS_ensprob: ACCUM_HH: '01' OBS_DIR: '&MRMS_OBS_DIR;' VAR: '#VAR#' - MET_TOOL: 'GRIDSTAT' + METPLUSTOOLNAME: 'GRIDSTAT' OBTYPE: 'MRMS' dependency: taskdep: @@ -234,7 +234,7 @@ metatask_PointStat_NDAS_ensmeanprob: <<: *default_vars OBS_DIR: '&NDAS_OBS_DIR;' VAR: '#VAR#' - MET_TOOL: 'POINTSTAT' + METPLUSTOOLNAME: 'POINTSTAT' OBTYPE: 'NDAS' ACCUM_HH: '01' dependency: diff --git a/parm/wflow/verify_pre.yaml b/parm/wflow/verify_pre.yaml index 161ef6a145..d3795da89a 100644 --- a/parm/wflow/verify_pre.yaml +++ b/parm/wflow/verify_pre.yaml @@ -84,7 +84,7 @@ task_run_MET_Pb2nc_obs: obs_or_fcst: obs OBTYPE: NDAS OBS_DIR: '&NDAS_OBS_DIR;' - MET_TOOL: 'PB2NC' + METPLUSTOOLNAME: 'PB2NC' dependency: and: datadep: @@ -114,7 +114,7 @@ metatask_PcpCombine_obs: obs_or_fcst: obs OBTYPE: CCPA OBS_DIR: '&CCPA_OBS_DIR;' - MET_TOOL: 'PCPCOMBINE' + METPLUSTOOLNAME: 'PCPCOMBINE' ENSMEM_INDX: '' dependency: and: @@ -226,7 +226,7 @@ metatask_PcpCombine_fcst_APCP_all_accums_all_mems: obs_or_fcst: fcst OBTYPE: CCPA OBS_DIR: '&CCPA_OBS_DIR;' - MET_TOOL: 'PCPCOMBINE' + METPLUSTOOLNAME: 'PCPCOMBINE' ENSMEM_INDX: "#mem#" dependency: datadep: @@ -254,7 +254,7 @@ metatask_PcpCombine_fcst_ASNOW_all_accums_all_mems: obs_or_fcst: fcst OBTYPE: NOHRSC OBS_DIR: '&NOHRSC_OBS_DIR;' - MET_TOOL: 'PCPCOMBINE' + METPLUSTOOLNAME: 'PCPCOMBINE' ENSMEM_INDX: "#mem#" dependency: datadep: diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index a80e62bcc3..1c14f52649 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -16,7 +16,7 @@ source_config_for_task "task_run_vx_ensgrid|task_run_post" ${GLOBAL_VAR_DEFNS_FP # #----------------------------------------------------------------------- # -. $USHdir/get_met_metplus_tool_name.sh +. $USHdir/get_metplus_tool_name.sh . $USHdir/set_vx_params.sh . $USHdir/set_vx_fhr_list.sh # @@ -44,14 +44,15 @@ scrfunc_dir=$( dirname "${scrfunc_fp}" ) #----------------------------------------------------------------------- # # Get the name of the MET/METplus tool in different formats that may be -# needed from the global variable MET_TOOL. +# needed from the global variable METPLUSTOOLNAME. # #----------------------------------------------------------------------- # -get_met_metplus_tool_name \ - generic_tool_name="${MET_TOOL}" \ - outvarname_met_tool_name="met_tool_name" \ - outvarname_metplus_tool_name="metplus_tool_name" +get_metplus_tool_name \ + METPLUSTOOLNAME="${METPLUSTOOLNAME}" \ + outvarname_metplus_tool_name="metplus_tool_name" \ + outvarname_MetplusToolName="MetplusToolName" \ + outvarname_METPLUS_TOOL_NAME="METPLUS_TOOL_NAME" # #----------------------------------------------------------------------- # @@ -74,7 +75,7 @@ print_info_msg " Entering script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" -This is the ex-script for the task that runs the METplus ${metplus_tool_name} +This is the ex-script for the task that runs the METplus ${MetplusToolName} tool either to generate ensemble products without performing verification (if running the GenEnsProd tool) or to perform ensemble-based verification (if running the EnsembleStat tool). @@ -246,7 +247,7 @@ ${FCST_INPUT_FN_TEMPLATE}, done OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}" -OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}" +OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}" STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}" # #----------------------------------------------------------------------- @@ -326,8 +327,8 @@ elif [ "${VAR}" = "ASNOW" ]; then else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi -metplus_config_tmpl_fn="${metplus_tool_name}_${metplus_config_tmpl_fn}" -metplus_config_fn="${metplus_tool_name}_${FIELDNAME_IN_MET_FILEDIR_NAMES}" +metplus_config_tmpl_fn="${MetplusToolName}_${metplus_config_tmpl_fn}" +metplus_config_fn="${MetplusToolName}_${FIELDNAME_IN_MET_FILEDIR_NAMES}" metplus_log_fn="${metplus_config_fn}" # # Add prefixes and suffixes (extensions) to the base file names. @@ -353,6 +354,13 @@ metplus_config_fp="${OUTPUT_DIR}/${metplus_config_fn}" # settings="\ # +# MET/METplus information. +# + 'metplus_tool_name': '${metplus_tool_name}' + 'MetplusToolName': '${MetplusToolName}' + 'METPLUS_TOOL_NAME': '${METPLUS_TOOL_NAME}' + 'metplus_verbosity_level': '${METPLUS_VERBOSITY_LEVEL}' +# # Date and forecast hour information. # 'cdate': '$CDATE' @@ -423,7 +431,7 @@ rm $tmpfile #----------------------------------------------------------------------- # print_info_msg "$VERBOSE" " -Calling METplus to run MET's ${met_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" +Calling METplus to run MET's ${metplus_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" ${METPLUS_PATH}/ush/run_metplus.py \ -c ${METPLUS_CONF}/common.conf \ -c ${metplus_config_fp} || \ @@ -440,7 +448,7 @@ METplus configuration file used is: # print_info_msg " ======================================================================== -METplus ${metplus_tool_name} tool completed successfully. +METplus ${MetplusToolName} tool completed successfully. Exiting script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index 14298f621b..445804b149 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -16,7 +16,7 @@ source_config_for_task "task_run_vx_gridstat|task_run_vx_pointstat|task_run_post # #----------------------------------------------------------------------- # -. $USHdir/get_met_metplus_tool_name.sh +. $USHdir/get_metplus_tool_name.sh . $USHdir/set_vx_params.sh . $USHdir/set_vx_fhr_list.sh # @@ -44,14 +44,15 @@ scrfunc_dir=$( dirname "${scrfunc_fp}" ) #----------------------------------------------------------------------- # # Get the name of the MET/METplus tool in different formats that may be -# needed from the global variable MET_TOOL. +# needed from the global variable METPLUSTOOLNAME. # #----------------------------------------------------------------------- # -get_met_metplus_tool_name \ - generic_tool_name="${MET_TOOL}" \ - outvarname_met_tool_name="met_tool_name" \ - outvarname_metplus_tool_name="metplus_tool_name" +get_metplus_tool_name \ + METPLUSTOOLNAME="${METPLUSTOOLNAME}" \ + outvarname_metplus_tool_name="metplus_tool_name" \ + outvarname_MetplusToolName="MetplusToolName" \ + outvarname_METPLUS_TOOL_NAME="METPLUS_TOOL_NAME" # #----------------------------------------------------------------------- # @@ -64,7 +65,7 @@ print_info_msg " Entering script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" -This is the ex-script for the task that runs the METplus ${metplus_tool_name} +This is the ex-script for the task that runs the METplus ${MetplusToolName} tool to perform deterministic verification of the specified field (VAR) for a single forecast. ========================================================================" @@ -247,7 +248,7 @@ elif [ "${grid_or_point}" = "point" ]; then fi OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}" -OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}" +OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}" STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}" # #----------------------------------------------------------------------- @@ -327,8 +328,8 @@ elif [ "${VAR}" = "ASNOW" ]; then else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi -metplus_config_tmpl_fn="${metplus_tool_name}_${metplus_config_tmpl_fn}" -metplus_config_fn="${metplus_tool_name}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${ensmem_name}" +metplus_config_tmpl_fn="${MetplusToolName}_${metplus_config_tmpl_fn}" +metplus_config_fn="${MetplusToolName}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${ensmem_name}" metplus_log_fn="${metplus_config_fn}" # # Add prefixes and suffixes (extensions) to the base file names. @@ -354,6 +355,13 @@ metplus_config_fp="${OUTPUT_DIR}/${metplus_config_fn}" # settings="\ # +# MET/METplus information. +# + 'metplus_tool_name': '${metplus_tool_name}' + 'MetplusToolName': '${MetplusToolName}' + 'METPLUS_TOOL_NAME': '${METPLUS_TOOL_NAME}' + 'metplus_verbosity_level': '${METPLUS_VERBOSITY_LEVEL}' +# # Date and forecast hour information. # 'cdate': '$CDATE' @@ -424,7 +432,7 @@ rm $tmpfile #----------------------------------------------------------------------- # print_info_msg "$VERBOSE" " -Calling METplus to run MET's ${met_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" +Calling METplus to run MET's ${metplus_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" ${METPLUS_PATH}/ush/run_metplus.py \ -c ${METPLUS_CONF}/common.conf \ -c ${metplus_config_fp} || \ @@ -441,7 +449,7 @@ METplus configuration file used is: # print_info_msg " ======================================================================== -METplus ${metplus_tool_name} tool completed successfully. +METplus ${MetplusToolName} tool completed successfully. Exiting script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index f0a0e1beb0..c935ca6341 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -16,7 +16,7 @@ source_config_for_task "task_run_vx_ensgrid_mean|task_run_vx_enspoint_mean|task_ # #----------------------------------------------------------------------- # -. $USHdir/get_met_metplus_tool_name.sh +. $USHdir/get_metplus_tool_name.sh . $USHdir/set_vx_params.sh . $USHdir/set_vx_fhr_list.sh # @@ -44,14 +44,15 @@ scrfunc_dir=$( dirname "${scrfunc_fp}" ) #----------------------------------------------------------------------- # # Get the name of the MET/METplus tool in different formats that may be -# needed from the global variable MET_TOOL. +# needed from the global variable METPLUSTOOLNAME. # #----------------------------------------------------------------------- # -get_met_metplus_tool_name \ - generic_tool_name="${MET_TOOL}" \ - outvarname_met_tool_name="met_tool_name" \ - outvarname_metplus_tool_name="metplus_tool_name" +get_metplus_tool_name \ + METPLUSTOOLNAME="${METPLUSTOOLNAME}" \ + outvarname_metplus_tool_name="metplus_tool_name" \ + outvarname_MetplusToolName="MetplusToolName" \ + outvarname_METPLUS_TOOL_NAME="METPLUS_TOOL_NAME" # #----------------------------------------------------------------------- # @@ -64,7 +65,7 @@ print_info_msg " Entering script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" -This is the ex-script for the task that runs the METplus ${metplus_tool_name} +This is the ex-script for the task that runs the METplus ${MetplusToolName} tool to perform verification of the specified field (VAR) on the ensemble mean. ========================================================================" @@ -200,7 +201,7 @@ elif [ "${grid_or_point}" = "point" ]; then fi OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}" -OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}_ensmean" +OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_ensmean" STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}_ensmean" # #----------------------------------------------------------------------- @@ -289,8 +290,8 @@ elif [ "${VAR}" = "ASNOW" ]; then else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi -metplus_config_tmpl_fn="${metplus_tool_name}_ensmean_${metplus_config_tmpl_fn}" -metplus_config_fn="${metplus_tool_name}_ensmean_${FIELDNAME_IN_MET_FILEDIR_NAMES}" +metplus_config_tmpl_fn="${MetplusToolName}_ensmean_${metplus_config_tmpl_fn}" +metplus_config_fn="${MetplusToolName}_ensmean_${FIELDNAME_IN_MET_FILEDIR_NAMES}" metplus_log_fn="${metplus_config_fn}" # # Add prefixes and suffixes (extensions) to the base file names. @@ -316,6 +317,13 @@ metplus_config_fp="${OUTPUT_DIR}/${metplus_config_fn}" # settings="\ # +# MET/METplus information. +# + 'metplus_tool_name': '${metplus_tool_name}' + 'MetplusToolName': '${MetplusToolName}' + 'METPLUS_TOOL_NAME': '${METPLUS_TOOL_NAME}' + 'metplus_verbosity_level': '${METPLUS_VERBOSITY_LEVEL}' +# # Date and forecast hour information. # 'cdate': '$CDATE' @@ -387,7 +395,7 @@ rm $tmpfile #----------------------------------------------------------------------- # print_info_msg "$VERBOSE" " -Calling METplus to run MET's ${met_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" +Calling METplus to run MET's ${metplus_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" ${METPLUS_PATH}/ush/run_metplus.py \ -c ${METPLUS_CONF}/common.conf \ -c ${metplus_config_fp} || \ @@ -404,7 +412,7 @@ METplus configuration file used is: # print_info_msg " ======================================================================== -METplus ${metplus_tool_name} tool completed successfully. +METplus ${MetplusToolName} tool completed successfully. Exiting script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh index fe5f60eb80..4ed29f9a60 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh @@ -16,7 +16,7 @@ source_config_for_task "task_run_vx_ensgrid_prob|task_run_vx_enspoint_prob|task_ # #----------------------------------------------------------------------- # -. $USHdir/get_met_metplus_tool_name.sh +. $USHdir/get_metplus_tool_name.sh . $USHdir/set_vx_params.sh . $USHdir/set_vx_fhr_list.sh # @@ -44,14 +44,15 @@ scrfunc_dir=$( dirname "${scrfunc_fp}" ) #----------------------------------------------------------------------- # # Get the name of the MET/METplus tool in different formats that may be -# needed from the global variable MET_TOOL. +# needed from the global variable METPLUSTOOLNAME. # #----------------------------------------------------------------------- # -get_met_metplus_tool_name \ - generic_tool_name="${MET_TOOL}" \ - outvarname_met_tool_name="met_tool_name" \ - outvarname_metplus_tool_name="metplus_tool_name" +get_metplus_tool_name \ + METPLUSTOOLNAME="${METPLUSTOOLNAME}" \ + outvarname_metplus_tool_name="metplus_tool_name" \ + outvarname_MetplusToolName="MetplusToolName" \ + outvarname_METPLUS_TOOL_NAME="METPLUS_TOOL_NAME" # #----------------------------------------------------------------------- # @@ -64,7 +65,7 @@ print_info_msg " Entering script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" -This is the ex-script for the task that runs the METplus ${metplus_tool_name} +This is the ex-script for the task that runs the METplus ${MetplusToolName} tool to perform verification of the specified field (VAR) on the ensemble frequencies/probabilities. ========================================================================" @@ -156,7 +157,7 @@ elif [ "${grid_or_point}" = "point" ]; then fi OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}" -OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}_ensprob" +OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_ensprob" STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}_ensprob" # #----------------------------------------------------------------------- @@ -248,8 +249,8 @@ elif [ "${VAR}" = "ASNOW" ]; then else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi -metplus_config_tmpl_fn="${metplus_tool_name}_ensprob_${metplus_config_tmpl_fn}" -metplus_config_fn="${metplus_tool_name}_ensprob_${FIELDNAME_IN_MET_FILEDIR_NAMES}" +metplus_config_tmpl_fn="${MetplusToolName}_ensprob_${metplus_config_tmpl_fn}" +metplus_config_fn="${MetplusToolName}_ensprob_${FIELDNAME_IN_MET_FILEDIR_NAMES}" metplus_log_fn="${metplus_config_fn}" # # Add prefixes and suffixes (extensions) to the base file names. @@ -275,6 +276,13 @@ metplus_config_fp="${OUTPUT_DIR}/${metplus_config_fn}" # settings="\ # +# MET/METplus information. +# + 'metplus_tool_name': '${metplus_tool_name}' + 'MetplusToolName': '${MetplusToolName}' + 'METPLUS_TOOL_NAME': '${METPLUS_TOOL_NAME}' + 'metplus_verbosity_level': '${METPLUS_VERBOSITY_LEVEL}' +# # Date and forecast hour information. # 'cdate': '$CDATE' @@ -344,7 +352,7 @@ rm $tmpfile #----------------------------------------------------------------------- # print_info_msg "$VERBOSE" " -Calling METplus to run MET's ${met_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" +Calling METplus to run MET's ${metplus_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" ${METPLUS_PATH}/ush/run_metplus.py \ -c ${METPLUS_CONF}/common.conf \ -c ${metplus_config_fp} || \ @@ -361,7 +369,7 @@ METplus configuration file used is: # print_info_msg " ======================================================================== -METplus ${metplus_tool_name} tool completed successfully. +METplus ${MetplusToolName} tool completed successfully. Exiting script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" diff --git a/scripts/exregional_run_met_pb2nc_obs.sh b/scripts/exregional_run_met_pb2nc_obs.sh index 7832babc07..b1b2fb4606 100755 --- a/scripts/exregional_run_met_pb2nc_obs.sh +++ b/scripts/exregional_run_met_pb2nc_obs.sh @@ -16,7 +16,7 @@ source_config_for_task "task_run_met_pb2nc_obs" ${GLOBAL_VAR_DEFNS_FP} # #----------------------------------------------------------------------- # -. $USHdir/get_met_metplus_tool_name.sh +. $USHdir/get_metplus_tool_name.sh . $USHdir/set_vx_params.sh . $USHdir/set_vx_fhr_list.sh # @@ -44,14 +44,15 @@ scrfunc_dir=$( dirname "${scrfunc_fp}" ) #----------------------------------------------------------------------- # # Get the name of the MET/METplus tool in different formats that may be -# needed from the global variable MET_TOOL. +# needed from the global variable METPLUSTOOLNAME. # #----------------------------------------------------------------------- # -get_met_metplus_tool_name \ - generic_tool_name="${MET_TOOL}" \ - outvarname_met_tool_name="met_tool_name" \ - outvarname_metplus_tool_name="metplus_tool_name" +get_metplus_tool_name \ + METPLUSTOOLNAME="${METPLUSTOOLNAME}" \ + outvarname_metplus_tool_name="metplus_tool_name" \ + outvarname_MetplusToolName="MetplusToolName" \ + outvarname_METPLUS_TOOL_NAME="METPLUS_TOOL_NAME" # #----------------------------------------------------------------------- # @@ -64,7 +65,7 @@ print_info_msg " Entering script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" -This is the ex-script for the task that runs the METplus tool ${metplus_tool_name} +This is the ex-script for the task that runs the METplus tool ${MetplusToolName} to convert NDAS prep buffer observation files to NetCDF format. ========================================================================" # @@ -113,9 +114,9 @@ OBS_INPUT_DIR="${OBS_DIR}" OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE} ) OUTPUT_BASE="${vx_output_basedir}" -OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}_obs" +OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_obs" OUTPUT_FN_TEMPLATE="${OBS_INPUT_FN_TEMPLATE}.nc" -STAGING_DIR="${OUTPUT_BASE}/stage/${metplus_tool_name}_obs" +STAGING_DIR="${OUTPUT_BASE}/stage/${MetplusToolName}_obs" # #----------------------------------------------------------------------- # @@ -187,7 +188,7 @@ fi # # First, set the base file names. # -metplus_config_tmpl_fn="${metplus_tool_name}_obs" +metplus_config_tmpl_fn="${MetplusToolName}_obs" # # Note that we append the cycle date to the name of the configuration # file because we are considering only observations when using Pb2NC, so @@ -231,6 +232,13 @@ metplus_config_fp="${OUTPUT_DIR}/${metplus_config_fn}" # settings="\ # +# MET/METplus information. +# + 'metplus_tool_name': '${metplus_tool_name}' + 'MetplusToolName': '${MetplusToolName}' + 'METPLUS_TOOL_NAME': '${METPLUS_TOOL_NAME}' + 'metplus_verbosity_level': '${METPLUS_VERBOSITY_LEVEL}' +# # Date and forecast hour information. # 'cdate': '$CDATE' @@ -300,7 +308,7 @@ rm $tmpfile #----------------------------------------------------------------------- # print_info_msg "$VERBOSE" " -Calling METplus to run MET's ${met_tool_name} tool on observations of type: ${OBTYPE}" +Calling METplus to run MET's ${metplus_tool_name} tool on observations of type: ${OBTYPE}" ${METPLUS_PATH}/ush/run_metplus.py \ -c ${METPLUS_CONF}/common.conf \ -c ${metplus_config_fp} || \ @@ -317,7 +325,7 @@ METplus configuration file used is: # print_info_msg " ======================================================================== -METplus ${metplus_tool_name} tool completed successfully. +METplus ${MetplusToolName} tool completed successfully. Exiting script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" diff --git a/scripts/exregional_run_met_pcpcombine.sh b/scripts/exregional_run_met_pcpcombine.sh index cb047163cb..e8737a7cc0 100755 --- a/scripts/exregional_run_met_pcpcombine.sh +++ b/scripts/exregional_run_met_pcpcombine.sh @@ -16,7 +16,7 @@ source_config_for_task "task_run_met_pcpcombine|task_run_post" ${GLOBAL_VAR_DEFN # #----------------------------------------------------------------------- # -. $USHdir/get_met_metplus_tool_name.sh +. $USHdir/get_metplus_tool_name.sh . $USHdir/set_vx_params.sh . $USHdir/set_vx_fhr_list.sh # @@ -44,14 +44,15 @@ scrfunc_dir=$( dirname "${scrfunc_fp}" ) #----------------------------------------------------------------------- # # Get the name of the MET/METplus tool in different formats that may be -# needed from the global variable MET_TOOL. +# needed from the global variable METPLUSTOOLNAME. # #----------------------------------------------------------------------- # -get_met_metplus_tool_name \ - generic_tool_name="${MET_TOOL}" \ - outvarname_met_tool_name="met_tool_name" \ - outvarname_metplus_tool_name="metplus_tool_name" +get_metplus_tool_name \ + METPLUSTOOLNAME="${METPLUSTOOLNAME}" \ + outvarname_metplus_tool_name="metplus_tool_name" \ + outvarname_MetplusToolName="MetplusToolName" \ + outvarname_METPLUS_TOOL_NAME="METPLUS_TOOL_NAME" # #----------------------------------------------------------------------- # @@ -64,7 +65,7 @@ print_info_msg " Entering script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" -This is the ex-script for the task that runs the METplus ${metplus_tool_name} +This is the ex-script for the task that runs the METplus ${MetplusToolName} tool to combine hourly accumulated precipitation (APCP) data to generate files containing multi-hour accumulated precipitation (e.g. 3-hour, 6- hour, 24-hour). The input files can come from either observations or @@ -174,7 +175,7 @@ if [ "${obs_or_fcst}" = "obs" ]; then OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCP01h_FN_TEMPLATE} ) OUTPUT_BASE="${vx_output_basedir}" - OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}_obs" + OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_obs" OUTPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCPgt01h_FN_TEMPLATE} ) STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}" @@ -184,7 +185,7 @@ elif [ "${obs_or_fcst}" = "fcst" ]; then FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE} ) OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}" - OUTPUT_DIR="${OUTPUT_BASE}/metprd/${metplus_tool_name}_fcst" + OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_fcst" OUTPUT_FN_TEMPLATE=$( eval echo ${FCST_FN_METPROC_TEMPLATE} ) STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}" @@ -270,7 +271,7 @@ fi # # First, set the base file names. # -metplus_config_tmpl_fn="${metplus_tool_name}_${obs_or_fcst}" +metplus_config_tmpl_fn="${MetplusToolName}_${obs_or_fcst}" metplus_config_fn="${metplus_config_tmpl_fn}_${FIELDNAME_IN_MET_FILEDIR_NAMES}${ENSMEM_INDX:+_${ensmem_name}}" metplus_log_fn="${metplus_config_fn}_$CDATE" # @@ -307,6 +308,13 @@ metplus_config_fp="${OUTPUT_DIR}/${metplus_config_fn}" # settings="\ # +# MET/METplus information. +# + 'metplus_tool_name': '${metplus_tool_name}' + 'MetplusToolName': '${MetplusToolName}' + 'METPLUS_TOOL_NAME': '${METPLUS_TOOL_NAME}' + 'metplus_verbosity_level': '${METPLUS_VERBOSITY_LEVEL}' +# # Date and forecast hour information. # 'cdate': '$CDATE' @@ -377,7 +385,7 @@ rm $tmpfile #----------------------------------------------------------------------- # print_info_msg "$VERBOSE" " -Calling METplus to run MET's ${met_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" +Calling METplus to run MET's ${metplus_tool_name} tool for field(s): ${FIELDNAME_IN_MET_FILEDIR_NAMES}" ${METPLUS_PATH}/ush/run_metplus.py \ -c ${METPLUS_CONF}/common.conf \ -c ${metplus_config_fp} || \ @@ -394,7 +402,7 @@ METplus configuration file used is: # print_info_msg " ======================================================================== -METplus ${metplus_tool_name} tool completed successfully. +METplus ${MetplusToolName} tool completed successfully. Exiting script: \"${scrfunc_fn}\" In directory: \"${scrfunc_dir}\" diff --git a/ush/config_defaults.yaml b/ush/config_defaults.yaml index f91d5ddda1..caa33e54b9 100644 --- a/ush/config_defaults.yaml +++ b/ush/config_defaults.yaml @@ -2385,7 +2385,12 @@ global: # verification (vx) parameters #----------------------------- verification: - #----------------------------------------------------------------------- + # + # METPLUS_VERBOSITY_LEVEL: + # Logging verbosity level used by METplus verification tools. 0 to 5, + # with 0 quiet and 5 loud. + # + METPLUS_VERBOSITY_LEVEL: 2 # # Templates for CCPA, MRMS, and NDAS observation files. # diff --git a/ush/get_met_metplus_tool_name.sh b/ush/get_metplus_tool_name.sh similarity index 56% rename from ush/get_met_metplus_tool_name.sh rename to ush/get_metplus_tool_name.sh index 3802ded893..9ef37f5f13 100644 --- a/ush/get_met_metplus_tool_name.sh +++ b/ush/get_metplus_tool_name.sh @@ -1,17 +1,21 @@ # #----------------------------------------------------------------------- # -# This file defines a function that uses the given generic name of a MET/ -# METplus tool (generic_tool_name; this is a name that does not contain -# any separators like underscores and that may be in upper or lower case) -# to set its name in MET (met_tool_name) and in METplus (metplus_tool_name). -# Note that the tool name in MET is in "snake case" (i.e. uses underscores -# as separators with all lower case) while that in METplus is in "pascal -# case" (i.e. no separators and with first letter of each word capitalized). +# This file defines a function that takes as input the name of a MET/METplus +# tool spelled in upper flat case, i.e. all-caps and without separators +# (e.g. METPLUSTOOLNAME) and returns that name converted to the following +# cases: +# +# 1) Snake case, i.e. in all lower-case with underscores as word separators, +# e.g. metplus_tool_name. +# 2) Pascal case, i.e. without separators and with the first letter of +# each word capitalized, e.g. MetplusToolName. +# 3) Screaming snake case, i.e. in all upper-case with underscores as +# word separators, e.g. METPLUS_TOOL_NAME. # #----------------------------------------------------------------------- # -function get_met_metplus_tool_name() { +function get_metplus_tool_name() { # #----------------------------------------------------------------------- # @@ -31,9 +35,10 @@ function get_met_metplus_tool_name() { #----------------------------------------------------------------------- # local valid_args=( \ - "generic_tool_name" \ - "outvarname_met_tool_name" \ + "METPLUSTOOLNAME" \ "outvarname_metplus_tool_name" \ + "outvarname_MetplusToolName" \ + "outvarname_METPLUS_TOOL_NAME" \ ) process_args valid_args "$@" # @@ -53,8 +58,9 @@ function get_met_metplus_tool_name() { # #----------------------------------------------------------------------- # - local _generic_tool_name_name_ \ - _metplus_tool_name_ + local _metplus_tool_name_ \ + _MetplusToolName_ \ + _METPLUS_TOOL_NAME_ # #----------------------------------------------------------------------- # @@ -63,45 +69,45 @@ function get_met_metplus_tool_name() { # #----------------------------------------------------------------------- # - generic_tool_name=${generic_tool_name,,} - valid_vals_generic_tool_name=( \ + valid_vals_METPLUSTOOLNAME=( \ "PB2NC" "PCPCOMBINE" "GRIDSTAT" "POINTSTAT" "GENENSPROD" "ENSEMBLESTAT" \ - "pb2nc" "pcpcombine" "gridstat" "pointstat" "genensprod" "ensemblestat" \ ) - check_var_valid_value "generic_tool_name" "valid_vals_generic_tool_name" + check_var_valid_value "METPLUSTOOLNAME" "valid_vals_METPLUSTOOLNAME" - case "${generic_tool_name}" in - "pb2nc") - _met_tool_name_="pb2nc" - _metplus_tool_name_="Pb2nc" + case "${METPLUSTOOLNAME}" in + "PB2NC") + _metplus_tool_name_="pb2nc" + _MetplusToolName_="Pb2nc" ;; - "pcpcombine") - _met_tool_name_="pcp_combine" - _metplus_tool_name_="PcpCombine" + "PCPCOMBINE") + _metplus_tool_name_="pcp_combine" + _MetplusToolName_="PcpCombine" ;; - "gridstat") - _met_tool_name_="grid_stat" - _metplus_tool_name_="GridStat" + "GRIDSTAT") + _metplus_tool_name_="grid_stat" + _MetplusToolName_="GridStat" ;; - "pointstat") - _met_tool_name_="point_stat" - _metplus_tool_name_="PointStat" + "POINTSTAT") + _metplus_tool_name_="point_stat" + _MetplusToolName_="PointStat" ;; - "genensprod") - _met_tool_name_="gen_ens_prod" - _metplus_tool_name_="GenEnsProd" + "GENENSPROD") + _metplus_tool_name_="gen_ens_prod" + _MetplusToolName_="GenEnsProd" ;; - "ensemblestat") - _met_tool_name_="ensemble_stat" - _metplus_tool_name_="EnsembleStat" + "ENSEMBLESTAT") + _metplus_tool_name_="ensemble_stat" + _MetplusToolName_="EnsembleStat" ;; *) print_err_msg_exit "\ -Generic name specified for MET/METplus tool (generic_tool_name) is +Generic name specified for MET/METplus tool (METPLUSTOOLNAME) is unupported: - generic_tool_name = \"${generic_tool_name}\"" + METPLUSTOOLNAME = \"${METPLUSTOOLNAME}\"" ;; esac + + _METPLUS_TOOL_NAME_=$(echo_uppercase ${_metplus_tool_name_}) # #----------------------------------------------------------------------- # @@ -109,13 +115,17 @@ unupported: # #----------------------------------------------------------------------- # - if [ ! -z "${outvarname_met_tool_name}" ]; then - printf -v ${outvarname_met_tool_name} "%s" "${_met_tool_name_}" - fi - if [ ! -z "${outvarname_metplus_tool_name}" ]; then printf -v ${outvarname_metplus_tool_name} "%s" "${_metplus_tool_name_}" fi + + if [ ! -z "${outvarname_MetplusToolName}" ]; then + printf -v ${outvarname_MetplusToolName} "%s" "${_MetplusToolName_}" + fi + + if [ ! -z "${outvarname_METPLUS_TOOL_NAME}" ]; then + printf -v ${outvarname_METPLUS_TOOL_NAME} "%s" "${_METPLUS_TOOL_NAME_}" + fi # #----------------------------------------------------------------------- # From 989706679597a194a786d8ca27b197272196a46a Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Fri, 10 Nov 2023 17:22:24 -0700 Subject: [PATCH 11/69] Change workflow scripts and METplus conf files so that all the vx tasks for APCP (i.e. not just for accumulation > 1 hr but also for accumulation = 1 hour) use obs and forecast tasks that have been processed by the PcpCombine tool of METplus. These files are all in NetCDF format and are generated from grib2 input files (both for obs and forecast). This involves: * Renaming certain workflow variables for verification so their role/purpose is clearer. * Modifying the names of the arrays for APCP variables in the NetCDF files. * Changing the names of the levels associated with APCP variables in the NetCDF files (e.g. "A1" instead of "A01"). * For consistency, making changes for accumulated snow (ASNOW) analogous to the above changes for APCP. * In ex-scripts for vx tasks, removing if-statement that treats the case of APCP accumulation period > 1 hour separately and performing the same steps for both accumulation = 1 hour and > 1 hour. --- parm/metplus/GridStat_APCP01h.conf | 3 +- parm/metplus/GridStat_ensmean_APCP01h.conf | 3 +- parm/metplus/GridStat_ensprob_APCP01h.conf | 16 ++-- ...onal_run_met_genensprod_or_ensemblestat.sh | 68 ++++++++-------- ...gional_run_met_gridstat_or_pointstat_vx.sh | 64 +++++++-------- ...un_met_gridstat_or_pointstat_vx_ensmean.sh | 50 +++++------- ...un_met_gridstat_or_pointstat_vx_ensprob.sh | 53 ++++++------- scripts/exregional_run_met_pb2nc_obs.sh | 2 +- scripts/exregional_run_met_pcpcombine.sh | 6 +- ush/config_defaults.yaml | 78 +++++++++++-------- ush/set_vx_params.sh | 4 +- 11 files changed, 172 insertions(+), 175 deletions(-) diff --git a/parm/metplus/GridStat_APCP01h.conf b/parm/metplus/GridStat_APCP01h.conf index b75412e095..cbf7148c3a 100644 --- a/parm/metplus/GridStat_APCP01h.conf +++ b/parm/metplus/GridStat_APCP01h.conf @@ -123,7 +123,8 @@ FCST_VAR1_NAME = {{fieldname_in_fcst_input}} # List of levels to evaluate for forecast variable 1. # ACCUM_HH = {{accum_hh}} -FCST_VAR1_LEVELS = A{ACCUM_HH} +#FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_LEVELS = A1 # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. diff --git a/parm/metplus/GridStat_ensmean_APCP01h.conf b/parm/metplus/GridStat_ensmean_APCP01h.conf index c3771e9be4..5d4c1ac658 100644 --- a/parm/metplus/GridStat_ensmean_APCP01h.conf +++ b/parm/metplus/GridStat_ensmean_APCP01h.conf @@ -132,7 +132,8 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # the METplus conf files for accumulation > 1 hour (e.g. 3, 6, and 24 # hour). # -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A01_ENS_MEAN +#FCST_VAR1_NAME = {{fieldname_in_met_output}}_A01_ENS_MEAN +FCST_VAR1_NAME = {{fieldname_in_met_output}}_A1_ENS_MEAN # # List of levels to evaluate for forecast variable 1. # diff --git a/parm/metplus/GridStat_ensprob_APCP01h.conf b/parm/metplus/GridStat_ensprob_APCP01h.conf index bb17a27b38..54c8dcd877 100644 --- a/parm/metplus/GridStat_ensprob_APCP01h.conf +++ b/parm/metplus/GridStat_ensprob_APCP01h.conf @@ -112,28 +112,28 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # thresholds in mm, equal to >0, .01",.05",.10" # FREQ # Process as probability -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_gt0.0 +FCST_VAR1_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_gt0.0 FCST_VAR1_LEVELS = A01 FCST_VAR1_THRESH = ==0.1 OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A01 OBS_VAR1_THRESH = gt0.0 -FCST_VAR2_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.254 +FCST_VAR2_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.254 FCST_VAR2_LEVELS = A01 FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = {{fieldname_in_obs_input}} OBS_VAR2_LEVELS = A01 OBS_VAR2_THRESH = ge0.254 -FCST_VAR3_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.508 +FCST_VAR3_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.508 FCST_VAR3_LEVELS = A01 FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = {{fieldname_in_obs_input}} OBS_VAR3_LEVELS = A01 OBS_VAR3_THRESH = ge0.508 -FCST_VAR4_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge2.54 +FCST_VAR4_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge2.54 FCST_VAR4_LEVELS = A01 FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = {{fieldname_in_obs_input}} @@ -143,7 +143,7 @@ OBS_VAR4_THRESH = ge2.54 #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -FCST_VAR5_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_gt0.0 +FCST_VAR5_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_gt0.0 FCST_VAR5_LEVELS = A01 FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; @@ -152,7 +152,7 @@ OBS_VAR5_LEVELS = A01 OBS_VAR5_THRESH = gt0.0 OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR6_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.254 +FCST_VAR6_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.254 FCST_VAR6_LEVELS = A01 FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; @@ -161,7 +161,7 @@ OBS_VAR6_LEVELS = A01 OBS_VAR6_THRESH = ge0.254 OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR7_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge0.508 +FCST_VAR7_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.508 FCST_VAR7_LEVELS = A01 FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; @@ -170,7 +170,7 @@ OBS_VAR7_LEVELS = A01 OBS_VAR7_THRESH = ge0.508 OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR8_NAME = {{fieldname_in_met_output}}_A01_ENS_FREQ_ge2.54 +FCST_VAR8_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge2.54 FCST_VAR8_LEVELS = A01 FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index 1c14f52649..7404165a1e 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -134,9 +134,12 @@ if [ "${grid_or_point}" = "grid" ]; then "APCP24h") FIELD_THRESHOLDS="gt0.0, ge6.350, ge12.700, ge25.400" ;; - "ASNOW") - FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" - ;; + "ASNOW06h") + FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" + ;; + "ASNOW24h") + FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" + ;; "REFC") FIELD_THRESHOLDS="ge20, ge30, ge40, ge50" ;; @@ -174,41 +177,37 @@ fi if [ "${grid_or_point}" = "grid" ]; then - OBS_INPUT_FN_TEMPLATE="" - if [ "${field_is_APCPgt01h}" = "TRUE" ]; then - OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCPgt01h_FN_TEMPLATE} ) - FCST_INPUT_DIR="${vx_output_basedir}" - else - OBS_INPUT_DIR="${OBS_DIR}" - case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in - "APCP01h") - OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP01h_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_fcst_input_basedir}" - ;; - "ASNOW") - OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_output_basedir}" - ;; - "REFC") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_fcst_input_basedir}" - ;; - "RETOP") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_fcst_input_basedir}" - ;; - esac - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) - fi + case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in + "APCP"*) + OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" + OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" + FCST_INPUT_DIR="${vx_output_basedir}" + ;; + "ASNOW"*) + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" + FCST_INPUT_DIR="${vx_output_basedir}" + ;; + "REFC") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" + FCST_INPUT_DIR="${vx_fcst_input_basedir}" + ;; + "RETOP") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" + FCST_INPUT_DIR="${vx_fcst_input_basedir}" + ;; + esac elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE="${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE_PB2NC_OUTPUT}" FCST_INPUT_DIR="${vx_fcst_input_basedir}" fi +OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) # # Construct variable that contains a METplus template of the paths to # the files that the PcpCombine tool has generated (in previous workflow @@ -229,8 +228,11 @@ for (( i=0; i<${NUM_ENS_MEMBERS}; i++ )); do time_lag=$( bc -l <<< "${ENS_TIME_LAG_HRS[$i]}*${SECS_PER_HOUR}" ) - if [ "${field_is_APCPgt01h}" = "TRUE" ] || [ "${FIELDNAME_IN_MET_FILEDIR_NAMES}" = "ASNOW" ]; then - template="${cdate_ensmem_subdir_or_null:+${cdate_ensmem_subdir_or_null}/}metprd/PcpCombine_fcst/${FCST_FN_METPROC_TEMPLATE}" + #if [ "${field_is_APCPgt01h}" = "TRUE" ] || [ "${FIELDNAME_IN_MET_FILEDIR_NAMES}" = "ASNOW" ]; then + #if [ "${FIELDNAME_IN_FCST_INPUT}" = "APCP" ] || \ + # [ "${FIELDNAME_IN_MET_FILEDIR_NAMES}" = "ASNOW" ]; then + if [ "${VAR}" = "APCP" ] || [ "${VAR}" = "ASNOW" ]; then + template="${cdate_ensmem_subdir_or_null:+${cdate_ensmem_subdir_or_null}/}metprd/PcpCombine_fcst/${FCST_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" else template="${FCST_SUBDIR_TEMPLATE}/${FCST_FN_TEMPLATE}" fi diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index 445804b149..91928b20b2 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -205,47 +205,43 @@ fi if [ "${grid_or_point}" = "grid" ]; then - OBS_INPUT_FN_TEMPLATE="" - if [ "${field_is_APCPgt01h}" = "TRUE" ]; then - OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCPgt01h_FN_TEMPLATE} ) - FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}/metprd/PcpCombine_fcst" - FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_FN_METPROC_TEMPLATE} ) - else - OBS_INPUT_DIR="${OBS_DIR}" - case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in - "APCP01h") - OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP01h_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_fcst_input_basedir}" - FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE} ) - ;; - "ASNOW"*) - OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}/metprd/PcpCombine_fcst" - FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_FN_METPROC_TEMPLATE} ) - ;; - "REFC") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_fcst_input_basedir}" - FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE} ) - ;; - "RETOP") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" - FCST_INPUT_DIR="${vx_fcst_input_basedir}" - FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE} ) - ;; - esac - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) - fi + case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in + "APCP"*) + OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" + OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" + FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}/metprd/PcpCombine_fcst" + FCST_INPUT_FN_TEMPLATE="${FCST_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" + ;; + "ASNOW"*) + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" + FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}/metprd/PcpCombine_fcst" + FCST_INPUT_FN_TEMPLATE="${FCST_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" + ;; + "REFC") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" + FCST_INPUT_DIR="${vx_fcst_input_basedir}" + FCST_INPUT_FN_TEMPLATE="${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE}" + ;; + "RETOP") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" + FCST_INPUT_DIR="${vx_fcst_input_basedir}" + FCST_INPUT_FN_TEMPLATE="${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE}" + ;; + esac elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE="${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE_PB2NC_OUTPUT}" FCST_INPUT_DIR="${vx_fcst_input_basedir}" - FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE} ) + FCST_INPUT_FN_TEMPLATE="${FCST_SUBDIR_TEMPLATE:+${FCST_SUBDIR_TEMPLATE}/}${FCST_FN_TEMPLATE}" fi +OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) +FCST_INPUT_FN_TEMPLATE=$( eval echo ${FCST_INPUT_FN_TEMPLATE} ) OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}" OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}" diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index c935ca6341..535cfb352b 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -162,43 +162,35 @@ fi if [ "${grid_or_point}" = "grid" ]; then - OBS_INPUT_FN_TEMPLATE="" - if [ "${field_is_APCPgt01h}" = "TRUE" ]; then - OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCPgt01h_FN_TEMPLATE} ) - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - else - OBS_INPUT_DIR="${OBS_DIR}" - case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in - "APCP01h") - OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP01h_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - "ASNOW") - OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${ACCUM_HH}h_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - "REFC") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - "RETOP") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - esac - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) - fi + case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in + "APCP"*) + OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" + OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" + ;; + "ASNOW"*) + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" + ;; + "REFC") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" + ;; + "RETOP") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" + ;; + esac FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE="${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE_PB2NC_OUTPUT}" FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) fi +OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) +FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}" OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_ensmean" diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh index 4ed29f9a60..2d58f2d2b0 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh @@ -118,43 +118,34 @@ fi if [ "${grid_or_point}" = "grid" ]; then - OBS_INPUT_FN_TEMPLATE="" - if [ "${field_is_APCPgt01h}" = "TRUE" ]; then - OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCPgt01h_FN_TEMPLATE} ) - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - else - OBS_INPUT_DIR="${OBS_DIR}" - case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in - "APCP01h") - OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP01h_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - "ASNOW") - OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${ACCUM_HH}h_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - "REFC") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - "RETOP") - OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) - ;; - esac - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) - fi - FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" + case "${FIELDNAME_IN_MET_FILEDIR_NAMES}" in + "APCP"*) + OBS_INPUT_DIR="${vx_output_basedir}/metprd/PcpCombine_obs" + OBS_INPUT_FN_TEMPLATE="${OBS_CCPA_APCP_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" + ;; + "ASNOW"*) + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_NOHRSC_ASNOW_FN_TEMPLATE}" + ;; + "REFC") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_REFC_FN_TEMPLATE}" + ;; + "RETOP") + OBS_INPUT_DIR="${OBS_DIR}" + OBS_INPUT_FN_TEMPLATE="${OBS_MRMS_RETOP_FN_TEMPLATE}" + ;; + esac elif [ "${grid_or_point}" = "point" ]; then OBS_INPUT_DIR="${vx_output_basedir}/metprd/Pb2nc_obs" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE} ) - FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" - FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) + OBS_INPUT_FN_TEMPLATE="${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE_PB2NC_OUTPUT}" fi +OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_INPUT_FN_TEMPLATE} ) +FCST_INPUT_DIR="${vx_output_basedir}${slash_cdate_or_null}/metprd/GenEnsProd" +FCST_INPUT_FN_TEMPLATE=$( eval echo 'gen_ens_prod_${VX_FCST_MODEL_NAME}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d}_{valid?fmt=%H%M%S}V.nc' ) OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}" OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_ensprob" diff --git a/scripts/exregional_run_met_pb2nc_obs.sh b/scripts/exregional_run_met_pb2nc_obs.sh index b1b2fb4606..3e2bbc94c3 100755 --- a/scripts/exregional_run_met_pb2nc_obs.sh +++ b/scripts/exregional_run_met_pb2nc_obs.sh @@ -115,7 +115,7 @@ OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE} ) OUTPUT_BASE="${vx_output_basedir}" OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_obs" -OUTPUT_FN_TEMPLATE="${OBS_INPUT_FN_TEMPLATE}.nc" +OUTPUT_FN_TEMPLATE=$( eval echo ${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE_PB2NC_OUTPUT} ) STAGING_DIR="${OUTPUT_BASE}/stage/${MetplusToolName}_obs" # #----------------------------------------------------------------------- diff --git a/scripts/exregional_run_met_pcpcombine.sh b/scripts/exregional_run_met_pcpcombine.sh index e8737a7cc0..5a80313551 100755 --- a/scripts/exregional_run_met_pcpcombine.sh +++ b/scripts/exregional_run_met_pcpcombine.sh @@ -172,11 +172,11 @@ FCST_INPUT_FN_TEMPLATE="" if [ "${obs_or_fcst}" = "obs" ]; then OBS_INPUT_DIR="${OBS_DIR}" - OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCP01h_FN_TEMPLATE} ) + OBS_INPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCP_FN_TEMPLATE} ) OUTPUT_BASE="${vx_output_basedir}" OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_obs" - OUTPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCPgt01h_FN_TEMPLATE} ) + OUTPUT_FN_TEMPLATE=$( eval echo ${OBS_CCPA_APCP_FN_TEMPLATE_PCPCOMBINE_OUTPUT} ) STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}" elif [ "${obs_or_fcst}" = "fcst" ]; then @@ -186,7 +186,7 @@ elif [ "${obs_or_fcst}" = "fcst" ]; then OUTPUT_BASE="${vx_output_basedir}${slash_cdate_or_null}/${slash_ensmem_subdir_or_null}" OUTPUT_DIR="${OUTPUT_BASE}/metprd/${MetplusToolName}_fcst" - OUTPUT_FN_TEMPLATE=$( eval echo ${FCST_FN_METPROC_TEMPLATE} ) + OUTPUT_FN_TEMPLATE=$( eval echo ${FCST_FN_TEMPLATE_PCPCOMBINE_OUTPUT} ) STAGING_DIR="${OUTPUT_BASE}/stage/${FIELDNAME_IN_MET_FILEDIR_NAMES}" fi diff --git a/ush/config_defaults.yaml b/ush/config_defaults.yaml index caa33e54b9..f6163e4f45 100644 --- a/ush/config_defaults.yaml +++ b/ush/config_defaults.yaml @@ -2394,16 +2394,12 @@ verification: # # Templates for CCPA, MRMS, and NDAS observation files. # - # OBS_CCPA_APCP01h_FN_TEMPLATE: - # File name template used to obtain the input observation files (in - # the PcpCombine_obs tasks) that contain the 1-hour accumulated - # precipitation (APCP) from which APCP for longer accumulations will - # be generated. - # - # OBS_CCPA_APCPgt01h_FN_TEMPLATE: - # File name template used to generate the observation files (in the - # PcpCombine_obs tasks) containing accumulated precipitation for - # accumulation periods longer than 1-hour. + # OBS_CCPA_APCP_FN_TEMPLATE: + # File name template for CCPA accumulated precipitation (APCP) observations. + # This template is used by the workflow tasks that call the METplus PcpCombine + # tool on CCPA obs to find the input observation files containing 1-hour + # APCP and then generate NetCDF files containing either 1-hour or greater + # than 1-hour APCP. # # OBS_NOHRSC_ASNOW_FN_TEMPLATE: # File name template for NOHRSC snow observations. @@ -2413,21 +2409,35 @@ verification: # # OBS_MRMS_RETOP_FN_TEMPLATE: # File name template for MRMS echo top observations. - # + # # OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE: # File name template for NDAS surface and upper air observations. - # - # OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE: - # File name template for NDAS surface and upper air observations - # after processing by MET's pb2nc tool (to change format to NetCDF). + # This template is used by the workflow tasks that call the METplus Pb2nc + # tool on NDAS obs to find the input observation files containing ADP + # surface (ADPSFC) or ADP upper air (ADPUPA) fields and then generate + # NetCDF versions of these files. # - OBS_CCPA_APCP01h_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/ccpa.t{valid?fmt=%H}z.01h.hrap.conus.gb2' - OBS_CCPA_APCPgt01h_FN_TEMPLATE: '${OBS_CCPA_APCP01h_FN_TEMPLATE}_a${ACCUM_HH}h.nc' + OBS_CCPA_APCP_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/ccpa.t{valid?fmt=%H}z.01h.hrap.conus.gb2' OBS_NOHRSC_ASNOW_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/sfav2_CONUS_${ACCUM_HH}h_{valid?fmt=%Y%m%d%H}_grid184.grb2' OBS_MRMS_REFC_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/MergedReflectivityQCComposite_00.50_{valid?fmt=%Y%m%d}-{valid?fmt=%H%M%S}.grib2' OBS_MRMS_RETOP_FN_TEMPLATE: '{valid?fmt=%Y%m%d}/EchoTop_18_00.50_{valid?fmt=%Y%m%d}-{valid?fmt=%H%M%S}.grib2' OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE: 'prepbufr.ndas.{valid?fmt=%Y%m%d%H}' - OBS_NDAS_ADPSFCorADPUPA_FN_METPROC_TEMPLATE: '${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE}.nc' + # + # OBS_CCPA_APCP_FN_TEMPLATE_PCPCOMBINE_OUTPUT: + # Template used to specify the names of the output NetCDF observation + # files generated by the worfklow verification tasks that call the METplus + # PcpCombine tool on CCPA observations. (These files will contain obs + # APCP, both for 1 hour and for > 1 hour accumulation periods, in NetCDF + # format.) + # + # OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE_PB2NC_OUTPUT: + # Template used to specify the names of the output NetCDF observation + # files generated by the worfklow verification tasks that call the + # METplus Pb2nc tool on NDAS observations. (These files will contain + # obs ADPSFC or ADPUPA fields in NetCDF format.) + # + OBS_CCPA_APCP_FN_TEMPLATE_PCPCOMBINE_OUTPUT: '${OBS_CCPA_APCP_FN_TEMPLATE}_a${ACCUM_HH}h.nc' + OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE_PB2NC_OUTPUT: '${OBS_NDAS_ADPSFCorADPUPA_FN_TEMPLATE}.nc' # # VX_FCST_MODEL_NAME: # String that specifies a descriptive name for the model being verified. @@ -2436,11 +2446,11 @@ verification: # # VX_FIELDS: # The fields or groups of fields on which to run verification. Because - # ASNOW is often not of interest in cases outside of winter, and - # because observation files are not located for retrospective - # cases on NOAA HPSS before March 2020, ASNOW is not included by default. - # "ASNOW" may be added to this list in order to include - # the related verification tasks in the workflow. + # accumulated snow (ASNOW) is often not of interest in non-winter cases + # and because observation files for ASNOW are not availabe on NOAA HPSS + # for retrospective cases before March 2020, by default ASNOW is not + # included VX_FIELDS, but it may be added to this list in order to include + # the verification tasks for ASNOW in the workflow. # # VX_APCP_ACCUMS_HRS: # The 2-digit accumulation periods (in units of hours) to consider for @@ -2479,20 +2489,24 @@ verification: # # File name and path templates used in the verification tasks. # - # FCST_SUBDIR_TEMPLATE: A template for the subdirectory containing - # input forecast files for vx tasks. + # FCST_SUBDIR_TEMPLATE: + # Template for the subdirectory containing forecast files that are + # inputs to the verification tasks. # - # FCST_FN_TEMPLATE: A template for the forecast file names used as - # input to verification tasks. + # FCST_FN_TEMPLATE: + # Template for the names of the forecast files that are inputs to the + # verification tasks. # - # FCST_FN_METPROC_TEMPLATE: A template for how to name the forecast - # files for accumulated precipitation (APCP) with greater than 1-hour - # accumulation (i.e., 3-, 6-, and 24-hour accumulations) after - # processing by PcpCombine. + # FCST_FN_TEMPLATE_PCPCOMBINE_OUTPUT: + # Template used to specify the names of the output NetCDF forecast files + # generated by the worfklow verification tasks that call the METplus + # PcpCombine tool on forecasts. (These files will contain forecast APCP, + # both for 1 hour and for > 1 hour accumulation periods, in NetCDF + # format.) # FCST_SUBDIR_TEMPLATE: '{% if user.RUN_ENVIR == "nco" %}${NET_default}.{init?fmt=%Y%m%d?shift=-${time_lag}}/{init?fmt=%H?shift=-${time_lag}}{% else %}{init?fmt=%Y%m%d%H?shift=-${time_lag}}{% if global.DO_ENSEMBLE %}/${ensmem_name}{% endif %}/postprd{% endif %}' FCST_FN_TEMPLATE: '${NET_default}.t{init?fmt=%H?shift=-${time_lag}}z{% if user.RUN_ENVIR == "nco" and global.DO_ENSEMBLE %}.${ensmem_name}{% endif %}.prslev.f{lead?fmt=%HHH?shift=${time_lag}}.${POST_OUTPUT_DOMAIN_NAME}.grib2' - FCST_FN_METPROC_TEMPLATE: '${NET_default}.t{init?fmt=%H}z{% if user.RUN_ENVIR == "nco" and global.DO_ENSEMBLE %}.${ensmem_name}{% endif %}.prslev.f{lead?fmt=%HHH}.${POST_OUTPUT_DOMAIN_NAME}_${VAR}_a${ACCUM_HH}h.nc' + FCST_FN_TEMPLATE_PCPCOMBINE_OUTPUT: '${NET_default}.t{init?fmt=%H}z{% if user.RUN_ENVIR == "nco" and global.DO_ENSEMBLE %}.${ensmem_name}{% endif %}.prslev.f{lead?fmt=%HHH}.${POST_OUTPUT_DOMAIN_NAME}_${VAR}_a${ACCUM_HH}h.nc' # # For verification tasks that need observational data, this specifies # the maximum number of observation files that may be missing. If more diff --git a/ush/set_vx_params.sh b/ush/set_vx_params.sh index 04a714e9e6..737d4ae68b 100644 --- a/ush/set_vx_params.sh +++ b/ush/set_vx_params.sh @@ -148,7 +148,7 @@ The accumulation (accum_hh) must be a 2-digit integer: "APCP") fieldname_in_obs_input="${field}" fieldname_in_fcst_input="${field}" - fieldname_in_MET_output="${field}_${accum_hh}" + fieldname_in_MET_output="${field}" fieldname_in_MET_filedir_names="${field}${accum_hh}h" if [ "${accum_hh}" -gt "01" ]; then _field_is_APCPgt01h_="TRUE" @@ -174,7 +174,7 @@ this observation type (obtype) and field (field) combination: "ASNOW") fieldname_in_obs_input="${field}" fieldname_in_fcst_input="${field}" - fieldname_in_MET_output="${field}_${accum_hh}" + fieldname_in_MET_output="${field}" fieldname_in_MET_filedir_names="${field}${accum_hh}h" ;; From cb06fa130de2165e76341c75464e3a77647e90f6 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Fri, 10 Nov 2023 20:32:52 -0700 Subject: [PATCH 12/69] The METplus variables [OBS|FCST]_NATIVE_DATA_TYPE are deprecated and should be replaced with [OBS|FCST]_PCP_COMBINE_INPUT_DATATYPE. Thus, they are only relevant to METplus conf files that run PcpCombine. Thus, remove all use of these variables in conf files that do not run PcpCombine, and in the ones that do, replace them with the appropriate new variables (some already have the new variables). --- parm/metplus/EnsembleStat_APCPgt01h.conf | 4 ++-- parm/metplus/GridStat_APCP01h.conf | 4 ++-- parm/metplus/GridStat_APCPgt01h.conf | 4 ++-- parm/metplus/GridStat_ASNOW.conf | 4 ++-- parm/metplus/GridStat_REFC.conf | 4 ++-- parm/metplus/GridStat_RETOP.conf | 4 ++-- parm/metplus/GridStat_ensmean_APCP01h.conf | 4 ++-- parm/metplus/GridStat_ensmean_APCPgt01h.conf | 4 ++-- parm/metplus/GridStat_ensmean_ASNOW.conf | 4 ++-- parm/metplus/GridStat_ensmean_REFC.conf | 2 +- parm/metplus/GridStat_ensmean_RETOP.conf | 2 +- parm/metplus/GridStat_ensprob_APCP01h.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP03h.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP06h.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP24h.conf | 4 ++-- parm/metplus/GridStat_ensprob_ASNOW.conf | 4 ++-- parm/metplus/GridStat_ensprob_REFC.conf | 2 +- parm/metplus/GridStat_ensprob_RETOP.conf | 2 +- parm/metplus/PcpCombine_fcst_APCP.conf | 6 +++--- parm/metplus/PcpCombine_fcst_ASNOW.conf | 2 +- parm/metplus/PcpCombine_obs_APCP.conf | 3 ++- 21 files changed, 38 insertions(+), 37 deletions(-) diff --git a/parm/metplus/EnsembleStat_APCPgt01h.conf b/parm/metplus/EnsembleStat_APCPgt01h.conf index 351f077ed3..d9db72f26a 100644 --- a/parm/metplus/EnsembleStat_APCPgt01h.conf +++ b/parm/metplus/EnsembleStat_APCPgt01h.conf @@ -75,8 +75,8 @@ OBTYPE = {{obtype}} # FCST_IS_PROB = false -FCST_NATIVE_DATA_TYPE = GRIB -OBS_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} diff --git a/parm/metplus/GridStat_APCP01h.conf b/parm/metplus/GridStat_APCP01h.conf index cbf7148c3a..e735142370 100644 --- a/parm/metplus/GridStat_APCP01h.conf +++ b/parm/metplus/GridStat_APCP01h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. Here, # we store the value of the original lead in this column, i.e. the lead diff --git a/parm/metplus/GridStat_APCPgt01h.conf b/parm/metplus/GridStat_APCPgt01h.conf index 67dbc883f1..c1c33c1752 100644 --- a/parm/metplus/GridStat_APCPgt01h.conf +++ b/parm/metplus/GridStat_APCPgt01h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. Here, # we store the value of the original lead in this column, i.e. the lead diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 54d91a06b8..09b2133c1b 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -85,12 +85,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 9c67260600..693e89b1ba 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -89,12 +89,12 @@ GRID_STAT_GRID_WEIGHT_FLAG = NONE # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. Here, # we store the value of the original lead in this column, i.e. the lead diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index e68227209b..bf52b5d990 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -89,12 +89,12 @@ GRID_STAT_GRID_WEIGHT_FLAG = NONE # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. Here, # we store the value of the original lead in this column, i.e. the lead diff --git a/parm/metplus/GridStat_ensmean_APCP01h.conf b/parm/metplus/GridStat_ensmean_APCP01h.conf index 5d4c1ac658..3ffca63c48 100644 --- a/parm/metplus/GridStat_ensmean_APCP01h.conf +++ b/parm/metplus/GridStat_ensmean_APCP01h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensmean -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensmean_APCPgt01h.conf b/parm/metplus/GridStat_ensmean_APCPgt01h.conf index 25018aa3aa..cf890c3685 100644 --- a/parm/metplus/GridStat_ensmean_APCPgt01h.conf +++ b/parm/metplus/GridStat_ensmean_APCPgt01h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensmean -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index ed8abc1675..29fdf95ede 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensmean -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index 289d22d07d..71fb8b87a3 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -92,7 +92,7 @@ MODEL = {{vx_fcst_model_name}}_ensmean # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index 62f89ad044..22afddf581 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -92,7 +92,7 @@ MODEL = {{vx_fcst_model_name}}_ensmean # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_APCP01h.conf b/parm/metplus/GridStat_ensprob_APCP01h.conf index 54c8dcd877..ad6d5dd660 100644 --- a/parm/metplus/GridStat_ensprob_APCP01h.conf +++ b/parm/metplus/GridStat_ensprob_APCP01h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensprob -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_APCP03h.conf b/parm/metplus/GridStat_ensprob_APCP03h.conf index a59ee73a44..dfc042b486 100644 --- a/parm/metplus/GridStat_ensprob_APCP03h.conf +++ b/parm/metplus/GridStat_ensprob_APCP03h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensprob -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_APCP06h.conf b/parm/metplus/GridStat_ensprob_APCP06h.conf index 3e96c4f12d..1238d53fb3 100644 --- a/parm/metplus/GridStat_ensprob_APCP06h.conf +++ b/parm/metplus/GridStat_ensprob_APCP06h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensprob -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_APCP24h.conf b/parm/metplus/GridStat_ensprob_APCP24h.conf index d076516847..d4702a02cb 100644 --- a/parm/metplus/GridStat_ensprob_APCP24h.conf +++ b/parm/metplus/GridStat_ensprob_APCP24h.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensprob -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 096e8dd9ec..806726c114 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -90,12 +90,12 @@ GRID_STAT_REGRID_SHAPE = SQUARE # MODEL = {{vx_fcst_model_name}}_ensprob -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 8ab1480550..32615b7504 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -94,7 +94,7 @@ MODEL = {{vx_fcst_model_name}}_ensprob # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 3796cd74d6..23cf5d2191 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -94,7 +94,7 @@ MODEL = {{vx_fcst_model_name}}_ensprob # Name to identify observation data in output. # OBTYPE = {{obtype}} -OBS_NATIVE_DATA_TYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/PcpCombine_fcst_APCP.conf b/parm/metplus/PcpCombine_fcst_APCP.conf index 65204c7caa..9766f0abb1 100644 --- a/parm/metplus/PcpCombine_fcst_APCP.conf +++ b/parm/metplus/PcpCombine_fcst_APCP.conf @@ -73,7 +73,7 @@ FCST_PCP_COMBINE_INPUT_ACCUMS = 01 # Accumulation interval to generate in the output file. # FCST_PCP_COMBINE_OUTPUT_ACCUM = {{accum_hh}} - +# # If the "bucket" output NetCDF file already exists, DON'T skip the call # to PcpCombine. # @@ -91,7 +91,7 @@ FCST_PCP_COMBINE_MAX_FORECAST = 2d FCST_PCP_COMBINE_CONSTANT_INIT = True FCST_PCP_COMBINE_INPUT_DATATYPE = GRIB -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # End of [config] section and start of [dir] section. [dir] @@ -121,7 +121,7 @@ STAGING_DIR = {{staging_dir}} # FCST_PCP_COMBINE_INPUT_TEMPLATE = {{fcst_input_fn_template}} # -# Template for output from PCPCOMBINE relative to +# Template for output from PcpCombine relative to # FCST_PCP_COMBINE_OUTPUT_DIR. # FCST_PCP_COMBINE_OUTPUT_TEMPLATE = {{output_fn_template}} diff --git a/parm/metplus/PcpCombine_fcst_ASNOW.conf b/parm/metplus/PcpCombine_fcst_ASNOW.conf index 8433608c1b..0f05a2f761 100644 --- a/parm/metplus/PcpCombine_fcst_ASNOW.conf +++ b/parm/metplus/PcpCombine_fcst_ASNOW.conf @@ -101,7 +101,7 @@ FCST_PCP_COMBINE_MAX_FORECAST = 2d FCST_PCP_COMBINE_CONSTANT_INIT = True FCST_PCP_COMBINE_INPUT_DATATYPE = GRIB -FCST_NATIVE_DATA_TYPE = GRIB +#FCST_NATIVE_DATA_TYPE = GRIB # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PcpCombine_obs_APCP.conf b/parm/metplus/PcpCombine_obs_APCP.conf index bc2c4180eb..a54eb24040 100644 --- a/parm/metplus/PcpCombine_obs_APCP.conf +++ b/parm/metplus/PcpCombine_obs_APCP.conf @@ -99,7 +99,8 @@ PCP_COMBINE_SKIP_IF_OUTPUT_EXISTS = True # Name to identify observation data in output. # OBTYPE = CCPA -OBS_NATIVE_DATA_TYPE = GRIB +OBS_PCP_COMBINE_INPUT_DATATYPE = GRIB +#OBS_NATIVE_DATA_TYPE = GRIB # End of [config] section and start of [dir] section. [dir] From 76cc60b5c138c5154b9ced081c8ee1f9d734c015 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 13 Nov 2023 14:11:08 -0700 Subject: [PATCH 13/69] Combine METplus config files for APCP01h and APCPgt01h. --- ...Stat_APCPgt01h.conf => GridStat_APCP.conf} | 0 parm/metplus/GridStat_APCP01h.conf | 326 ------------------ ...gional_run_met_gridstat_or_pointstat_vx.sh | 4 +- 3 files changed, 1 insertion(+), 329 deletions(-) rename parm/metplus/{GridStat_APCPgt01h.conf => GridStat_APCP.conf} (100%) delete mode 100644 parm/metplus/GridStat_APCP01h.conf diff --git a/parm/metplus/GridStat_APCPgt01h.conf b/parm/metplus/GridStat_APCP.conf similarity index 100% rename from parm/metplus/GridStat_APCPgt01h.conf rename to parm/metplus/GridStat_APCP.conf diff --git a/parm/metplus/GridStat_APCP01h.conf b/parm/metplus/GridStat_APCP01h.conf deleted file mode 100644 index e735142370..0000000000 --- a/parm/metplus/GridStat_APCP01h.conf +++ /dev/null @@ -1,326 +0,0 @@ -# GridStat METplus Configuration - -[config] - -# List of applications (tools) to run. -PROCESS_LIST = GridStat - -# time looping - options are INIT, VALID, RETRO, and REALTIME -# If set to INIT or RETRO: -# INIT_TIME_FMT, INIT_BEG, INIT_END, and INIT_INCREMENT must also be set -# If set to VALID or REALTIME: -# VALID_TIME_FMT, VALID_BEG, VALID_END, and VALID_INCREMENT must also be set -LOOP_BY = INIT - -# Format of INIT_BEG and INIT_END using % items -# %Y = 4 digit year, %m = 2 digit month, %d = 2 digit day, etc. -# see www.strftime.org for more information -# %Y%m%d%H expands to YYYYMMDDHH -INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT -INIT_BEG = {{cdate}} - -# End time for METplus run - must match INIT_TIME_FMT -INIT_END = {{cdate}} - -# Increment between METplus runs (in seconds if no units are specified). -# Must be >= 60 seconds. -INIT_INCREMENT = 3600 - -# List of forecast leads to process for each run time (init or valid) -# In hours if units are not specified -# If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} -# -# Order of loops to process data - Options are times, processes -# Not relevant if only one item is in the PROCESS_LIST -# times = run all wrappers in the PROCESS_LIST for a single run time, then -# increment the run time and run all wrappers again until all times have -# been evaluated. -# processes = run the first wrapper in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST until all -# wrappers have been run -# -LOOP_ORDER = times - -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. -LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} -# -# Specify the name of the METplus log file. -# -LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} -# -# Specify the location and name of the final METplus conf file. -# -METPLUS_CONF = {GRID_STAT_OUTPUT_DIR}/metplus_final.{{metplus_config_fn}} -# -# Location of MET configuration file to pass to GridStat. -# -# References PARM_BASE, which is the location of the parm directory -# corresponding to the ush directory of the run_metplus.py script that -# is called or the value of the environment variable METPLUS_PARM_BASE -# if set. -# -GRID_STAT_CONFIG_FILE = {PARM_BASE}/met_config/GridStatConfig_wrapped - -# grid to remap data. Value is set as the 'to_grid' variable in the 'regrid' dictionary -# See MET User's Guide for more information -GRID_STAT_REGRID_TO_GRID = FCST -GRID_STAT_REGRID_VLD_THRESH = 0.5 -GRID_STAT_REGRID_METHOD = BUDGET -GRID_STAT_REGRID_WIDTH = 2 -GRID_STAT_REGRID_SHAPE = SQUARE - -#GRID_STAT_INTERP_FIELD = BOTH -#GRID_STAT_INTERP_VLD_THRESH = 1.0 -#GRID_STAT_INTERP_SHAPE = SQUARE -#GRID_STAT_INTERP_TYPE_METHOD = NEAREST -#GRID_STAT_INTERP_TYPE_WIDTH = 1 - -#GRID_STAT_GRID_WEIGHT_FLAG = - -# -# Name to identify model (forecast) data in output. -# -# The variable MODEL is recorded in the stat files, and the data in -# these files is then plotted (e.g. using METViewer). Here, we add a -# suffix to MODEL that identifies the forecast ensemble member. This -# makes it easier to identify each curve. -# -MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} - -#FCST_NATIVE_DATA_TYPE = GRIB -# -# Name to identify observation data in output. -# -OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB -# -# Value to enter under the DESC column in the output stat file. Here, -# we store the value of the original lead in this column, i.e. the lead -# with zero corresponding to the actual start time of the forecast (which -# is (cdate - time_lag)), not to cdate. This is just the lead in -# LEAD_SEQ with the time lag (time_lag) of the current forecast member -# added on. -# -# Uncomment this line only after upgrading to METplus 5.x. -#GRID_STAT_DESC = {lead?fmt=%H%M%S?shift={{time_lag}}} -GRID_STAT_DESC = NA - -# List of variables to compare in GridStat - FCST_VAR1 variables correspond -# to OBS_VAR1 variables -# Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations -# are needed for different tools - -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; -# -# String to search for in the foreast input files for forecast variable -# 1. -# -FCST_VAR1_NAME = {{fieldname_in_fcst_input}} -# -# List of levels to evaluate for forecast variable 1. -# -ACCUM_HH = {{accum_hh}} -#FCST_VAR1_LEVELS = A{ACCUM_HH} -FCST_VAR1_LEVELS = A1 -# -# Lead to use both in naming of the output .stat and .nc files and for -# lead values in those files. -# -# The specification of set_attr_lead below causes MET/METplus to use the -# lead values in the variable LEAD_SEQ set above, which are the same for -# all ensemble forecast members (i.e. regardless of whether members are -# time lagged with respect to the nominal cycle date specified by cdate). -# If set_attr_lead were not specified as below, then MET/METplus would -# get the lead from the input forecast file, and that would in general -# differ from one ensemble member to the next depending on whether the -# member is time-lagged. That would cause confusion, so here, we always -# use lead values with zero lead corresponding to cdate. -# -FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; -# -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} -# -# String to search for in the observation input files for observation -# variable 1. -# -OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# -OBS_VAR1_LEVELS = A{ACCUM_HH} -# -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. -# -FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 -FCST_GRID_STAT_FILE_WINDOW_END = 0 -OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 -OBS_GRID_STAT_FILE_WINDOW_END = 0 - -# MET GridStat neighborhood values -# See the MET User's Guide GridStat section for more information -GRID_STAT_NEIGHBORHOOD_FIELD = BOTH - -# width value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_WIDTH = 3,5,7 - -# shape value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_SHAPE = SQUARE - -# cov thresh list passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_COV_THRESH = >=0.5 - -# Set to true to run GridStat separately for each field specified -# Set to false to create one run of GridStat per run time that -# includes all fields specified. -GRID_STAT_ONCE_PER_FIELD = False -# -# Set to true if forecast data is probabilistic. -# -FCST_IS_PROB = False -# -# Only used if FCST_IS_PROB is true - sets probabilistic threshold -# -FCST_GRID_STAT_PROB_THRESH = ==0.1 - -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} - -# Climatology data -#GRID_STAT_CLIMO_MEAN_FILE_NAME = -#GRID_STAT_CLIMO_MEAN_FIELD = -#GRID_STAT_CLIMO_MEAN_REGRID_METHOD = -#GRID_STAT_CLIMO_MEAN_REGRID_WIDTH = -#GRID_STAT_CLIMO_MEAN_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_MEAN_REGRID_SHAPE = -#GRID_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_MEAN_MATCH_MONTH = -#GRID_STAT_CLIMO_MEAN_DAY_INTERVAL = -#GRID_STAT_CLIMO_MEAN_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_STDEV_FILE_NAME = -#GRID_STAT_CLIMO_STDEV_FIELD = -#GRID_STAT_CLIMO_STDEV_REGRID_METHOD = -#GRID_STAT_CLIMO_STDEV_REGRID_WIDTH = -#GRID_STAT_CLIMO_STDEV_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_STDEV_REGRID_SHAPE = -#GRID_STAT_CLIMO_STDEV_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_STDEV_MATCH_MONTH = -#GRID_STAT_CLIMO_STDEV_DAY_INTERVAL = -#GRID_STAT_CLIMO_STDEV_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_CDF_BINS = 1 -#GRID_STAT_CLIMO_CDF_CENTER_BINS = False -#GRID_STAT_CLIMO_CDF_WRITE_BINS = True - -GRID_STAT_MASK_GRID = - -# Statistical output types -GRID_STAT_OUTPUT_FLAG_FHO = STAT -GRID_STAT_OUTPUT_FLAG_CTC = STAT -GRID_STAT_OUTPUT_FLAG_CTS = STAT -#GRID_STAT_OUTPUT_FLAG_MCTC = NONE -#GRID_STAT_OUTPUT_FLAG_MCTS = NONE -GRID_STAT_OUTPUT_FLAG_CNT = STAT -#GRID_STAT_OUTPUT_FLAG_SL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_SAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VCNT = NONE -#GRID_STAT_OUTPUT_FLAG_PCT = NONE -#GRID_STAT_OUTPUT_FLAG_PSTD = NONE -#GRID_STAT_OUTPUT_FLAG_PJC = NONE -#GRID_STAT_OUTPUT_FLAG_PRC = NONE -#GRID_STAT_OUTPUT_FLAG_ECLV = BOTH -GRID_STAT_OUTPUT_FLAG_NBRCTC = STAT -GRID_STAT_OUTPUT_FLAG_NBRCTS = STAT -GRID_STAT_OUTPUT_FLAG_NBRCNT = STAT -#GRID_STAT_OUTPUT_FLAG_GRAD = BOTH -#GRID_STAT_OUTPUT_FLAG_DMAP = NONE - -# NetCDF matched pairs output file -#GRID_STAT_NC_PAIRS_VAR_NAME = -GRID_STAT_NC_PAIRS_FLAG_LATLON = FALSE -GRID_STAT_NC_PAIRS_FLAG_RAW = FALSE -GRID_STAT_NC_PAIRS_FLAG_DIFF = FALSE -GRID_STAT_NC_PAIRS_FLAG_CLIMO = FALSE -#GRID_STAT_NC_PAIRS_FLAG_CLIMO_CDP = FALSE -GRID_STAT_NC_PAIRS_FLAG_WEIGHT = FALSE -GRID_STAT_NC_PAIRS_FLAG_NBRHD = FALSE -#GRID_STAT_NC_PAIRS_FLAG_FOURIER = FALSE -#GRID_STAT_NC_PAIRS_FLAG_GRADIENT = FALSE -#GRID_STAT_NC_PAIRS_FLAG_DISTANCE_MAP = FALSE -GRID_STAT_NC_PAIRS_FLAG_APPLY_MASK = FALSE - -# End of [config] section and start of [dir] section. -[dir] -# -# Directory containing observation input to GridStat. -# -OBS_GRID_STAT_INPUT_DIR = {{obs_input_dir}} -# -# Directory containing forecast input to GridStat. -# -FCST_GRID_STAT_INPUT_DIR = {{fcst_input_dir}} -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_DIR = -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_DIR = -# -# Directory in which to write output from GridStat. -# -# OUTPUT_BASE apparently has to be set to something; it cannot be left -# to its default value. But it is not explicitly used elsewhere in this -# configuration file. -# -OUTPUT_BASE = {{output_base}} -GRID_STAT_OUTPUT_DIR = {{output_dir}} -# -# Directory for staging data. -# -STAGING_DIR = {{staging_dir}} - -# End of [dir] section and start of [filename_templates] section. -[filename_templates] -# -# Template for observation input to GridStat relative to -# OBS_GRID_STAT_INPUT_DIR. -# -OBS_GRID_STAT_INPUT_TEMPLATE = {{obs_input_fn_template}} -# -# Template for forecast input to GridStat relative to -# FCST_GRID_STAT_INPUT_DIR. -# -FCST_GRID_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} -# -# Template for output from GridStat relative to GRID_STAT_OUTPUT_DIR. -# -GRID_STAT_OUTPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_STDEV_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE = -# -# Variable used to specify one or more verification mask files for -# GridStat. Not used for this example. -# -GRID_STAT_VERIFICATION_MASK_TEMPLATE = {MET_INSTALL_DIR}/share/met/poly/CONUS.poly diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index 91928b20b2..3d7a49980f 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -317,9 +317,7 @@ fi # # First, set the base file names. # -if [ "${field_is_APCPgt01h}" = "TRUE" ]; then - metplus_config_tmpl_fn="APCPgt01h" -elif [ "${VAR}" = "ASNOW" ]; then +if [ "${VAR}" = "APCP" ] || [ "${VAR}" = "ASNOW" ]; then metplus_config_tmpl_fn="${VAR}" else metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" From fef8d25d5a27ca2c6b78a04c0bdb04c717d268b6 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 13 Nov 2023 16:15:34 -0700 Subject: [PATCH 14/69] For GenEnsProd and EnsembleStat METplus tools, combine conf file templates for APCP01h and APCPgt01h. --- ...at_APCP01h.conf => EnsembleStat_APCP.conf} | 4 +- parm/metplus/EnsembleStat_APCPgt01h.conf | 284 ------------------ ...Prod_APCP01h.conf => GenEnsProd_APCP.conf} | 2 +- parm/metplus/GenEnsProd_APCPgt01h.conf | 202 ------------- ...onal_run_met_genensprod_or_ensemblestat.sh | 8 +- 5 files changed, 4 insertions(+), 496 deletions(-) rename parm/metplus/{EnsembleStat_APCP01h.conf => EnsembleStat_APCP.conf} (99%) delete mode 100644 parm/metplus/EnsembleStat_APCPgt01h.conf rename parm/metplus/{GenEnsProd_APCP01h.conf => GenEnsProd_APCP.conf} (99%) delete mode 100644 parm/metplus/GenEnsProd_APCPgt01h.conf diff --git a/parm/metplus/EnsembleStat_APCP01h.conf b/parm/metplus/EnsembleStat_APCP.conf similarity index 99% rename from parm/metplus/EnsembleStat_APCP01h.conf rename to parm/metplus/EnsembleStat_APCP.conf index d0068f0e89..751cb43232 100644 --- a/parm/metplus/EnsembleStat_APCP01h.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -188,11 +188,11 @@ ACCUM_HH = {{accum_hh}} # FCST_VARn_LEVELS, (optional) FCST_VARn_OPTION and OBS_VARn_NAME, # OBS_VARn_LEVELS, (optional) OBS_VARn_OPTION. # -FCST_VAR1_NAME = {{fieldname_in_fcst_input}} +FCST_VAR1_NAME = {{fieldname_in_met_output}} FCST_VAR1_LEVELS = A{ACCUM_HH} FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; -OBS_VAR1_NAME = {{fieldname_in_obs_input}} +OBS_VAR1_NAME = {{fieldname_in_met_output}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS} diff --git a/parm/metplus/EnsembleStat_APCPgt01h.conf b/parm/metplus/EnsembleStat_APCPgt01h.conf deleted file mode 100644 index d9db72f26a..0000000000 --- a/parm/metplus/EnsembleStat_APCPgt01h.conf +++ /dev/null @@ -1,284 +0,0 @@ -# EnsembleStat METplus Configuration - -[config] - -# List of applications (tools) to run. -PROCESS_LIST = EnsembleStat - -# time looping - options are INIT, VALID, RETRO, and REALTIME -# If set to INIT or RETRO: -# INIT_TIME_FMT, INIT_BEG, INIT_END, and INIT_INCREMENT must also be set -# If set to VALID or REALTIME: -# VALID_TIME_FMT, VALID_BEG, VALID_END, and VALID_INCREMENT must also be set -LOOP_BY = INIT - -# Format of INIT_BEG and INIT_END using % items -# %Y = 4 digit year, %m = 2 digit month, %d = 2 digit day, etc. -# see www.strftime.org for more information -# %Y%m%d%H expands to YYYYMMDDHH -INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT -INIT_BEG = {{cdate}} - -# End time for METplus run - must match INIT_TIME_FMT -INIT_END = {{cdate}} - -# Increment between METplus runs (in seconds if no units are specified). -# Must be >= 60 seconds. -INIT_INCREMENT = 3600 - -# List of forecast leads to process for each run time (init or valid) -# In hours if units are not specified -# If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} -# -# Order of loops to process data - Options are times, processes -# Not relevant if only one item is in the PROCESS_LIST -# times = run all wrappers in the PROCESS_LIST for a single run time, then -# increment the run time and run all wrappers again until all times have -# been evaluated. -# processes = run the first wrapper in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST until all -# wrappers have been run -# -LOOP_ORDER = times -# -# Specify the name of the METplus log file. -# -LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} -# -# Specify the location and name of the final METplus conf file. -# -METPLUS_CONF = {ENSEMBLE_STAT_OUTPUT_DIR}/metplus_final.{{metplus_config_fn}} -# -# Location of MET configuration file to pass to EnsembleStat. -# -# References PARM_BASE, which is the location of the parm directory -# corresponding to the ush directory of the run_metplus.py script that -# is called or the value of the environment variable METPLUS_PARM_BASE -# if set. -# -ENSEMBLE_STAT_CONFIG_FILE = {PARM_BASE}/met_config/EnsembleStatConfig_wrapped -# -# Name to identify model (forecast) data in output. -# -MODEL = {{vx_fcst_model_name}} - -ENSEMBLE_STAT_DESC = NA -# -# Name to identify observation data in output. -# -OBTYPE = {{obtype}} -# -# Forecast data description variables. -# -FCST_IS_PROB = false - -#FCST_NATIVE_DATA_TYPE = GRIB -#OBS_NATIVE_DATA_TYPE = GRIB - -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. -LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - -OBS_FILE_WINDOW_BEGIN = 0 -OBS_FILE_WINDOW_END = 0 - -OBS_ENSEMBLE_STAT_WINDOW_BEGIN = 0 -OBS_ENSEMBLE_STAT_WINDOW_END = 0 - -# number of expected members for ensemble. Should correspond with the -# number of items in the list for FCST_ENSEMBLE_STAT_INPUT_TEMPLATE -ENSEMBLE_STAT_N_MEMBERS = {{num_ens_members}} - -# ens.ens_thresh value in the MET config file -# threshold for ratio of valid files to expected files to allow app to run -ENSEMBLE_STAT_ENS_THRESH = 0.05 - -# ens.vld_thresh value in the MET config file -ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 - -FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} - -# ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. -# If the variable is not defined, or the value is not set -# than the MET default is used. -ENSEMBLE_STAT_MET_OBS_ERR_TABLE = {MET_BASE}/table_files/obs_error_table.txt - - -# Used in the MET config file for: regrid to_grid field -ENSEMBLE_STAT_REGRID_TO_GRID = FCST -ENSEMBLE_STAT_REGRID_METHOD = BUDGET -ENSEMBLE_STAT_REGRID_WIDTH = 2 -ENSEMBLE_STAT_REGRID_VLD_THRESH = 0.5 -ENSEMBLE_STAT_REGRID_SHAPE = SQUARE - -ENSEMBLE_STAT_CENSOR_THRESH = -ENSEMBLE_STAT_CENSOR_VAL = - -ENSEMBLE_STAT_MESSAGE_TYPE = - -ENSEMBLE_STAT_DUPLICATE_FLAG = UNIQUE -ENSEMBLE_STAT_SKIP_CONST = TRUE - -ENSEMBLE_STAT_OBS_ERROR_FLAG = TRUE - -ENSEMBLE_STAT_ENS_SSVAR_BIN_SIZE = 1.0 -ENSEMBLE_STAT_ENS_PHIST_BIN_SIZE = 0.05 - -#ENSEMBLE_STAT_CLIMO_MEAN_FILE_NAME = -#ENSEMBLE_STAT_CLIMO_MEAN_FIELD = -#ENSEMBLE_STAT_CLIMO_MEAN_REGRID_METHOD = -#ENSEMBLE_STAT_CLIMO_MEAN_REGRID_WIDTH = -#ENSEMBLE_STAT_CLIMO_MEAN_REGRID_VLD_THRESH = -#ENSEMBLE_STAT_CLIMO_MEAN_REGRID_SHAPE = -#ENSEMBLE_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = -#ENSEMBLE_STAT_CLIMO_MEAN_MATCH_MONTH = -#ENSEMBLE_STAT_CLIMO_MEAN_DAY_INTERVAL = 31 -#ENSEMBLE_STAT_CLIMO_MEAN_HOUR_INTERVAL = 6 - -#ENSEMBLE_STAT_CLIMO_STDEV_FILE_NAME = -#ENSEMBLE_STAT_CLIMO_STDEV_FIELD = -#ENSEMBLE_STAT_CLIMO_STDEV_REGRID_METHOD = -#ENSEMBLE_STAT_CLIMO_STDEV_REGRID_WIDTH = -#ENSEMBLE_STAT_CLIMO_STDEV_REGRID_VLD_THRESH = -#ENSEMBLE_STAT_CLIMO_STDEV_REGRID_SHAPE = -#ENSEMBLE_STAT_CLIMO_STDEV_TIME_INTERP_METHOD = -#ENSEMBLE_STAT_CLIMO_STDEV_MATCH_MONTH = -#ENSEMBLE_STAT_CLIMO_STDEV_DAY_INTERVAL = 31 -#ENSEMBLE_STAT_CLIMO_STDEV_HOUR_INTERVAL = 6 - - -ENSEMBLE_STAT_CLIMO_CDF_BINS = 1 -ENSEMBLE_STAT_CLIMO_CDF_CENTER_BINS = False -ENSEMBLE_STAT_CLIMO_CDF_WRITE_BINS = False - -ENSEMBLE_STAT_MASK_GRID = - -ENSEMBLE_STAT_CI_ALPHA = 0.05 - -ENSEMBLE_STAT_INTERP_FIELD = BOTH -ENSEMBLE_STAT_INTERP_VLD_THRESH = 1.0 -ENSEMBLE_STAT_INTERP_SHAPE = SQUARE -ENSEMBLE_STAT_INTERP_METHOD = NEAREST -ENSEMBLE_STAT_INTERP_WIDTH = 1 - -ENSEMBLE_STAT_OUTPUT_FLAG_ECNT = STAT -ENSEMBLE_STAT_OUTPUT_FLAG_RPS = NONE -ENSEMBLE_STAT_OUTPUT_FLAG_RHIST = STAT -ENSEMBLE_STAT_OUTPUT_FLAG_PHIST = STAT -ENSEMBLE_STAT_OUTPUT_FLAG_ORANK = STAT -ENSEMBLE_STAT_OUTPUT_FLAG_SSVAR = STAT -ENSEMBLE_STAT_OUTPUT_FLAG_RELP = STAT - -ENSEMBLE_STAT_ENSEMBLE_FLAG_LATLON = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_MEAN = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_STDEV = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_MINUS = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_PLUS = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_MIN = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_MAX = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_RANGE = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_VLD_COUNT = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_FREQUENCY = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_NEP = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_NMEP = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_RANK = FALSE -ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE -# -# Precipitation accumulation interval in 2-digit hours. -# -ACCUM_HH = {{accum_hh}} -# -# Forecast and observation variables and levels as specified in the fcst -# field dictionary of the MET configuration file. Specify as FCST_VARn_NAME, -# FCST_VARn_LEVELS, (optional) FCST_VARn_OPTION and OBS_VARn_NAME, -# OBS_VARn_LEVELS, (optional) OBS_VARn_OPTION. -# -FCST_VAR1_NAME = {{fieldname_in_met_output}} -FCST_VAR1_LEVELS = A{ACCUM_HH} -FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; - ens_phist_bin_size = 0.05; -OBS_VAR1_NAME = {{fieldname_in_met_output}} -OBS_VAR1_LEVELS = A{ACCUM_HH} -OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS} - -[dir] -# -# OUTPUT_BASE apparently has to be set to something; it cannot be left -# to its default value. But it is not explicitly used elsewhere in this -# configuration file. -# -OUTPUT_BASE = {{output_base}} -# -# Point observation input directory for EnsembleStat. -# -OBS_ENSEMBLE_STAT_POINT_INPUT_DIR = -# -# Grid observation input directory for EnsembleStat. -# -OBS_ENSEMBLE_STAT_GRID_INPUT_DIR = {{obs_input_dir}} -# -# Forecast model input directory for EnsembleStat. -# -FCST_ENSEMBLE_STAT_INPUT_DIR = {{fcst_input_dir}} -# -# Directory containing climatology mean input to EnsembleStat. Not used -# in this example -# -ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR = -# -# Directory containing climatology mean input to EnsembleStat. Not used -# in this example. -# -ENSEMBLE_STAT_CLIMO_STDEV_INPUT_DIR = -# -# Output directory for EnsembleStat. -# -ENSEMBLE_STAT_OUTPUT_DIR = {{output_dir}} -# -# Directory for staging data. -# -STAGING_DIR = {{staging_dir}} - -# End of [dir] section and start of [filename_templates] section. -[filename_templates] -# -# Template for point observation input to EnsembleStat relative to -# OBS_ENSEMBLE_STAT_POINT_INPUT_DIR. -# -OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE = -# -# Template for gridded observation input to EnsembleStat relative to -# OBS_ENSEMBLE_STAT_GRID_INPUT_DIR. -# -OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE = {{obs_input_fn_template}} -# -# Template for forecast input to EnsembleStat relative to -# FCST_ENSEMBLE_STAT_INPUT_DIR. -# -# Note that this can be a comma separated list of ensemble members -# or a single line, - filename wildcard characters may be used, ? or *. -# -FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} -# -# Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. -# -ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L - -# -# Template for climatology input to EnsembleStat relative to -# ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. -# -ENSEMBLE_STAT_CLIMO_MEAN_INPUT_TEMPLATE = -# -# Template for climatology input to EnsembleStat relative to -# ENSEMBLE_STAT_CLIMO_STDEV_INPUT_DIR. Not used in this example. -# -ENSEMBLE_STAT_CLIMO_STDEV_INPUT_TEMPLATE = -# -# Variable used to specify one or more verification mask files for -# EnsembleStat. Not used for this example. -# -ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE = {MET_INSTALL_DIR}/share/met/poly/CONUS.poly diff --git a/parm/metplus/GenEnsProd_APCP01h.conf b/parm/metplus/GenEnsProd_APCP.conf similarity index 99% rename from parm/metplus/GenEnsProd_APCP01h.conf rename to parm/metplus/GenEnsProd_APCP.conf index 988699d844..cb8e1ba3cc 100644 --- a/parm/metplus/GenEnsProd_APCP01h.conf +++ b/parm/metplus/GenEnsProd_APCP.conf @@ -115,7 +115,7 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # Ensemble Variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION -ENS_VAR1_NAME = {{fieldname_in_fcst_input}} +ENS_VAR1_NAME = {{fieldname_in_met_output}} ENS_VAR1_LEVELS = A{{accum_hh}} ENS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GenEnsProd_APCPgt01h.conf b/parm/metplus/GenEnsProd_APCPgt01h.conf deleted file mode 100644 index ec45f78734..0000000000 --- a/parm/metplus/GenEnsProd_APCPgt01h.conf +++ /dev/null @@ -1,202 +0,0 @@ -# GenEnsProd METplus Configuration - -[config] - -# List of applications (tools) to run. -PROCESS_LIST = GenEnsProd - -# time looping - options are INIT, VALID, RETRO, and REALTIME -# If set to INIT or RETRO: -# INIT_TIME_FMT, INIT_BEG, INIT_END, and INIT_INCREMENT must also be set -# If set to VALID or REALTIME: -# VALID_TIME_FMT, VALID_BEG, VALID_END, and VALID_INCREMENT must also be set -LOOP_BY = INIT - -# Format of INIT_BEG and INIT_END using % items -# %Y = 4 digit year, %m = 2 digit month, %d = 2 digit day, etc. -# see www.strftime.org for more information -# %Y%m%d%H expands to YYYYMMDDHH -INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT -INIT_BEG = {{cdate}} - -# End time for METplus run - must match INIT_TIME_FMT -INIT_END = {{cdate}} - -# Increment between METplus runs (in seconds if no units are specified). -# Must be >= 60 seconds. -INIT_INCREMENT = 3600 - -# List of forecast leads to process for each run time (init or valid) -# In hours if units are not specified -# If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} -# -# Order of loops to process data - Options are times, processes -# Not relevant if only one item is in the PROCESS_LIST -# times = run all wrappers in the PROCESS_LIST for a single run time, then -# increment the run time and run all wrappers again until all times have -# been evaluated. -# processes = run the first wrapper in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST until all -# wrappers have been run -# -LOOP_ORDER = times -# -# Specify the name of the METplus log file. -# -LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} -# -# Specify the location and name of the final METplus conf file. -# -METPLUS_CONF = {GEN_ENS_PROD_OUTPUT_DIR}/metplus_final.{{metplus_config_fn}} -# -# Name to identify model (forecast) data in output. -# -MODEL = {{vx_fcst_model_name}} - -GEN_ENS_PROD_DESC = NA -# -# Name to identify observation data in output. -# -OBTYPE = {{obtype}} - -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. -LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - -### -# File I/O -### - -# -# Forecast model input directory for GenEnsProd. -# -GEN_ENS_PROD_INPUT_DIR = {{fcst_input_dir}} -# -# Template for forecast input to GenEnsProd relative to -# GEN_ENS_PROD_INPUT_DIR. -# -# Note that this can be a comma separated list of ensemble members -# or a single line, - filename wildcard characters may be used, ? or *. -# -GEN_ENS_PROD_INPUT_TEMPLATE = {{fcst_input_fn_template}} - -# Forecast data description variables -FCST_IS_PROB = false - -# GEN_ENS_PROD_CTRL_INPUT_DIR = {INPUT_BASE} -# GEN_ENS_PROD_CTRL_INPUT_TEMPLATE = -# {init?fmt=%Y%m%d%H}/mem1/postprd/{ENV[NET]}.t{init?fmt=%H}z.bgdawpf{lead?fmt=%HHH}.tm{init?fmt=%H}.grib2 - -# -# Output directory for GenEnsProd. -# -# OUTPUT_BASE apparently has to be set to something; it cannot be left -# to its default value. But it is not explicitly used elsewhere in this -# configuration file. -# -OUTPUT_BASE = {{output_base}} -GEN_ENS_PROD_OUTPUT_DIR = {{output_dir}} -# -# Template for output from GenEnsProd relative to GEN_ENS_PROD_OUTPUT_DIR. -# -GEN_ENS_PROD_OUTPUT_TEMPLATE = gen_ens_prod_{MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L_{valid?fmt=%Y%m%d_%H%M%S}V.nc -# -# Directory for staging data. -# -STAGING_DIR = {{staging_dir}} -# -# There are n ensembles but 1 is used as control, so specify n-1 members. -# -GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} - -### -# Field Info -### - -# Ensemble Variables and levels as specified in the ens field dictionary -# of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, -# (optional) ENS_VARn_OPTION -# Note: -# For APCP variables with accumulation periods greater than 1 hour (e.g. -# 03h, 06h, 24h), ENS_VAR1_NAME in the corresponding METplus configuration -# file specifies the name of the field in the NetCDF file(s) generated by -# MET's pcp_combine tool. This tool reads in the grib2 file(s) containing -# 1 hour accumulation data and outputs NetCDF file(s) with the appropriate -# > 1 hour accumulation. These output NetCDF files name their arrays as -# specified by the environment variable fieldname_in_met_output. Thus, -# that is the value we set ENS_VAR1_NAME to here, not to the name of the -# variable in the grib2 file. -ENS_VAR1_NAME = {{fieldname_in_met_output}} -ENS_VAR1_LEVELS = A{{accum_hh}} -ENS_VAR1_THRESH = {{field_thresholds}} - -### -# GenEnsProd -### - -# GEN_ENS_PROD_REGRID_TO_GRID = NONE -# GEN_ENS_PROD_REGRID_METHOD = NEAREST -# GEN_ENS_PROD_REGRID_WIDTH = 1 -# GEN_ENS_PROD_REGRID_VLD_THRESH = 0.5 -# GEN_ENS_PROD_REGRID_SHAPE = SQUARE - -# GEN_ENS_PROD_CENSOR_THRESH = -# GEN_ENS_PROD_CENSOR_VAL = -# GEN_ENS_PROD_CAT_THRESH = -# GEN_ENS_PROD_NC_VAR_STR = - -# Threshold for ratio of valid files to expected files to allow app to run -GEN_ENS_PROD_ENS_THRESH = 0.05 - -GEN_ENS_PROD_NBRHD_PROB_WIDTH = 27 -GEN_ENS_PROD_NBRHD_PROB_SHAPE = CIRCLE -GEN_ENS_PROD_NBRHD_PROB_VLD_THRESH = 0.0 - -# GEN_ENS_PROD_NMEP_SMOOTH_VLD_THRESH = 0.0 -# GEN_ENS_PROD_NMEP_SMOOTH_SHAPE = CIRCLE -# GEN_ENS_PROD_NMEP_SMOOTH_GAUSSIAN_DX = 81.27 -# GEN_ENS_PROD_NMEP_SMOOTH_GAUSSIAN_RADIUS = 120 -# GEN_ENS_PROD_NMEP_SMOOTH_METHOD = GAUSSIAN -# GEN_ENS_PROD_NMEP_SMOOTH_WIDTH = 1 - -# GEN_ENS_PROD_CLIMO_MEAN_FILE_NAME = -# GEN_ENS_PROD_CLIMO_MEAN_FIELD = -# GEN_ENS_PROD_CLIMO_MEAN_REGRID_METHOD = -# GEN_ENS_PROD_CLIMO_MEAN_REGRID_WIDTH = -# GEN_ENS_PROD_CLIMO_MEAN_REGRID_VLD_THRESH = -# GEN_ENS_PROD_CLIMO_MEAN_REGRID_SHAPE = -# GEN_ENS_PROD_CLIMO_MEAN_TIME_INTERP_METHOD = -# GEN_ENS_PROD_CLIMO_MEAN_MATCH_MONTH = -# GEN_ENS_PROD_CLIMO_MEAN_DAY_INTERVAL = 31 -# GEN_ENS_PROD_CLIMO_MEAN_HOUR_INTERVAL = 6 - -# GEN_ENS_PROD_CLIMO_STDEV_FILE_NAME = -# GEN_ENS_PROD_CLIMO_STDEV_FIELD = -# GEN_ENS_PROD_CLIMO_STDEV_REGRID_METHOD = -# GEN_ENS_PROD_CLIMO_STDEV_REGRID_WIDTH = -# GEN_ENS_PROD_CLIMO_STDEV_REGRID_VLD_THRESH = -# GEN_ENS_PROD_CLIMO_STDEV_REGRID_SHAPE = -# GEN_ENS_PROD_CLIMO_STDEV_TIME_INTERP_METHOD = -# GEN_ENS_PROD_CLIMO_STDEV_MATCH_MONTH = -# GEN_ENS_PROD_CLIMO_STDEV_DAY_INTERVAL = 31 -# GEN_ENS_PROD_CLIMO_STDEV_HOUR_INTERVAL = 6 - -GEN_ENS_PROD_ENSEMBLE_FLAG_LATLON = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_MEAN = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_STDEV = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_MINUS = FALSE -GEN_ENS_PROD_ENSEMBLE_FLAG_PLUS = FALSE -GEN_ENS_PROD_ENSEMBLE_FLAG_MIN = FALSE -GEN_ENS_PROD_ENSEMBLE_FLAG_MAX = FALSE -GEN_ENS_PROD_ENSEMBLE_FLAG_RANGE = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_VLD_COUNT = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_FREQUENCY = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_NEP = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_NMEP = TRUE -GEN_ENS_PROD_ENSEMBLE_FLAG_CLIMO = FALSE -GEN_ENS_PROD_ENSEMBLE_FLAG_CLIMO_CDF = FALSE - -# GEN_ENS_PROD_ENS_MEMBER_IDS = -# GEN_ENS_PROD_CONTROL_ID = diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index 7404165a1e..b30786d55c 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -322,13 +322,7 @@ fi # # First, set the base file names. # -if [ "${field_is_APCPgt01h}" = "TRUE" ]; then - metplus_config_tmpl_fn="APCPgt01h" -elif [ "${VAR}" = "ASNOW" ]; then - metplus_config_tmpl_fn="${VAR}" -else - metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" -fi +metplus_config_tmpl_fn="${VAR}" metplus_config_tmpl_fn="${MetplusToolName}_${metplus_config_tmpl_fn}" metplus_config_fn="${MetplusToolName}_${FIELDNAME_IN_MET_FILEDIR_NAMES}" metplus_log_fn="${metplus_config_fn}" From bb570a4b4ce6d92d3ff73e0ce197562b89e41171 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 13 Nov 2023 16:16:52 -0700 Subject: [PATCH 15/69] Add changes to ex-script for deterministic GridStat and PoinStat tasks for combining METplus conf files for APCP01h and APCPgt01h (inadvertantly left out of a previous commit). --- .../exregional_run_met_gridstat_or_pointstat_vx.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index 3d7a49980f..dbbcafb91a 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -317,11 +317,12 @@ fi # # First, set the base file names. # -if [ "${VAR}" = "APCP" ] || [ "${VAR}" = "ASNOW" ]; then - metplus_config_tmpl_fn="${VAR}" -else - metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" -fi +#if [ "${VAR}" = "APCP" ] || [ "${VAR}" = "ASNOW" ]; then +# metplus_config_tmpl_fn="${VAR}" +#else +# metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" +#fi +metplus_config_tmpl_fn="${VAR}" metplus_config_tmpl_fn="${MetplusToolName}_${metplus_config_tmpl_fn}" metplus_config_fn="${MetplusToolName}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${ensmem_name}" metplus_log_fn="${metplus_config_fn}" From b781e3e34b616e9cb9319a584d3edf08466cc744 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 13 Nov 2023 17:12:35 -0700 Subject: [PATCH 16/69] For GridStat_ensmean tasks, combine conf file templates for APCP01h and APCPgt01h. --- ...Pgt01h.conf => GridStat_ensmean_APCP.conf} | 42 +-- parm/metplus/GridStat_ensmean_APCP01h.conf | 334 ------------------ ...un_met_gridstat_or_pointstat_vx_ensmean.sh | 8 +- 3 files changed, 13 insertions(+), 371 deletions(-) rename parm/metplus/{GridStat_ensmean_APCPgt01h.conf => GridStat_ensmean_APCP.conf} (86%) delete mode 100644 parm/metplus/GridStat_ensmean_APCP01h.conf diff --git a/parm/metplus/GridStat_ensmean_APCPgt01h.conf b/parm/metplus/GridStat_ensmean_APCP.conf similarity index 86% rename from parm/metplus/GridStat_ensmean_APCPgt01h.conf rename to parm/metplus/GridStat_ensmean_APCP.conf index cf890c3685..4fc64c4adf 100644 --- a/parm/metplus/GridStat_ensmean_APCPgt01h.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -108,25 +108,13 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the NetCDF file(s) generated by -# MET's pcp_combine tool. The latter reads in grib2 file(s) containing -# 1 hour accumulation data (in this case, from forecasts) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files from pcp_combine name their arrays as specified by -# the environment variable FIELDNAME_IN_MET_OUTPUT. The gen_ens_prod -# tool then takes this array name and, in its output NetCDF files, -# creates arrays whose names consist of the original array name in the -# pcp_combine output (FIELDNAME_IN_MET_OUTPUT) plus a suffix that specifies -# additional properties of the data in the array such as the level (which -# in this case is the accumulation period), the type of statistic, etc. -# In this case, this suffix is "_A3_ENS_MEAN". Thus, below, FCST_VAR1_NAME -# must be set to the value of FIELDNAME_IN_MET_OUTPUT with "_A3_ENS_MEAN" -# appended to it. +# String to search for in the foreast input files for forecast variable 1. +# This is the name of the field in the NetCDF forecast file(s) created by +# MET's gen_ens_prod tool. This tool in turn reads in the forecast NetCDF +# file(s) generated by MET's pcp_combine tool. The latter reads in the +# grib2 file(s) containing 1 hour accumulation data (in this case, from +# forecasts) and outputs NetCDF file(s) with the appropriate >= 1 hour +# accumulation. # FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN # @@ -141,17 +129,11 @@ FCST_VAR1_LEVELS = A{ACCUM_HH} BOTH_VAR1_THRESH = {{field_thresholds}} # # String to search for in the observation input files for observation -# variable 1. -# -# Note: -# This is the name of the field in the NetCDF file created by MET's -# pcp_combine tool. This tool reads in the grib2 file(s) containing -# 1 hour accumulation data (in this case, from observations) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files name their arrays as specified by the environment -# variable FIELDNAME_IN_MET_OUTPUT. Thus, that is the value we set -# OBS_VAR1_NAME to here, not to the name of the variable in the grib2 -# file. +# variable 1. This is the name of the field in the NetCDF observation +# file created by MET's pcp_combine tool. This tool reads in the grib2 +# file(s) containing 1 hour accumulation data (in this case, from +# observations) and outputs NetCDF file(s) with the appropriate >= 1 +# hour accumulation. # OBS_VAR1_NAME = {{fieldname_in_met_output}} # diff --git a/parm/metplus/GridStat_ensmean_APCP01h.conf b/parm/metplus/GridStat_ensmean_APCP01h.conf deleted file mode 100644 index 3ffca63c48..0000000000 --- a/parm/metplus/GridStat_ensmean_APCP01h.conf +++ /dev/null @@ -1,334 +0,0 @@ -# Ensemble mean GridStat METplus Configuration - -[config] - -# List of applications (tools) to run. -PROCESS_LIST = GridStat - -# time looping - options are INIT, VALID, RETRO, and REALTIME -# If set to INIT or RETRO: -# INIT_TIME_FMT, INIT_BEG, INIT_END, and INIT_INCREMENT must also be set -# If set to VALID or REALTIME: -# VALID_TIME_FMT, VALID_BEG, VALID_END, and VALID_INCREMENT must also be set -LOOP_BY = INIT - -# Format of INIT_BEG and INIT_END using % items -# %Y = 4 digit year, %m = 2 digit month, %d = 2 digit day, etc. -# see www.strftime.org for more information -# %Y%m%d%H expands to YYYYMMDDHH -INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT -INIT_BEG = {{cdate}} - -# End time for METplus run - must match INIT_TIME_FMT -INIT_END = {{cdate}} - -# Increment between METplus runs (in seconds if no units are specified). -# Must be >= 60 seconds. -INIT_INCREMENT = 3600 - -# List of forecast leads to process for each run time (init or valid) -# In hours if units are not specified -# If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} -# -# Order of loops to process data - Options are times, processes -# Not relevant if only one item is in the PROCESS_LIST -# times = run all wrappers in the PROCESS_LIST for a single run time, then -# increment the run time and run all wrappers again until all times have -# been evaluated. -# processes = run the first wrapper in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST until all -# wrappers have been run -# -LOOP_ORDER = times - -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. -LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} -# -# Specify the name of the METplus log file. -# -LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} -# -# Specify the location and name of the final METplus conf file. -# -METPLUS_CONF = {GRID_STAT_OUTPUT_DIR}/metplus_final.{{metplus_config_fn}} -# -# Location of MET configuration file to pass to GridStat. -# -# References PARM_BASE, which is the location of the parm directory -# corresponding to the ush directory of the run_metplus.py script that -# is called or the value of the environment variable METPLUS_PARM_BASE -# if set. -# -GRID_STAT_CONFIG_FILE = {PARM_BASE}/met_config/GridStatConfig_wrapped - -# grid to remap data. Value is set as the 'to_grid' variable in the 'regrid' dictionary -# See MET User's Guide for more information -GRID_STAT_REGRID_TO_GRID = FCST -GRID_STAT_REGRID_VLD_THRESH = 0.5 -GRID_STAT_REGRID_METHOD = BUDGET -GRID_STAT_REGRID_WIDTH = 2 -GRID_STAT_REGRID_SHAPE = SQUARE - -#GRID_STAT_INTERP_FIELD = BOTH -#GRID_STAT_INTERP_VLD_THRESH = 1.0 -#GRID_STAT_INTERP_SHAPE = SQUARE -#GRID_STAT_INTERP_TYPE_METHOD = NEAREST -#GRID_STAT_INTERP_TYPE_WIDTH = 1 - -#GRID_STAT_GRID_WEIGHT_FLAG = - -# -# Name to identify model (forecast) data in output. -# -# The variable MODEL is recorded in the stat files, and the data in -# these files is then plotted (e.g. using METViewer). Here, we add a -# suffix to MODEL that identifies the data as that for the ensemble -# mean. This makes it easier to identify each curve. -# -MODEL = {{vx_fcst_model_name}}_ensmean - -#FCST_NATIVE_DATA_TYPE = GRIB -# -# Name to identify observation data in output. -# -OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB -# -# Value to enter under the DESC column in the output stat file. -# -GRID_STAT_DESC = NA - -# List of variables to compare in GridStat - FCST_VAR1 variables correspond -# to OBS_VAR1 variables -# Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations -# are needed for different tools - -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; -# -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names -# consist of the value of fieldname_in_met_output plus a suffix that -# specifies additional properties of the data in the array such as the -# level (which in this case is the accumulation period), the type of -# statistic, etc. In this case, this suffix is "_A01_ENS_MEAN". Thus, -# below, FCST_VAR1_NAME must be set to the value of fieldname_in_met_output -# with "_A01_ENS_MEAN" appended to it. -#FCST_VAR1_NAME = APCP_01_A01_ENS_MEAN -# -# Question: -# Why is the name of the array in the input NetCDF file (created by -# GenEnsProd) that this task reads contains ..._A01_ENS_MEAN instead of -# ..._A1_ENS_MEAN, as is the case for greater than 1-hour accumulation? -# If that were the case, we could use ACCUM_NO_PAD here instead of hard- -# coding the "A01", which would make it consistent with what is done in -# the METplus conf files for accumulation > 1 hour (e.g. 3, 6, and 24 -# hour). -# -#FCST_VAR1_NAME = {{fieldname_in_met_output}}_A01_ENS_MEAN -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A1_ENS_MEAN -# -# List of levels to evaluate for forecast variable 1. -# -ACCUM_HH = {{accum_hh}} -FCST_VAR1_LEVELS = A{ACCUM_HH} -# -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} -# -# String to search for in the observation input files for observation -# variable 1. -# -# Note: -# This is the name of the field in the grib2 observation file. Thus, -# it should not be set to {{fieldname_in_met_output}} because the -# value of fieldname_in_met_output is in general not the same as the -# name of the field in the grib2 observation file (although it can be -# for certain fields). If you do and it doesn't match, you may get an -# error like this from METplus: -# ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... -# -OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# -OBS_VAR1_LEVELS = A{ACCUM_HH} -# -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. -# -FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 -FCST_GRID_STAT_FILE_WINDOW_END = 0 -OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 -OBS_GRID_STAT_FILE_WINDOW_END = 0 - -# MET GridStat neighborhood values -# See the MET User's Guide GridStat section for more information -GRID_STAT_NEIGHBORHOOD_FIELD = BOTH - -# width value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_WIDTH = 3,5,7 - -# shape value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_SHAPE = SQUARE - -# cov thresh list passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_COV_THRESH = >=0.5 - -# Set to true to run GridStat separately for each field specified -# Set to false to create one run of GridStat per run time that -# includes all fields specified. -GRID_STAT_ONCE_PER_FIELD = False -# -# Set to true if forecast data is probabilistic. -# -FCST_IS_PROB = False -# -# Only used if FCST_IS_PROB is true - sets probabilistic threshold -# -FCST_GRID_STAT_PROB_THRESH = ==0.1 - -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} - -# Climatology data -#GRID_STAT_CLIMO_MEAN_FILE_NAME = -#GRID_STAT_CLIMO_MEAN_FIELD = -#GRID_STAT_CLIMO_MEAN_REGRID_METHOD = -#GRID_STAT_CLIMO_MEAN_REGRID_WIDTH = -#GRID_STAT_CLIMO_MEAN_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_MEAN_REGRID_SHAPE = -#GRID_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_MEAN_MATCH_MONTH = -#GRID_STAT_CLIMO_MEAN_DAY_INTERVAL = -#GRID_STAT_CLIMO_MEAN_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_STDEV_FILE_NAME = -#GRID_STAT_CLIMO_STDEV_FIELD = -#GRID_STAT_CLIMO_STDEV_REGRID_METHOD = -#GRID_STAT_CLIMO_STDEV_REGRID_WIDTH = -#GRID_STAT_CLIMO_STDEV_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_STDEV_REGRID_SHAPE = -#GRID_STAT_CLIMO_STDEV_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_STDEV_MATCH_MONTH = -#GRID_STAT_CLIMO_STDEV_DAY_INTERVAL = -#GRID_STAT_CLIMO_STDEV_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_CDF_BINS = 1 -#GRID_STAT_CLIMO_CDF_CENTER_BINS = False -#GRID_STAT_CLIMO_CDF_WRITE_BINS = True - -GRID_STAT_MASK_GRID = - -# Statistical output types -GRID_STAT_OUTPUT_FLAG_FHO = STAT -GRID_STAT_OUTPUT_FLAG_CTC = STAT -GRID_STAT_OUTPUT_FLAG_CTS = STAT -#GRID_STAT_OUTPUT_FLAG_MCTC = NONE -#GRID_STAT_OUTPUT_FLAG_MCTS = NONE -GRID_STAT_OUTPUT_FLAG_CNT = STAT -#GRID_STAT_OUTPUT_FLAG_SL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_SAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VCNT = NONE -#GRID_STAT_OUTPUT_FLAG_PCT = NONE -#GRID_STAT_OUTPUT_FLAG_PSTD = NONE -#GRID_STAT_OUTPUT_FLAG_PJC = NONE -#GRID_STAT_OUTPUT_FLAG_PRC = NONE -#GRID_STAT_OUTPUT_FLAG_ECLV = BOTH -GRID_STAT_OUTPUT_FLAG_NBRCTC = STAT -GRID_STAT_OUTPUT_FLAG_NBRCTS = STAT -GRID_STAT_OUTPUT_FLAG_NBRCNT = STAT -#GRID_STAT_OUTPUT_FLAG_GRAD = BOTH -#GRID_STAT_OUTPUT_FLAG_DMAP = NONE - -# NetCDF matched pairs output file -#GRID_STAT_NC_PAIRS_VAR_NAME = -GRID_STAT_NC_PAIRS_FLAG_LATLON = FALSE -GRID_STAT_NC_PAIRS_FLAG_RAW = FALSE -GRID_STAT_NC_PAIRS_FLAG_DIFF = FALSE -GRID_STAT_NC_PAIRS_FLAG_CLIMO = FALSE -#GRID_STAT_NC_PAIRS_FLAG_CLIMO_CDP = FALSE -GRID_STAT_NC_PAIRS_FLAG_WEIGHT = FALSE -GRID_STAT_NC_PAIRS_FLAG_NBRHD = FALSE -#GRID_STAT_NC_PAIRS_FLAG_FOURIER = FALSE -#GRID_STAT_NC_PAIRS_FLAG_GRADIENT = FALSE -#GRID_STAT_NC_PAIRS_FLAG_DISTANCE_MAP = FALSE -GRID_STAT_NC_PAIRS_FLAG_APPLY_MASK = FALSE - -# End of [config] section and start of [dir] section. -[dir] -# -# Directory containing observation input to GridStat. -# -OBS_GRID_STAT_INPUT_DIR = {{obs_input_dir}} -# -# Directory containing forecast input to GridStat. -# -FCST_GRID_STAT_INPUT_DIR = {{fcst_input_dir}} -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_DIR = -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_DIR = -# -# Directory in which to write output from GridStat. -# -# OUTPUT_BASE apparently has to be set to something; it cannot be left -# to its default value. But it is not explicitly used elsewhere in this -# configuration file. -# -OUTPUT_BASE = {{output_base}} -GRID_STAT_OUTPUT_DIR = {{output_dir}} -# -# Directory for staging data. -# -STAGING_DIR = {{staging_dir}} - -# End of [dir] section and start of [filename_templates] section. -[filename_templates] -# -# Template for observation input to GridStat relative to -# OBS_GRID_STAT_INPUT_DIR. -# -OBS_GRID_STAT_INPUT_TEMPLATE = {{obs_input_fn_template}} -# -# Template for forecast input to GridStat relative to -# FCST_GRID_STAT_INPUT_DIR. -# -FCST_GRID_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} -# -# Template for output from GridStat relative to GRID_STAT_OUTPUT_DIR. -# -GRID_STAT_OUTPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_STDEV_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE = -# -# Variable used to specify one or more verification mask files for -# GridStat. Not used for this example. -# -GRID_STAT_VERIFICATION_MASK_TEMPLATE = {MET_INSTALL_DIR}/share/met/poly/CONUS.poly diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index 535cfb352b..3e546697fd 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -275,13 +275,7 @@ fi # # First, set the base file names. # -if [ "${field_is_APCPgt01h}" = "TRUE" ]; then - metplus_config_tmpl_fn="APCPgt01h" -elif [ "${VAR}" = "ASNOW" ]; then - metplus_config_tmpl_fn="${VAR}" -else - metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" -fi +metplus_config_tmpl_fn="${VAR}" metplus_config_tmpl_fn="${MetplusToolName}_ensmean_${metplus_config_tmpl_fn}" metplus_config_fn="${MetplusToolName}_ensmean_${FIELDNAME_IN_MET_FILEDIR_NAMES}" metplus_log_fn="${metplus_config_fn}" From c0ba7feab3c438be885e830c72d511b744de6000 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 13 Nov 2023 18:09:36 -0700 Subject: [PATCH 17/69] Remove commented out lines. --- scripts/exregional_run_met_gridstat_or_pointstat_vx.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index dbbcafb91a..2e76974302 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -317,11 +317,6 @@ fi # # First, set the base file names. # -#if [ "${VAR}" = "APCP" ] || [ "${VAR}" = "ASNOW" ]; then -# metplus_config_tmpl_fn="${VAR}" -#else -# metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" -#fi metplus_config_tmpl_fn="${VAR}" metplus_config_tmpl_fn="${MetplusToolName}_${metplus_config_tmpl_fn}" metplus_config_fn="${MetplusToolName}_${FIELDNAME_IN_MET_FILEDIR_NAMES}_${ensmem_name}" From adcd38cff68a5879ef263b8b3dd11e67e0d6439c Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 14 Nov 2023 00:54:42 -0700 Subject: [PATCH 18/69] Remove extra whitespace. --- .../exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index 3e546697fd..73be472a36 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -123,9 +123,9 @@ if [ "${grid_or_point}" = "grid" ]; then "APCP24h") FIELD_THRESHOLDS="gt0.0, ge6.350, ge12.700, ge25.400" ;; - "ASNOW") - FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" - ;; + "ASNOW") + FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" + ;; "REFC") FIELD_THRESHOLDS="ge20, ge30, ge40, ge50" ;; From 8ed996f9bb3d90cebf80ea3a4c29ef4aff3504ac Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 14 Nov 2023 00:56:07 -0700 Subject: [PATCH 19/69] Collapse all GridStat_ensprob_APCP*h.conf METplus conf templates into a single one. --- ...PCP03h.conf => GridStat_ensprob_APCP.conf} | 144 +++---- parm/metplus/GridStat_ensprob_APCP01h.conf | 353 ---------------- parm/metplus/GridStat_ensprob_APCP06h.conf | 391 ------------------ parm/metplus/GridStat_ensprob_APCP24h.conf | 390 ----------------- ...un_met_gridstat_or_pointstat_vx_ensprob.sh | 11 +- 5 files changed, 67 insertions(+), 1222 deletions(-) rename parm/metplus/{GridStat_ensprob_APCP03h.conf => GridStat_ensprob_APCP.conf} (75%) delete mode 100644 parm/metplus/GridStat_ensprob_APCP01h.conf delete mode 100644 parm/metplus/GridStat_ensprob_APCP06h.conf delete mode 100644 parm/metplus/GridStat_ensprob_APCP24h.conf diff --git a/parm/metplus/GridStat_ensprob_APCP03h.conf b/parm/metplus/GridStat_ensprob_APCP.conf similarity index 75% rename from parm/metplus/GridStat_ensprob_APCP03h.conf rename to parm/metplus/GridStat_ensprob_APCP.conf index dfc042b486..47bd6a1b8d 100644 --- a/parm/metplus/GridStat_ensprob_APCP03h.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -108,113 +108,101 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; -FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} +{%- set field_thresholds = [] %} +{%- if accum_hh == '01' %} + {%- set field_thresholds = ['gt0.0', 'ge0.254', 'ge0.508', 'ge2.54'] %} +{%- elif accum_hh == '03' %} + {%- set field_thresholds = ['gt0.0', 'ge0.508', 'ge2.54', 'ge6.350'] %} +{%- elif accum_hh == '06' %} + {%- set field_thresholds = ['gt0.0', 'ge2.54', 'ge6.350', 'ge12.700'] %} +{%- elif accum_hh == '24' %} + {%- set field_thresholds = ['gt0.0', 'ge6.350', 'ge12.700', 'ge25.400'] %} +{%- endif %} # # FREQ # Process as probability - # -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the NetCDF file(s) generated by -# MET's pcp_combine tool. The latter reads in grib2 file(s) containing -# 1 hour accumulation data (in this case, from forecasts) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files from pcp_combine name their arrays as specified by -# FIELDNAME_IN_MET_OUTPUT. The gen_ens_prod tool then takes this array -# name and, in its output NetCDF files, creates arrays whose names consist -# of the original array name in the pcp_combine output (FIELDNAME_IN_MET_OUTPUT) -# plus a suffix that specifies additional properties of the data in the -# array such as the level (which in this case is the accumulation period), -# the type of statistic, etc. In this case, this suffix is "_A3_ENS_FREQ_gt0.0". -# Thus, below, FCST_VAR1_NAME must be set to the value of FIELDNAME_IN_MET_OUTPUT -# with "_A3_ENS_FREQ_gt0.0" appended to it. -# The same is true of other forecast fields below except the suffix is -# different. -# -FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_gt0.0 -FCST_VAR1_LEVELS = A03 +# String to search for in the foreast input files for forecast variable 1. +# This is the name of the field in the NetCDF forecast file(s) created by +# MET's gen_ens_prod tool. This tool in turn reads in the forecast NetCDF +# file(s) generated by MET's pcp_combine tool. The latter reads in the +# grib2 file(s) containing 1 hour accumulation data (in this case, from +# forecasts) and outputs NetCDF file(s) with the appropriate >= 1 hour +# accumulation. +# +FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} +FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = ==0.1 # -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# -# Note: -# This is the name of the field in the NetCDF file created by MET's -# pcp_combine tool. This tool reads in the grib2 file(s) containing -# 1 hour accumulation data (in this case, from observations) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files name their arrays as specified by the environment -# variable FIELDNAME_IN_MET_OUTPUT. Thus, that is the value we set -# OBS_VAR1_NAME to here, not to the name of the variable in the grib2 -# file. -# -OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR1_LEVELS = A03 -OBS_VAR1_THRESH = gt0.0 - -FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge0.508 -FCST_VAR2_LEVELS = A03 +# String to search for in the observation input files for observation +# variable 1. This is the name of the field in the NetCDF observation +# file created by MET's pcp_combine tool. This tool reads in the grib2 +# file(s) containing 1 hour accumulation data (in this case, from +# observations) and outputs NetCDF file(s) with the appropriate >= 1 +# hour accumulation. +# +OBS_VAR1_NAME = {{fieldname_in_met_output}} +OBS_VAR1_LEVELS = A{{accum_hh}} +OBS_VAR1_THRESH = {{field_thresholds[0]}} + +FCST_VAR2_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} +FCST_VAR2_LEVELS = A{{accum_hh}} FCST_VAR2_THRESH = ==0.1 -OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR2_LEVELS = A03 -OBS_VAR2_THRESH = ge0.508 +OBS_VAR2_NAME = {{fieldname_in_met_output}} +OBS_VAR2_LEVELS = A{{accum_hh}} +OBS_VAR2_THRESH = {{field_thresholds[1]}} -FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge2.54 -FCST_VAR3_LEVELS = A03 +FCST_VAR3_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} +FCST_VAR3_LEVELS = A{{accum_hh}} FCST_VAR3_THRESH = ==0.1 -OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR3_LEVELS = A03 -OBS_VAR3_THRESH = ge2.54 +OBS_VAR3_NAME = {{fieldname_in_met_output}} +OBS_VAR3_LEVELS = A{{accum_hh}} +OBS_VAR3_THRESH = {{field_thresholds[2]}} -FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge6.350 -FCST_VAR4_LEVELS = A03 +FCST_VAR4_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} +FCST_VAR4_LEVELS = A{{accum_hh}} FCST_VAR4_THRESH = ==0.1 -OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR4_LEVELS = A03 -OBS_VAR4_THRESH = ge6.350 +OBS_VAR4_NAME = {{fieldname_in_met_output}} +OBS_VAR4_LEVELS = A{{accum_hh}} +OBS_VAR4_THRESH = {{field_thresholds[3]}} #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -#FCST_VAR5_NAME = APCP_A3_ENS_FREQ_gt0.0 -FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_gt0.0 -FCST_VAR5_LEVELS = A03 +FCST_VAR5_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} +FCST_VAR5_LEVELS = A{{accum_hh}} FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; -OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR5_LEVELS = A03 -OBS_VAR5_THRESH = gt0.0 +OBS_VAR5_NAME = {{fieldname_in_met_output}} +OBS_VAR5_LEVELS = A{{accum_hh}} +OBS_VAR5_THRESH = {{field_thresholds[0]}} OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge0.508 -FCST_VAR6_LEVELS = A03 +FCST_VAR6_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} +FCST_VAR6_LEVELS = A{{accum_hh}} FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; -OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR6_LEVELS = A03 -OBS_VAR6_THRESH = ge0.508 +OBS_VAR6_NAME = {{fieldname_in_met_output}} +OBS_VAR6_LEVELS = A{{accum_hh}} +OBS_VAR6_THRESH = {{field_thresholds[1]}} OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge2.54 -FCST_VAR7_LEVELS = A03 +FCST_VAR7_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} +FCST_VAR7_LEVELS = A{{accum_hh}} FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; -OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR7_LEVELS = A03 -OBS_VAR7_THRESH = ge2.54 +OBS_VAR7_NAME = {{fieldname_in_met_output}} +OBS_VAR7_LEVELS = A{{accum_hh}} +OBS_VAR7_THRESH = {{field_thresholds[2]}} OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A3_ENS_FREQ_ge6.350 -FCST_VAR8_LEVELS = A03 +FCST_VAR8_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} +FCST_VAR8_LEVELS = A{{accum_hh}} FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; -OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR8_LEVELS = A03 -OBS_VAR8_THRESH = ge6.350 +OBS_VAR8_NAME = {{fieldname_in_met_output}} +OBS_VAR8_LEVELS = A{{accum_hh}} +OBS_VAR8_THRESH = {{field_thresholds[3]}} OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } #FCST_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/GridStat_ensprob_APCP01h.conf b/parm/metplus/GridStat_ensprob_APCP01h.conf deleted file mode 100644 index ad6d5dd660..0000000000 --- a/parm/metplus/GridStat_ensprob_APCP01h.conf +++ /dev/null @@ -1,353 +0,0 @@ -# Ensemble probabilistic GridStat METplus Configuration - -[config] - -# List of applications (tools) to run. -PROCESS_LIST = GridStat - -# time looping - options are INIT, VALID, RETRO, and REALTIME -# If set to INIT or RETRO: -# INIT_TIME_FMT, INIT_BEG, INIT_END, and INIT_INCREMENT must also be set -# If set to VALID or REALTIME: -# VALID_TIME_FMT, VALID_BEG, VALID_END, and VALID_INCREMENT must also be set -LOOP_BY = INIT - -# Format of INIT_BEG and INIT_END using % items -# %Y = 4 digit year, %m = 2 digit month, %d = 2 digit day, etc. -# see www.strftime.org for more information -# %Y%m%d%H expands to YYYYMMDDHH -INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT -INIT_BEG = {{cdate}} - -# End time for METplus run - must match INIT_TIME_FMT -INIT_END = {{cdate}} - -# Increment between METplus runs (in seconds if no units are specified). -# Must be >= 60 seconds. -INIT_INCREMENT = 3600 - -# List of forecast leads to process for each run time (init or valid) -# In hours if units are not specified -# If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} -# -# Order of loops to process data - Options are times, processes -# Not relevant if only one item is in the PROCESS_LIST -# times = run all wrappers in the PROCESS_LIST for a single run time, then -# increment the run time and run all wrappers again until all times have -# been evaluated. -# processes = run the first wrapper in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST until all -# wrappers have been run -# -LOOP_ORDER = times - -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. -LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} -# -# Specify the name of the METplus log file. -# -LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} -# -# Specify the location and name of the final METplus conf file. -# -METPLUS_CONF = {GRID_STAT_OUTPUT_DIR}/metplus_final.{{metplus_config_fn}} -# -# Location of MET configuration file to pass to GridStat. -# -# References PARM_BASE, which is the location of the parm directory -# corresponding to the ush directory of the run_metplus.py script that -# is called or the value of the environment variable METPLUS_PARM_BASE -# if set. -# -GRID_STAT_CONFIG_FILE = {PARM_BASE}/met_config/GridStatConfig_wrapped - -# grid to remap data. Value is set as the 'to_grid' variable in the 'regrid' dictionary -# See MET User's Guide for more information -GRID_STAT_REGRID_TO_GRID = FCST -GRID_STAT_REGRID_VLD_THRESH = 0.5 -GRID_STAT_REGRID_METHOD = BUDGET -GRID_STAT_REGRID_WIDTH = 2 -GRID_STAT_REGRID_SHAPE = SQUARE - -#GRID_STAT_INTERP_FIELD = BOTH -#GRID_STAT_INTERP_VLD_THRESH = 1.0 -#GRID_STAT_INTERP_SHAPE = SQUARE -#GRID_STAT_INTERP_TYPE_METHOD = NEAREST -#GRID_STAT_INTERP_TYPE_WIDTH = 1 - -#GRID_STAT_GRID_WEIGHT_FLAG = - -# -# Name to identify model (forecast) data in output. -# -# The variable MODEL is recorded in the stat files, and the data in -# these files is then plotted (e.g. using METViewer). Here, we add a -# suffix to MODEL that identifies the data as ensemble-probabilistic. -# This makes it easier to identify each curve. -# -MODEL = {{vx_fcst_model_name}}_ensprob - -#FCST_NATIVE_DATA_TYPE = GRIB -# -# Name to identify observation data in output. -# -OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB -# -# Value to enter under the DESC column in the output stat file. -# -GRID_STAT_DESC = NA - -# List of variables to compare in GridStat - FCST_VAR1 variables correspond -# to OBS_VAR1 variables -# Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations -# are needed for different tools - -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; - -# Name of forecast variables -# thresholds in mm, equal to >0, .01",.05",.10" -# FREQ -# Process as probability -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_gt0.0 -FCST_VAR1_LEVELS = A01 -FCST_VAR1_THRESH = ==0.1 -OBS_VAR1_NAME = {{fieldname_in_obs_input}} -OBS_VAR1_LEVELS = A01 -OBS_VAR1_THRESH = gt0.0 - -FCST_VAR2_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.254 -FCST_VAR2_LEVELS = A01 -FCST_VAR2_THRESH = ==0.1 -OBS_VAR2_NAME = {{fieldname_in_obs_input}} -OBS_VAR2_LEVELS = A01 -OBS_VAR2_THRESH = ge0.254 - -FCST_VAR3_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.508 -FCST_VAR3_LEVELS = A01 -FCST_VAR3_THRESH = ==0.1 -OBS_VAR3_NAME = {{fieldname_in_obs_input}} -OBS_VAR3_LEVELS = A01 -OBS_VAR3_THRESH = ge0.508 - -FCST_VAR4_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge2.54 -FCST_VAR4_LEVELS = A01 -FCST_VAR4_THRESH = ==0.1 -OBS_VAR4_NAME = {{fieldname_in_obs_input}} -OBS_VAR4_LEVELS = A01 -OBS_VAR4_THRESH = ge2.54 - -#Process as scalars for neighborhood methods -## Note that the number of forecast and obs thresholds must match -## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -FCST_VAR5_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_gt0.0 -FCST_VAR5_LEVELS = A01 -FCST_VAR5_THRESH = ==0.1 -FCST_VAR5_OPTIONS = prob = FALSE; -OBS_VAR5_NAME = {{fieldname_in_obs_input}} -OBS_VAR5_LEVELS = A01 -OBS_VAR5_THRESH = gt0.0 -OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR6_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.254 -FCST_VAR6_LEVELS = A01 -FCST_VAR6_THRESH = ==0.1 -FCST_VAR6_OPTIONS = prob = FALSE; -OBS_VAR6_NAME = {{fieldname_in_obs_input}} -OBS_VAR6_LEVELS = A01 -OBS_VAR6_THRESH = ge0.254 -OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR7_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge0.508 -FCST_VAR7_LEVELS = A01 -FCST_VAR7_THRESH = ==0.1 -FCST_VAR7_OPTIONS = prob = FALSE; -OBS_VAR7_NAME = {{fieldname_in_obs_input}} -OBS_VAR7_LEVELS = A01 -OBS_VAR7_THRESH = ge0.508 -OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR8_NAME = {{fieldname_in_met_output}}_A1_ENS_FREQ_ge2.54 -FCST_VAR8_LEVELS = A01 -FCST_VAR8_THRESH = ==0.1 -FCST_VAR8_OPTIONS = prob = FALSE; -OBS_VAR8_NAME = {{fieldname_in_obs_input}} -OBS_VAR8_LEVELS = A01 -OBS_VAR8_THRESH = ge2.54 -OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -#FCST_GRID_STAT_FILE_TYPE = - -#OBS_GRID_STAT_FILE_TYPE = - -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. -# -FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 -FCST_GRID_STAT_FILE_WINDOW_END = 0 -OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 -OBS_GRID_STAT_FILE_WINDOW_END = 0 - -# MET GridStat neighborhood values -# See the MET User's Guide GridStat section for more information -GRID_STAT_NEIGHBORHOOD_FIELD = - -# width value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_WIDTH = - -# shape value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_SHAPE = - -# cov thresh list passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_COV_THRESH = >=0.5 - -# Set to true to run GridStat separately for each field specified -# Set to false to create one run of GridStat per run time that -# includes all fields specified. -GRID_STAT_ONCE_PER_FIELD = False -# -# Set to true if forecast data is probabilistic. -# -FCST_IS_PROB = True -FCST_PROB_IN_GRIB_PDS = False -# -# Only used if FCST_IS_PROB is true - sets probabilistic threshold -# -FCST_GRID_STAT_PROB_THRESH = ==0.1 - -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} - -# Climatology data -#GRID_STAT_CLIMO_MEAN_FILE_NAME = -#GRID_STAT_CLIMO_MEAN_FIELD = -#GRID_STAT_CLIMO_MEAN_REGRID_METHOD = -#GRID_STAT_CLIMO_MEAN_REGRID_WIDTH = -#GRID_STAT_CLIMO_MEAN_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_MEAN_REGRID_SHAPE = -#GRID_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_MEAN_MATCH_MONTH = -#GRID_STAT_CLIMO_MEAN_DAY_INTERVAL = -#GRID_STAT_CLIMO_MEAN_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_STDEV_FILE_NAME = -#GRID_STAT_CLIMO_STDEV_FIELD = -#GRID_STAT_CLIMO_STDEV_REGRID_METHOD = -#GRID_STAT_CLIMO_STDEV_REGRID_WIDTH = -#GRID_STAT_CLIMO_STDEV_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_STDEV_REGRID_SHAPE = -#GRID_STAT_CLIMO_STDEV_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_STDEV_MATCH_MONTH = -#GRID_STAT_CLIMO_STDEV_DAY_INTERVAL = -#GRID_STAT_CLIMO_STDEV_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_CDF_BINS = 1 -#GRID_STAT_CLIMO_CDF_CENTER_BINS = False -#GRID_STAT_CLIMO_CDF_WRITE_BINS = True - -GRID_STAT_MASK_GRID = - -# Statistical output types -GRID_STAT_OUTPUT_FLAG_FHO = NONE -GRID_STAT_OUTPUT_FLAG_CTC = NONE -GRID_STAT_OUTPUT_FLAG_CTS = NONE -#GRID_STAT_OUTPUT_FLAG_MCTC = NONE -#GRID_STAT_OUTPUT_FLAG_MCTS = NONE -GRID_STAT_OUTPUT_FLAG_CNT = NONE -#GRID_STAT_OUTPUT_FLAG_SL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_SAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VCNT = NONE -GRID_STAT_OUTPUT_FLAG_PCT = STAT -GRID_STAT_OUTPUT_FLAG_PSTD = STAT -GRID_STAT_OUTPUT_FLAG_PJC = STAT -GRID_STAT_OUTPUT_FLAG_PRC = STAT -#GRID_STAT_OUTPUT_FLAG_ECLV = BOTH -GRID_STAT_OUTPUT_FLAG_NBRCTC = NONE -GRID_STAT_OUTPUT_FLAG_NBRCTS = NONE -GRID_STAT_OUTPUT_FLAG_NBRCNT = STAT -#GRID_STAT_OUTPUT_FLAG_GRAD = BOTH -#GRID_STAT_OUTPUT_FLAG_DMAP = NONE - -# NetCDF matched pairs output file -#GRID_STAT_NC_PAIRS_VAR_NAME = -GRID_STAT_NC_PAIRS_FLAG_LATLON = FALSE -GRID_STAT_NC_PAIRS_FLAG_RAW = FALSE -GRID_STAT_NC_PAIRS_FLAG_DIFF = FALSE -GRID_STAT_NC_PAIRS_FLAG_CLIMO = FALSE -GRID_STAT_NC_PAIRS_FLAG_WEIGHT = FALSE -GRID_STAT_NC_PAIRS_FLAG_NBRHD = FALSE -#GRID_STAT_NC_PAIRS_FLAG_FOURIER = FALSE -#GRID_STAT_NC_PAIRS_FLAG_GRADIENT = FALSE -#GRID_STAT_NC_PAIRS_FLAG_DISTANCE_MAP = FALSE -GRID_STAT_NC_PAIRS_FLAG_APPLY_MASK = FALSE - -# End of [config] section and start of [dir] section. -[dir] -# -# Directory containing observation input to GridStat. -# -OBS_GRID_STAT_INPUT_DIR = {{obs_input_dir}} -# -# Directory containing forecast input to GridStat. -# -FCST_GRID_STAT_INPUT_DIR = {{fcst_input_dir}} -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_DIR = -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_DIR = -# -# Directory in which to write output from GridStat. -# -# OUTPUT_BASE apparently has to be set to something; it cannot be left -# to its default value. But it is not explicitly used elsewhere in this -# configuration file. -# -OUTPUT_BASE = {{output_base}} -GRID_STAT_OUTPUT_DIR = {{output_dir}} -# -# Directory for staging data. -# -STAGING_DIR = {{staging_dir}} - -# End of [dir] section and start of [filename_templates] section. -[filename_templates] -# -# Template for observation input to GridStat relative to -# OBS_GRID_STAT_INPUT_DIR. -# -OBS_GRID_STAT_INPUT_TEMPLATE = {{obs_input_fn_template}} -# -# Template for forecast input to GridStat relative to -# FCST_GRID_STAT_INPUT_DIR. -# -FCST_GRID_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} -# -# Template for output from GridStat relative to GRID_STAT_OUTPUT_DIR. -# -GRID_STAT_OUTPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_STDEV_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE = -# -# Variable used to specify one or more verification mask files for -# GridStat. Not used for this example. -# -GRID_STAT_VERIFICATION_MASK_TEMPLATE = {MET_INSTALL_DIR}/share/met/poly/CONUS.poly diff --git a/parm/metplus/GridStat_ensprob_APCP06h.conf b/parm/metplus/GridStat_ensprob_APCP06h.conf deleted file mode 100644 index 1238d53fb3..0000000000 --- a/parm/metplus/GridStat_ensprob_APCP06h.conf +++ /dev/null @@ -1,391 +0,0 @@ -# Ensemble probabilistic GridStat METplus Configuration - -[config] - -# List of applications (tools) to run. -PROCESS_LIST = GridStat - -# time looping - options are INIT, VALID, RETRO, and REALTIME -# If set to INIT or RETRO: -# INIT_TIME_FMT, INIT_BEG, INIT_END, and INIT_INCREMENT must also be set -# If set to VALID or REALTIME: -# VALID_TIME_FMT, VALID_BEG, VALID_END, and VALID_INCREMENT must also be set -LOOP_BY = INIT - -# Format of INIT_BEG and INIT_END using % items -# %Y = 4 digit year, %m = 2 digit month, %d = 2 digit day, etc. -# see www.strftime.org for more information -# %Y%m%d%H expands to YYYYMMDDHH -INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT -INIT_BEG = {{cdate}} - -# End time for METplus run - must match INIT_TIME_FMT -INIT_END = {{cdate}} - -# Increment between METplus runs (in seconds if no units are specified). -# Must be >= 60 seconds. -INIT_INCREMENT = 3600 - -# List of forecast leads to process for each run time (init or valid) -# In hours if units are not specified -# If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} -# -# Order of loops to process data - Options are times, processes -# Not relevant if only one item is in the PROCESS_LIST -# times = run all wrappers in the PROCESS_LIST for a single run time, then -# increment the run time and run all wrappers again until all times have -# been evaluated. -# processes = run the first wrapper in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST until all -# wrappers have been run -# -LOOP_ORDER = times - -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. -LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} -# -# Specify the name of the METplus log file. -# -LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} -# -# Specify the location and name of the final METplus conf file. -# -METPLUS_CONF = {GRID_STAT_OUTPUT_DIR}/metplus_final.{{metplus_config_fn}} -# -# Location of MET configuration file to pass to GridStat. -# -# References PARM_BASE, which is the location of the parm directory -# corresponding to the ush directory of the run_metplus.py script that -# is called or the value of the environment variable METPLUS_PARM_BASE -# if set. -# -GRID_STAT_CONFIG_FILE = {PARM_BASE}/met_config/GridStatConfig_wrapped - -# grid to remap data. Value is set as the 'to_grid' variable in the 'regrid' dictionary -# See MET User's Guide for more information -GRID_STAT_REGRID_TO_GRID = FCST -GRID_STAT_REGRID_VLD_THRESH = 0.5 -GRID_STAT_REGRID_METHOD = BUDGET -GRID_STAT_REGRID_WIDTH = 2 -GRID_STAT_REGRID_SHAPE = SQUARE - -#GRID_STAT_INTERP_FIELD = BOTH -#GRID_STAT_INTERP_VLD_THRESH = 1.0 -#GRID_STAT_INTERP_SHAPE = SQUARE -#GRID_STAT_INTERP_TYPE_METHOD = NEAREST -#GRID_STAT_INTERP_TYPE_WIDTH = 1 - -#GRID_STAT_GRID_WEIGHT_FLAG = - -# -# Name to identify model (forecast) data in output. -# -# The variable MODEL is recorded in the stat files, and the data in -# these files is then plotted (e.g. using METViewer). Here, we add a -# suffix to MODEL that identifies the data as ensemble-probabilistic. -# This makes it easier to identify each curve. -# -MODEL = {{vx_fcst_model_name}}_ensprob - -#FCST_NATIVE_DATA_TYPE = GRIB -# -# Name to identify observation data in output. -# -OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB -# -# Value to enter under the DESC column in the output stat file. -# -GRID_STAT_DESC = NA - -# List of variables to compare in GridStat - FCST_VAR1 variables correspond -# to OBS_VAR1 variables -# Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations -# are needed for different tools - -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; - -FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} -# -# FREQ -# Process as probability - -# -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the NetCDF file(s) generated by -# MET's pcp_combine tool. The latter reads in grib2 file(s) containing -# 1 hour accumulation data (in this case, from forecasts) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files from pcp_combine name their arrays as specified by -# FIELDNAME_IN_MET_OUTPUT. The gen_ens_prod tool then takes this array -# name and, in its output NetCDF files, creates arrays whose names consist -# of the original array name in the pcp_combine output (FIELDNAME_IN_MET_OUTPUT) -# plus a suffix that specifies additional properties of the data in the -# array such as the level (which in this case is the accumulation period), -# the type of statistic, etc. In this case, this suffix is "_A6_ENS_FREQ_gt0.0". -# Thus, below, FCST_VAR1_NAME must be set to the value of FIELDNAME_IN_MET_OUTPUT -# with "_A6_ENS_FREQ_gt0.0" appended to it. -# The same is true of other forecast fields below except the suffix is -# different. -# -FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_gt0.0 -FCST_VAR1_LEVELS = A06 -FCST_VAR1_THRESH = ==0.1 -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# -# Note: -# This is the name of the field in the NetCDF file created by MET's -# pcp_combine tool. This tool reads in the grib2 file(s) containing -# 1 hour accumulation data (in this case, from observations) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files name their arrays as specified by the environment -# variable FIELDNAME_IN_MET_OUTPUT. Thus, that is the value we set -# OBS_VAR1_NAME to here, not to the name of the variable in the grib2 -# file. -# -OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR1_LEVELS = A06 -OBS_VAR1_THRESH = gt0.0 - -FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge2.54 -FCST_VAR2_LEVELS = A06 -FCST_VAR2_THRESH = ==0.1 -OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR2_LEVELS = A06 -OBS_VAR2_THRESH = ge2.54 - -FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge6.350 -FCST_VAR3_LEVELS = A06 -FCST_VAR3_THRESH = ==0.1 -OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR3_LEVELS = A06 -OBS_VAR3_THRESH = ge6.350 - -FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge12.700 -FCST_VAR4_LEVELS = A06 -FCST_VAR4_THRESH = ==0.1 -OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR4_LEVELS = A06 -OBS_VAR4_THRESH = ge12.700 - -#Process as scalars for neighborhood methods -## Note that the number of forecast and obs thresholds must match -## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -#FCST_VAR5_NAME = APCP_A6_ENS_FREQ_gt0.0 -FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_gt0.0 -FCST_VAR5_LEVELS = A06 -FCST_VAR5_THRESH = ==0.1 -FCST_VAR5_OPTIONS = prob = FALSE; -OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR5_LEVELS = A06 -OBS_VAR5_THRESH = gt0.0 -OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge2.54 -FCST_VAR6_LEVELS = A06 -FCST_VAR6_THRESH = ==0.1 -FCST_VAR6_OPTIONS = prob = FALSE; -OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR6_LEVELS = A06 -OBS_VAR6_THRESH = ge2.54 -OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge6.350 -FCST_VAR7_LEVELS = A06 -FCST_VAR7_THRESH = ==0.1 -FCST_VAR7_OPTIONS = prob = FALSE; -OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR7_LEVELS = A06 -OBS_VAR7_THRESH = ge6.350 -OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A6_ENS_FREQ_ge12.700 -FCST_VAR8_LEVELS = A06 -FCST_VAR8_THRESH = ==0.1 -FCST_VAR8_OPTIONS = prob = FALSE; -OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR8_LEVELS = A06 -OBS_VAR8_THRESH = ge12.700 -OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -#FCST_GRID_STAT_FILE_TYPE = - -#OBS_GRID_STAT_FILE_TYPE = - -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. -# -FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 -FCST_GRID_STAT_FILE_WINDOW_END = 0 -OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 -OBS_GRID_STAT_FILE_WINDOW_END = 0 - -# MET GridStat neighborhood values -# See the MET User's Guide GridStat section for more information -GRID_STAT_NEIGHBORHOOD_FIELD = - -# width value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_WIDTH = - -# shape value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_SHAPE = - -# cov thresh list passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_COV_THRESH = >=0.5 - -# Set to true to run GridStat separately for each field specified -# Set to false to create one run of GridStat per run time that -# includes all fields specified. -GRID_STAT_ONCE_PER_FIELD = False -# -# Set to true if forecast data is probabilistic. -# -FCST_IS_PROB = True -FCST_PROB_IN_GRIB_PDS = False -# -# Only used if FCST_IS_PROB is true - sets probabilistic threshold -# -FCST_GRID_STAT_PROB_THRESH = ==0.1 - -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} - -# Climatology data -#GRID_STAT_CLIMO_MEAN_FILE_NAME = -#GRID_STAT_CLIMO_MEAN_FIELD = -#GRID_STAT_CLIMO_MEAN_REGRID_METHOD = -#GRID_STAT_CLIMO_MEAN_REGRID_WIDTH = -#GRID_STAT_CLIMO_MEAN_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_MEAN_REGRID_SHAPE = -#GRID_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_MEAN_MATCH_MONTH = -#GRID_STAT_CLIMO_MEAN_DAY_INTERVAL = -#GRID_STAT_CLIMO_MEAN_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_STDEV_FILE_NAME = -#GRID_STAT_CLIMO_STDEV_FIELD = -#GRID_STAT_CLIMO_STDEV_REGRID_METHOD = -#GRID_STAT_CLIMO_STDEV_REGRID_WIDTH = -#GRID_STAT_CLIMO_STDEV_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_STDEV_REGRID_SHAPE = -#GRID_STAT_CLIMO_STDEV_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_STDEV_MATCH_MONTH = -#GRID_STAT_CLIMO_STDEV_DAY_INTERVAL = -#GRID_STAT_CLIMO_STDEV_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_CDF_BINS = 1 -#GRID_STAT_CLIMO_CDF_CENTER_BINS = False -#GRID_STAT_CLIMO_CDF_WRITE_BINS = True - -GRID_STAT_MASK_GRID = - -# Statistical output types -GRID_STAT_OUTPUT_FLAG_FHO = NONE -GRID_STAT_OUTPUT_FLAG_CTC = NONE -GRID_STAT_OUTPUT_FLAG_CTS = NONE -#GRID_STAT_OUTPUT_FLAG_MCTC = NONE -#GRID_STAT_OUTPUT_FLAG_MCTS = NONE -GRID_STAT_OUTPUT_FLAG_CNT = NONE -#GRID_STAT_OUTPUT_FLAG_SL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_SAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VCNT = NONE -GRID_STAT_OUTPUT_FLAG_PCT = STAT -GRID_STAT_OUTPUT_FLAG_PSTD = STAT -GRID_STAT_OUTPUT_FLAG_PJC = STAT -GRID_STAT_OUTPUT_FLAG_PRC = STAT -#GRID_STAT_OUTPUT_FLAG_ECLV = BOTH -GRID_STAT_OUTPUT_FLAG_NBRCTC = NONE -GRID_STAT_OUTPUT_FLAG_NBRCTS = NONE -GRID_STAT_OUTPUT_FLAG_NBRCNT = STAT -#GRID_STAT_OUTPUT_FLAG_GRAD = BOTH -#GRID_STAT_OUTPUT_FLAG_DMAP = NONE - -# NetCDF matched pairs output file -#GRID_STAT_NC_PAIRS_VAR_NAME = -GRID_STAT_NC_PAIRS_FLAG_LATLON = FALSE -GRID_STAT_NC_PAIRS_FLAG_RAW = FALSE -GRID_STAT_NC_PAIRS_FLAG_DIFF = FALSE -GRID_STAT_NC_PAIRS_FLAG_CLIMO = FALSE -GRID_STAT_NC_PAIRS_FLAG_WEIGHT = FALSE -GRID_STAT_NC_PAIRS_FLAG_NBRHD = FALSE -#GRID_STAT_NC_PAIRS_FLAG_FOURIER = FALSE -#GRID_STAT_NC_PAIRS_FLAG_GRADIENT = FALSE -#GRID_STAT_NC_PAIRS_FLAG_DISTANCE_MAP = FALSE -GRID_STAT_NC_PAIRS_FLAG_APPLY_MASK = FALSE - -# End of [config] section and start of [dir] section. -[dir] -# -# Directory containing observation input to GridStat. -# -OBS_GRID_STAT_INPUT_DIR = {{obs_input_dir}} -# -# Directory containing forecast input to GridStat. -# -FCST_GRID_STAT_INPUT_DIR = {{fcst_input_dir}} -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_DIR = -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_DIR = -# -# Directory in which to write output from GridStat. -# -# OUTPUT_BASE apparently has to be set to something; it cannot be left -# to its default value. But it is not explicitly used elsewhere in this -# configuration file. -# -OUTPUT_BASE = {{output_base}} -GRID_STAT_OUTPUT_DIR = {{output_dir}} -# -# Directory for staging data. -# -STAGING_DIR = {{staging_dir}} - -# End of [dir] section and start of [filename_templates] section. -[filename_templates] -# -# Template for observation input to GridStat relative to -# OBS_GRID_STAT_INPUT_DIR. -# -OBS_GRID_STAT_INPUT_TEMPLATE = {{obs_input_fn_template}} -# -# Template for forecast input to GridStat relative to -# FCST_GRID_STAT_INPUT_DIR. -# -FCST_GRID_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} -# -# Template for output from GridStat relative to GRID_STAT_OUTPUT_DIR. -# -GRID_STAT_OUTPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_STDEV_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE = -# -# Variable used to specify one or more verification mask files for -# GridStat. Not used for this example. -# -GRID_STAT_VERIFICATION_MASK_TEMPLATE = {MET_INSTALL_DIR}/share/met/poly/CONUS.poly diff --git a/parm/metplus/GridStat_ensprob_APCP24h.conf b/parm/metplus/GridStat_ensprob_APCP24h.conf deleted file mode 100644 index d4702a02cb..0000000000 --- a/parm/metplus/GridStat_ensprob_APCP24h.conf +++ /dev/null @@ -1,390 +0,0 @@ -# Ensemble probabilistic GridStat METplus Configuration - -[config] - -# List of applications (tools) to run. -PROCESS_LIST = GridStat - -# time looping - options are INIT, VALID, RETRO, and REALTIME -# If set to INIT or RETRO: -# INIT_TIME_FMT, INIT_BEG, INIT_END, and INIT_INCREMENT must also be set -# If set to VALID or REALTIME: -# VALID_TIME_FMT, VALID_BEG, VALID_END, and VALID_INCREMENT must also be set -LOOP_BY = INIT - -# Format of INIT_BEG and INIT_END using % items -# %Y = 4 digit year, %m = 2 digit month, %d = 2 digit day, etc. -# see www.strftime.org for more information -# %Y%m%d%H expands to YYYYMMDDHH -INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT -INIT_BEG = {{cdate}} - -# End time for METplus run - must match INIT_TIME_FMT -INIT_END = {{cdate}} - -# Increment between METplus runs (in seconds if no units are specified). -# Must be >= 60 seconds. -INIT_INCREMENT = 3600 - -# List of forecast leads to process for each run time (init or valid) -# In hours if units are not specified -# If unset, defaults to 0 (don't loop through forecast leads) -LEAD_SEQ = {{fhr_list}} -# -# Order of loops to process data - Options are times, processes -# Not relevant if only one item is in the PROCESS_LIST -# times = run all wrappers in the PROCESS_LIST for a single run time, then -# increment the run time and run all wrappers again until all times have -# been evaluated. -# processes = run the first wrapper in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST until all -# wrappers have been run -# -LOOP_ORDER = times - -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. -LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} -# -# Specify the name of the METplus log file. -# -LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} -# -# Specify the location and name of the final METplus conf file. -# -METPLUS_CONF = {GRID_STAT_OUTPUT_DIR}/metplus_final.{{metplus_config_fn}} -# -# Location of MET configuration file to pass to GridStat. -# -# References PARM_BASE, which is the location of the parm directory -# corresponding to the ush directory of the run_metplus.py script that -# is called or the value of the environment variable METPLUS_PARM_BASE -# if set. -# -GRID_STAT_CONFIG_FILE = {PARM_BASE}/met_config/GridStatConfig_wrapped - -# grid to remap data. Value is set as the 'to_grid' variable in the 'regrid' dictionary -# See MET User's Guide for more information -GRID_STAT_REGRID_TO_GRID = FCST -GRID_STAT_REGRID_VLD_THRESH = 0.5 -GRID_STAT_REGRID_METHOD = BUDGET -GRID_STAT_REGRID_WIDTH = 2 -GRID_STAT_REGRID_SHAPE = SQUARE - -#GRID_STAT_INTERP_FIELD = BOTH -#GRID_STAT_INTERP_VLD_THRESH = 1.0 -#GRID_STAT_INTERP_SHAPE = SQUARE -#GRID_STAT_INTERP_TYPE_METHOD = NEAREST -#GRID_STAT_INTERP_TYPE_WIDTH = 1 - -#GRID_STAT_GRID_WEIGHT_FLAG = - -# -# Name to identify model (forecast) data in output. -# -# The variable MODEL is recorded in the stat files, and the data in -# these files is then plotted (e.g. using METViewer). Here, we add a -# suffix to MODEL that identifies the data as ensemble-probabilistic. -# This makes it easier to identify each curve. -# -MODEL = {{vx_fcst_model_name}}_ensprob - -#FCST_NATIVE_DATA_TYPE = GRIB -# -# Name to identify observation data in output. -# -OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB -# -# Value to enter under the DESC column in the output stat file. -# -GRID_STAT_DESC = NA - -# List of variables to compare in GridStat - FCST_VAR1 variables correspond -# to OBS_VAR1 variables -# Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations -# are needed for different tools - -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; - -FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} -# -# FREQ -# Process as probability - -# -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the NetCDF file(s) generated by -# MET's pcp_combine tool. The latter reads in grib2 file(s) containing -# 1 hour accumulation data (in this case, from forecasts) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files from pcp_combine name their arrays as specified by -# FIELDNAME_IN_MET_OUTPUT. The gen_ens_prod tool then takes this array -# name and, in its output NetCDF files, creates arrays whose names consist -# of the original array name in the pcp_combine output (FIELDNAME_IN_MET_OUTPUT) -# plus a suffix that specifies additional properties of the data in the -# array such as the level (which in this case is the accumulation period), -# the type of statistic, etc. In this case, this suffix is "_A24_ENS_FREQ_gt0.0". -# Thus, below, FCST_VAR1_NAME must be set to the value of FIELDNAME_IN_MET_OUTPUT -# with "_A24_ENS_FREQ_gt0.0" appended to it. -# The same is true of other forecast fields below except the suffix is -# different. -# -FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_gt0.0 -FCST_VAR1_LEVELS = A24 -FCST_VAR1_THRESH = ==0.1 -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# -# Note: -# This is the name of the field in the NetCDF file created by MET's -# pcp_combine tool. This tool reads in the grib2 file(s) containing -# 1 hour accumulation data (in this case, from observations) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files name their arrays as specified by the environment -# variable FIELDNAME_IN_MET_OUTPUT. Thus, that is the value we set -# OBS_VAR1_NAME to here, not to the name of the variable in the grib2 -# file. -# -OBS_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR1_LEVELS = A24 -OBS_VAR1_THRESH = gt0.0 - -FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge6.350 -FCST_VAR2_LEVELS = A24 -FCST_VAR2_THRESH = ==0.1 -OBS_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR2_LEVELS = A24 -OBS_VAR2_THRESH = ge6.350 - -FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge12.700 -FCST_VAR3_LEVELS = A24 -FCST_VAR3_THRESH = ==0.1 -OBS_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR3_LEVELS = A24 -OBS_VAR3_THRESH = ge12.700 - -FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge25.400 -FCST_VAR4_LEVELS = A24 -FCST_VAR4_THRESH = ==0.1 -OBS_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR4_LEVELS = A24 -OBS_VAR4_THRESH = ge25.400 - -#Process as scalars for neighborhood methods -### Note that the number of forecast and obs thresholds must match -### but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_gt0.0 -FCST_VAR5_LEVELS = A24 -FCST_VAR5_THRESH = ==0.1 -FCST_VAR5_OPTIONS = prob = FALSE; -OBS_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR5_LEVELS = A24 -OBS_VAR5_THRESH = gt0.0 -OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge6.350 -FCST_VAR6_LEVELS = A24 -FCST_VAR6_THRESH = ==0.1 -FCST_VAR6_OPTIONS = prob = FALSE; -OBS_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR6_LEVELS = A24 -OBS_VAR6_THRESH = ge6.350 -OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge12.700 -FCST_VAR7_LEVELS = A24 -FCST_VAR7_THRESH = ==0.1 -FCST_VAR7_OPTIONS = prob = FALSE; -OBS_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR7_LEVELS = A24 -OBS_VAR7_THRESH = ge12.700 -OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A24_ENS_FREQ_ge25.400 -FCST_VAR8_LEVELS = A24 -FCST_VAR8_THRESH = ==0.1 -FCST_VAR8_OPTIONS = prob = FALSE; -OBS_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT} -OBS_VAR8_LEVELS = A24 -OBS_VAR8_THRESH = ge25.400 -OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -#FCST_GRID_STAT_FILE_TYPE = - -#OBS_GRID_STAT_FILE_TYPE = - -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. -# -FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 -FCST_GRID_STAT_FILE_WINDOW_END = 0 -OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 -OBS_GRID_STAT_FILE_WINDOW_END = 0 - -# MET GridStat neighborhood values -# See the MET User's Guide GridStat section for more information -GRID_STAT_NEIGHBORHOOD_FIELD = - -# width value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_WIDTH = - -# shape value passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_SHAPE = - -# cov thresh list passed to nbrhd dictionary in the MET config file -GRID_STAT_NEIGHBORHOOD_COV_THRESH = >=0.5 - -# Set to true to run GridStat separately for each field specified -# Set to false to create one run of GridStat per run time that -# includes all fields specified. -GRID_STAT_ONCE_PER_FIELD = False -# -# Set to true if forecast data is probabilistic. -# -FCST_IS_PROB = True -FCST_PROB_IN_GRIB_PDS = False -# -# Only used if FCST_IS_PROB is true - sets probabilistic threshold -# -FCST_GRID_STAT_PROB_THRESH = ==0.1 - -GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} - -# Climatology data -#GRID_STAT_CLIMO_MEAN_FILE_NAME = -#GRID_STAT_CLIMO_MEAN_FIELD = -#GRID_STAT_CLIMO_MEAN_REGRID_METHOD = -#GRID_STAT_CLIMO_MEAN_REGRID_WIDTH = -#GRID_STAT_CLIMO_MEAN_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_MEAN_REGRID_SHAPE = -#GRID_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_MEAN_MATCH_MONTH = -#GRID_STAT_CLIMO_MEAN_DAY_INTERVAL = -#GRID_STAT_CLIMO_MEAN_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_STDEV_FILE_NAME = -#GRID_STAT_CLIMO_STDEV_FIELD = -#GRID_STAT_CLIMO_STDEV_REGRID_METHOD = -#GRID_STAT_CLIMO_STDEV_REGRID_WIDTH = -#GRID_STAT_CLIMO_STDEV_REGRID_VLD_THRESH = -#GRID_STAT_CLIMO_STDEV_REGRID_SHAPE = -#GRID_STAT_CLIMO_STDEV_TIME_INTERP_METHOD = -#GRID_STAT_CLIMO_STDEV_MATCH_MONTH = -#GRID_STAT_CLIMO_STDEV_DAY_INTERVAL = -#GRID_STAT_CLIMO_STDEV_HOUR_INTERVAL = - -#GRID_STAT_CLIMO_CDF_BINS = 1 -#GRID_STAT_CLIMO_CDF_CENTER_BINS = False -#GRID_STAT_CLIMO_CDF_WRITE_BINS = True - -GRID_STAT_MASK_GRID = - -# Statistical output types -GRID_STAT_OUTPUT_FLAG_FHO = NONE -GRID_STAT_OUTPUT_FLAG_CTC = NONE -GRID_STAT_OUTPUT_FLAG_CTS = NONE -#GRID_STAT_OUTPUT_FLAG_MCTC = NONE -#GRID_STAT_OUTPUT_FLAG_MCTS = NONE -GRID_STAT_OUTPUT_FLAG_CNT = NONE -#GRID_STAT_OUTPUT_FLAG_SL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_SAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VAL1L2 = NONE -#GRID_STAT_OUTPUT_FLAG_VCNT = NONE -GRID_STAT_OUTPUT_FLAG_PCT = STAT -GRID_STAT_OUTPUT_FLAG_PSTD = STAT -GRID_STAT_OUTPUT_FLAG_PJC = STAT -GRID_STAT_OUTPUT_FLAG_PRC = STAT -#GRID_STAT_OUTPUT_FLAG_ECLV = BOTH -GRID_STAT_OUTPUT_FLAG_NBRCTC = NONE -GRID_STAT_OUTPUT_FLAG_NBRCTS = NONE -GRID_STAT_OUTPUT_FLAG_NBRCNT = STAT -#GRID_STAT_OUTPUT_FLAG_GRAD = BOTH -#GRID_STAT_OUTPUT_FLAG_DMAP = NONE - -# NetCDF matched pairs output file -#GRID_STAT_NC_PAIRS_VAR_NAME = -GRID_STAT_NC_PAIRS_FLAG_LATLON = FALSE -GRID_STAT_NC_PAIRS_FLAG_RAW = FALSE -GRID_STAT_NC_PAIRS_FLAG_DIFF = FALSE -GRID_STAT_NC_PAIRS_FLAG_CLIMO = FALSE -GRID_STAT_NC_PAIRS_FLAG_WEIGHT = FALSE -GRID_STAT_NC_PAIRS_FLAG_NBRHD = FALSE -#GRID_STAT_NC_PAIRS_FLAG_FOURIER = FALSE -#GRID_STAT_NC_PAIRS_FLAG_GRADIENT = FALSE -#GRID_STAT_NC_PAIRS_FLAG_DISTANCE_MAP = FALSE -GRID_STAT_NC_PAIRS_FLAG_APPLY_MASK = FALSE - -# End of [config] section and start of [dir] section. -[dir] -# -# Directory containing observation input to GridStat. -# -OBS_GRID_STAT_INPUT_DIR = {{obs_input_dir}} -# -# Directory containing forecast input to GridStat. -# -FCST_GRID_STAT_INPUT_DIR = {{fcst_input_dir}} -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_DIR = -# -# Directory containing climatology mean input to GridStat. Not used in -# this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_DIR = -# -# Directory in which to write output from GridStat. -# -# OUTPUT_BASE apparently has to be set to something; it cannot be left -# to its default value. But it is not explicitly used elsewhere in this -# configuration file. -# -OUTPUT_BASE = {{output_base}} -GRID_STAT_OUTPUT_DIR = {{output_dir}} -# -# Directory for staging data. -# -STAGING_DIR = {{staging_dir}} - -# End of [dir] section and start of [filename_templates] section. -[filename_templates] -# -# Template for observation input to GridStat relative to -# OBS_GRID_STAT_INPUT_DIR. -# -OBS_GRID_STAT_INPUT_TEMPLATE = {{obs_input_fn_template}} -# -# Template for forecast input to GridStat relative to -# FCST_GRID_STAT_INPUT_DIR. -# -FCST_GRID_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} -# -# Template for output from GridStat relative to GRID_STAT_OUTPUT_DIR. -# -GRID_STAT_OUTPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE = -# -# Template for climatology input to GridStat relative to -# GRID_STAT_CLIMO_STDEV_INPUT_DIR. Not used in this example. -# -GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE = -# -# Variable used to specify one or more verification mask files for -# GridStat. Not used for this example. -# -GRID_STAT_VERIFICATION_MASK_TEMPLATE = {MET_INSTALL_DIR}/share/met/poly/CONUS.poly diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh index 2d58f2d2b0..64a2f35215 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh @@ -230,16 +230,7 @@ fi # # First, set the base file names. # -if [ "${field_is_APCPgt01h}" = "TRUE" ]; then -# Haven't combined the METplus conf jinja template files for APCP > 01h -# for probabilistic ensemble vx tasks yet... -# metplus_config_tmpl_fn="APCPgt01h" - metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" -elif [ "${VAR}" = "ASNOW" ]; then - metplus_config_tmpl_fn="${VAR}" -else - metplus_config_tmpl_fn="${FIELDNAME_IN_MET_FILEDIR_NAMES}" -fi +metplus_config_tmpl_fn="${VAR}" metplus_config_tmpl_fn="${MetplusToolName}_ensprob_${metplus_config_tmpl_fn}" metplus_config_fn="${MetplusToolName}_ensprob_${FIELDNAME_IN_MET_FILEDIR_NAMES}" metplus_log_fn="${metplus_config_fn}" From 6beec349dbbe3611318ba47ef8cf48a7763334a6 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 14 Nov 2023 08:40:49 -0700 Subject: [PATCH 20/69] Remove all use of variable "field_is_APCPgt01h" since the METplus conf files no longer differentiate between 1 hour accumulation and > 1 hour accumulation. --- ...gional_run_met_genensprod_or_ensemblestat.sh | 4 ---- ...regional_run_met_gridstat_or_pointstat_vx.sh | 1 - ..._run_met_gridstat_or_pointstat_vx_ensmean.sh | 1 - ..._run_met_gridstat_or_pointstat_vx_ensprob.sh | 1 - scripts/exregional_run_met_pb2nc_obs.sh | 1 - scripts/exregional_run_met_pcpcombine.sh | 1 - ush/set_vx_params.sh | 17 +---------------- 7 files changed, 1 insertion(+), 25 deletions(-) diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index b30786d55c..3071c95734 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -107,7 +107,6 @@ set_vx_params \ field="$VAR" \ accum_hh="${ACCUM_HH}" \ outvarname_grid_or_point="grid_or_point" \ - outvarname_field_is_APCPgt01h="field_is_APCPgt01h" \ outvarname_fieldname_in_obs_input="FIELDNAME_IN_OBS_INPUT" \ outvarname_fieldname_in_fcst_input="FIELDNAME_IN_FCST_INPUT" \ outvarname_fieldname_in_MET_output="FIELDNAME_IN_MET_OUTPUT" \ @@ -228,9 +227,6 @@ for (( i=0; i<${NUM_ENS_MEMBERS}; i++ )); do time_lag=$( bc -l <<< "${ENS_TIME_LAG_HRS[$i]}*${SECS_PER_HOUR}" ) - #if [ "${field_is_APCPgt01h}" = "TRUE" ] || [ "${FIELDNAME_IN_MET_FILEDIR_NAMES}" = "ASNOW" ]; then - #if [ "${FIELDNAME_IN_FCST_INPUT}" = "APCP" ] || \ - # [ "${FIELDNAME_IN_MET_FILEDIR_NAMES}" = "ASNOW" ]; then if [ "${VAR}" = "APCP" ] || [ "${VAR}" = "ASNOW" ]; then template="${cdate_ensmem_subdir_or_null:+${cdate_ensmem_subdir_or_null}/}metprd/PcpCombine_fcst/${FCST_FN_TEMPLATE_PCPCOMBINE_OUTPUT}" else diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index 2e76974302..fcd9cbde6d 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -96,7 +96,6 @@ set_vx_params \ field="$VAR" \ accum_hh="${ACCUM_HH}" \ outvarname_grid_or_point="grid_or_point" \ - outvarname_field_is_APCPgt01h="field_is_APCPgt01h" \ outvarname_fieldname_in_obs_input="FIELDNAME_IN_OBS_INPUT" \ outvarname_fieldname_in_fcst_input="FIELDNAME_IN_FCST_INPUT" \ outvarname_fieldname_in_MET_output="FIELDNAME_IN_MET_OUTPUT" \ diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index 73be472a36..13ce5f2cb9 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -96,7 +96,6 @@ set_vx_params \ field="$VAR" \ accum_hh="${ACCUM_HH}" \ outvarname_grid_or_point="grid_or_point" \ - outvarname_field_is_APCPgt01h="field_is_APCPgt01h" \ outvarname_fieldname_in_obs_input="FIELDNAME_IN_OBS_INPUT" \ outvarname_fieldname_in_fcst_input="FIELDNAME_IN_FCST_INPUT" \ outvarname_fieldname_in_MET_output="FIELDNAME_IN_MET_OUTPUT" \ diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh index 64a2f35215..1c78bb8445 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh @@ -96,7 +96,6 @@ set_vx_params \ field="$VAR" \ accum_hh="${ACCUM_HH}" \ outvarname_grid_or_point="grid_or_point" \ - outvarname_field_is_APCPgt01h="field_is_APCPgt01h" \ outvarname_fieldname_in_obs_input="FIELDNAME_IN_OBS_INPUT" \ outvarname_fieldname_in_fcst_input="FIELDNAME_IN_FCST_INPUT" \ outvarname_fieldname_in_MET_output="FIELDNAME_IN_MET_OUTPUT" \ diff --git a/scripts/exregional_run_met_pb2nc_obs.sh b/scripts/exregional_run_met_pb2nc_obs.sh index 3e2bbc94c3..c8def0bd94 100755 --- a/scripts/exregional_run_met_pb2nc_obs.sh +++ b/scripts/exregional_run_met_pb2nc_obs.sh @@ -95,7 +95,6 @@ set_vx_params \ field="$VAR" \ accum_hh="${ACCUM_HH}" \ outvarname_grid_or_point="grid_or_point" \ - outvarname_field_is_APCPgt01h="field_is_APCPgt01h" \ outvarname_fieldname_in_obs_input="FIELDNAME_IN_OBS_INPUT" \ outvarname_fieldname_in_fcst_input="FIELDNAME_IN_FCST_INPUT" \ outvarname_fieldname_in_MET_output="FIELDNAME_IN_MET_OUTPUT" \ diff --git a/scripts/exregional_run_met_pcpcombine.sh b/scripts/exregional_run_met_pcpcombine.sh index 5a80313551..6df06f350c 100755 --- a/scripts/exregional_run_met_pcpcombine.sh +++ b/scripts/exregional_run_met_pcpcombine.sh @@ -98,7 +98,6 @@ set_vx_params \ field="$VAR" \ accum_hh="${ACCUM_HH}" \ outvarname_grid_or_point="grid_or_point" \ - outvarname_field_is_APCPgt01h="field_is_APCPgt01h" \ outvarname_fieldname_in_obs_input="FIELDNAME_IN_OBS_INPUT" \ outvarname_fieldname_in_fcst_input="FIELDNAME_IN_FCST_INPUT" \ outvarname_fieldname_in_MET_output="FIELDNAME_IN_MET_OUTPUT" \ diff --git a/ush/set_vx_params.sh b/ush/set_vx_params.sh index 737d4ae68b..9b67e36d22 100644 --- a/ush/set_vx_params.sh +++ b/ush/set_vx_params.sh @@ -56,7 +56,6 @@ function set_vx_params() { "field" \ "accum_hh" \ "outvarname_grid_or_point" \ - "outvarname_field_is_APCPgt01h" \ "outvarname_fieldname_in_obs_input" \ "outvarname_fieldname_in_fcst_input" \ "outvarname_fieldname_in_MET_output" \ @@ -81,7 +80,6 @@ function set_vx_params() { #----------------------------------------------------------------------- # local _grid_or_point_ \ - _field_is_APCPgt01h_ \ fieldname_in_obs_input \ fieldname_in_fcst_input \ fieldname_in_MET_output \ @@ -107,11 +105,6 @@ The accumulation (accum_hh) must be a 2-digit integer: # String that is set to either "grid" or "point" depending on whether # the field in consideration has obs that are gridded or point-based. # -# field_is_APCPgt01h: -# Flag that specifies whether the input field and accumulation together -# represent accumulated precipitation with accumulation period greater -# than 1 hour. -# # fieldname_in_obs_input: # String used to search for the field in the input observation files # read in by MET. @@ -131,8 +124,7 @@ The accumulation (accum_hh) must be a 2-digit integer: # #----------------------------------------------------------------------- # - _grid_or_point_="FALSE" - _field_is_APCPgt01h_="FALSE" + _grid_or_point_="" fieldname_in_obs_input="" fieldname_in_fcst_input="" fieldname_in_MET_output="" @@ -150,9 +142,6 @@ The accumulation (accum_hh) must be a 2-digit integer: fieldname_in_fcst_input="${field}" fieldname_in_MET_output="${field}" fieldname_in_MET_filedir_names="${field}${accum_hh}h" - if [ "${accum_hh}" -gt "01" ]; then - _field_is_APCPgt01h_="TRUE" - fi ;; *) @@ -268,10 +257,6 @@ this observation type (obtype): printf -v ${outvarname_grid_or_point} "%s" "${_grid_or_point_}" fi - if [ ! -z "${outvarname_field_is_APCPgt01h}" ]; then - printf -v ${outvarname_field_is_APCPgt01h} "%s" "${_field_is_APCPgt01h_}" - fi - if [ ! -z "${outvarname_fieldname_in_obs_input}" ]; then printf -v ${outvarname_fieldname_in_obs_input} "%s" "${fieldname_in_obs_input}" fi From 86a4bd6d8400489b0e36184229a217e1544113f3 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 14 Nov 2023 09:37:49 -0700 Subject: [PATCH 21/69] Use separate cases for specifying thresholds for ASNOW06h and ASNOW24h. --- scripts/exregional_run_met_gridstat_or_pointstat_vx.sh | 5 ++++- .../exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index fcd9cbde6d..3d8ba6eadf 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -144,7 +144,10 @@ if [ "${grid_or_point}" = "grid" ]; then "APCP24h") FIELD_THRESHOLDS="gt0.0, ge0.254, ge0.508, ge1.27, ge2.54, ge3.810, ge6.350, ge8.890, ge12.700, ge25.400" ;; - "ASNOW"*) + "ASNOW06h") + FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" + ;; + "ASNOW24h") FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" ;; "REFC") diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index 13ce5f2cb9..7c84742eb0 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -122,7 +122,10 @@ if [ "${grid_or_point}" = "grid" ]; then "APCP24h") FIELD_THRESHOLDS="gt0.0, ge6.350, ge12.700, ge25.400" ;; - "ASNOW") + "ASNOW06h") + FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" + ;; + "ASNOW24h") FIELD_THRESHOLDS="gt0.0, ge2.54, ge5.08, ge10.16, ge20.32" ;; "REFC") From e39ae1cf699081055769f680a01758caefc04db5 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 14 Nov 2023 11:45:10 -0700 Subject: [PATCH 22/69] Make ex-scripts for verification more similar. --- ...gional_run_met_genensprod_or_ensemblestat.sh | 17 +++++++++-------- ...regional_run_met_gridstat_or_pointstat_vx.sh | 15 ++++++++------- ..._run_met_gridstat_or_pointstat_vx_ensmean.sh | 16 ++++++++-------- ..._run_met_gridstat_or_pointstat_vx_ensprob.sh | 14 ++++++++------ scripts/exregional_run_met_pb2nc_obs.sh | 16 +++++++++------- scripts/exregional_run_met_pcpcombine.sh | 17 +++++++++-------- 6 files changed, 51 insertions(+), 44 deletions(-) diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index 3071c95734..7977c71510 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -375,7 +375,7 @@ settings="\ # Ensemble and member-specific information. # 'num_ens_members': '${NUM_ENS_MEMBERS}' - 'ensmem_indx': '${ENSMEM_INDX:-}' + 'ensmem_name': '${ensmem_name:-}' 'time_lag': '${time_lag:-}' # # Field information. @@ -389,8 +389,10 @@ settings="\ 'accum_no_pad': '${ACCUM_NO_PAD:-}' 'field_thresholds': '${FIELD_THRESHOLDS:-}' " - -# Store the settings in a temporary file +# +# Store the settings in a temporary file to use as input in the call to +# the METplus configuration generator script below. +# tmpfile=$( $READLINK -f "$(mktemp ./met_plus_settings.XXXXXX.yaml)") cat > $tmpfile << EOF $settings @@ -401,12 +403,11 @@ EOF # python3 $USHdir/python_utils/workflow-tools/scripts/templater.py \ -c "${tmpfile}" \ - -i ${metplus_config_tmpl_fp} \ - -o ${metplus_config_fp} || \ + -i "${metplus_config_tmpl_fp}" \ + -o "${metplus_config_fp}" || \ print_err_msg_exit "\ -Call to workflow-tools templater to generate a METplus -configuration file from a jinja template failed. Parameters passed -to this script are: +Call to workflow-tools templater.py to generate a METplus configuration +file from a jinja template failed. Parameters passed to this script are: Full path to template METplus configuration file: metplus_config_tmpl_fp = \"${metplus_config_tmpl_fp}\" Full path to output METplus configuration file: diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh index 3d8ba6eadf..83a11d4089 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx.sh @@ -390,8 +390,10 @@ settings="\ 'accum_no_pad': '${ACCUM_NO_PAD:-}' 'field_thresholds': '${FIELD_THRESHOLDS:-}' " - -# Store the settings in a temporary file +# +# Store the settings in a temporary file to use as input in the call to +# the METplus configuration generator script below. +# tmpfile=$( $READLINK -f "$(mktemp ./met_plus_settings.XXXXXX.yaml)") cat > $tmpfile << EOF $settings @@ -402,12 +404,11 @@ EOF # python3 $USHdir/python_utils/workflow-tools/scripts/templater.py \ -c "${tmpfile}" \ - -i ${metplus_config_tmpl_fp} \ - -o ${metplus_config_fp} || \ + -i "${metplus_config_tmpl_fp}" \ + -o "${metplus_config_fp}" || \ print_err_msg_exit "\ -Call to workflow-tools templater to generate a METplus -configuration file from a jinja template failed. Parameters passed -to this script are: +Call to workflow-tools templater.py to generate a METplus configuration +file from a jinja template failed. Parameters passed to this script are: Full path to template METplus configuration file: metplus_config_tmpl_fp = \"${metplus_config_tmpl_fp}\" Full path to output METplus configuration file: diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh index 7c84742eb0..3f4ff26772 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensmean.sh @@ -348,8 +348,10 @@ settings="\ 'accum_no_pad': '${ACCUM_NO_PAD:-}' 'field_thresholds': '${FIELD_THRESHOLDS:-}' " - -# Store the settings in a temporary file +# +# Store the settings in a temporary file to use as input in the call to +# the METplus configuration generator script below. +# tmpfile=$( $READLINK -f "$(mktemp ./met_plus_settings.XXXXXX.yaml)") cat > $tmpfile << EOF $settings @@ -358,15 +360,13 @@ EOF # Call the python script to generate the METplus configuration file from # the jinja template. # - python3 $USHdir/python_utils/workflow-tools/scripts/templater.py \ -c "${tmpfile}" \ - -i ${metplus_config_tmpl_fp} \ - -o ${metplus_config_fp} || \ + -i "${metplus_config_tmpl_fp}" \ + -o "${metplus_config_fp}" || \ print_err_msg_exit "\ -Call to workflow-tools templater to generate a METplus -configuration file from a jinja template failed. Parameters passed -to this script are: +Call to workflow-tools templater.py to generate a METplus configuration +file from a jinja template failed. Parameters passed to this script are: Full path to template METplus configuration file: metplus_config_tmpl_fp = \"${metplus_config_tmpl_fp}\" Full path to output METplus configuration file: diff --git a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh index 1c78bb8445..d7806cb365 100755 --- a/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh +++ b/scripts/exregional_run_met_gridstat_or_pointstat_vx_ensprob.sh @@ -300,7 +300,10 @@ settings="\ 'accum_no_pad': '${ACCUM_NO_PAD:-}' 'field_thresholds': '${FIELD_THRESHOLDS:-}' " -# Store the settings in a temporary file +# +# Store the settings in a temporary file to use as input in the call to +# the METplus configuration generator script below. +# tmpfile=$( $READLINK -f "$(mktemp ./met_plus_settings.XXXXXX.yaml)") cat > $tmpfile << EOF $settings @@ -311,12 +314,11 @@ EOF # python3 $USHdir/python_utils/workflow-tools/scripts/templater.py \ -c "${tmpfile}" \ - -i ${metplus_config_tmpl_fp} \ - -o ${metplus_config_fp} || \ + -i "${metplus_config_tmpl_fp}" \ + -o "${metplus_config_fp}" || \ print_err_msg_exit "\ -Call to workflow-tools templater to generate a METplus -configuration file from a jinja template failed. Parameters passed -to this script are: +Call to workflow-tools templater.py to generate a METplus configuration +file from a jinja template failed. Parameters passed to this script are: Full path to template METplus configuration file: metplus_config_tmpl_fp = \"${metplus_config_tmpl_fp}\" Full path to output METplus configuration file: diff --git a/scripts/exregional_run_met_pb2nc_obs.sh b/scripts/exregional_run_met_pb2nc_obs.sh index c8def0bd94..c95398269b 100755 --- a/scripts/exregional_run_met_pb2nc_obs.sh +++ b/scripts/exregional_run_met_pb2nc_obs.sh @@ -274,7 +274,10 @@ settings="\ 'accum_no_pad': '${ACCUM_NO_PAD:-}' 'field_thresholds': '${FIELD_THRESHOLDS:-}' " -# Store the settings in a temporary file +# +# Store the settings in a temporary file to use as input in the call to +# the METplus configuration generator script below. +# tmpfile=$( $READLINK -f "$(mktemp ./met_plus_settings.XXXXXX.yaml)") cat > $tmpfile << EOF $settings @@ -284,13 +287,12 @@ EOF # the jinja template. # python3 $USHdir/python_utils/workflow-tools/scripts/templater.py \ - -c ${tmpfile} \ - -i ${metplus_config_tmpl_fp} \ - -o ${metplus_config_fp} || \ + -c "${tmpfile}" \ + -i "${metplus_config_tmpl_fp}" \ + -o "${metplus_config_fp}" || \ print_err_msg_exit "\ -Call to workflow-tools templater.py to generate a METplus -configuration file from a jinja template failed. Parameters passed -to this script are: +Call to workflow-tools templater.py to generate a METplus configuration +file from a jinja template failed. Parameters passed to this script are: Full path to template METplus configuration file: metplus_config_tmpl_fp = \"${metplus_config_tmpl_fp}\" Full path to output METplus configuration file: diff --git a/scripts/exregional_run_met_pcpcombine.sh b/scripts/exregional_run_met_pcpcombine.sh index 6df06f350c..db7ae335f6 100755 --- a/scripts/exregional_run_met_pcpcombine.sh +++ b/scripts/exregional_run_met_pcpcombine.sh @@ -350,24 +350,25 @@ settings="\ 'accum_no_pad': '${ACCUM_NO_PAD:-}' 'field_thresholds': '${FIELD_THRESHOLDS:-}' " -# Store the settings in a temporary file +# +# Store the settings in a temporary file to use as input in the call to +# the METplus configuration generator script below. +# tmpfile=$( $READLINK -f "$(mktemp ./met_plus_settings.XXXXXX.yaml)") cat > $tmpfile << EOF $settings EOF - # # Call the python script to generate the METplus configuration file from # the jinja template. # python3 $USHdir/python_utils/workflow-tools/scripts/templater.py \ - -c ${tmpfile} \ - -i ${metplus_config_tmpl_fp} \ - -o ${metplus_config_fp} || \ + -c "${tmpfile}" \ + -i "${metplus_config_tmpl_fp}" \ + -o "${metplus_config_fp}" || \ print_err_msg_exit "\ -Call to workflow-tools templater.py to generate a METplus -configuration file from a jinja template failed. Parameters passed -to this script are: +Call to workflow-tools templater.py to generate a METplus configuration +file from a jinja template failed. Parameters passed to this script are: Full path to template METplus configuration file: metplus_config_tmpl_fp = \"${metplus_config_tmpl_fp}\" Full path to output METplus configuration file: From 8af92851104c0efd618ec03a1b513e4137bdfb55 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 15 Nov 2023 16:26:16 -0700 Subject: [PATCH 23/69] Minor fix for code appearance consistency. --- ush/set_vx_fhr_list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ush/set_vx_fhr_list.sh b/ush/set_vx_fhr_list.sh index a21d0d1c95..8a1c9735a5 100644 --- a/ush/set_vx_fhr_list.sh +++ b/ush/set_vx_fhr_list.sh @@ -106,7 +106,7 @@ function set_vx_fhr_list() { fhr_int="${accum_hh}" ;; "ASNOW") - if [ ${accum_hh} = "24" ] ; then + if [ "${accum_hh}" = "24" ]; then fhr_min="24" fhr_int="12" else From b57667a0cb499129c9d929e70ce670964b875d1a Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 15 Nov 2023 16:31:11 -0700 Subject: [PATCH 24/69] Remove commented out lines in METplus conf files involving [FCST|OBS]_NATIVE_DATA_TYPE. --- parm/metplus/GridStat_APCP.conf | 3 --- parm/metplus/GridStat_ASNOW.conf | 3 --- parm/metplus/GridStat_REFC.conf | 3 --- parm/metplus/GridStat_RETOP.conf | 3 --- parm/metplus/GridStat_ensmean_APCP.conf | 3 --- parm/metplus/GridStat_ensmean_ASNOW.conf | 3 --- parm/metplus/GridStat_ensmean_REFC.conf | 1 - parm/metplus/GridStat_ensmean_RETOP.conf | 1 - parm/metplus/GridStat_ensprob_APCP.conf | 3 --- parm/metplus/GridStat_ensprob_ASNOW.conf | 3 --- parm/metplus/GridStat_ensprob_REFC.conf | 3 --- parm/metplus/GridStat_ensprob_RETOP.conf | 3 --- 12 files changed, 32 deletions(-) diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index c1c33c1752..bdf7afd2e4 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -89,13 +89,10 @@ GRID_STAT_REGRID_SHAPE = SQUARE # makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. Here, # we store the value of the original lead in this column, i.e. the lead diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 09b2133c1b..175cdddc76 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -84,13 +84,10 @@ GRID_STAT_REGRID_SHAPE = SQUARE # makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 693e89b1ba..dfed67f3f8 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -88,13 +88,10 @@ GRID_STAT_GRID_WEIGHT_FLAG = NONE # makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. Here, # we store the value of the original lead in this column, i.e. the lead diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index bf52b5d990..cd27f41414 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -88,13 +88,10 @@ GRID_STAT_GRID_WEIGHT_FLAG = NONE # makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_{{ensmem_name}} - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. Here, # we store the value of the original lead in this column, i.e. the lead diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index 4fc64c4adf..4a472b66ca 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -89,13 +89,10 @@ GRID_STAT_REGRID_SHAPE = SQUARE # mean. This makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_ensmean - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 29fdf95ede..d8d7fb0386 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -89,13 +89,10 @@ GRID_STAT_REGRID_SHAPE = SQUARE # mean. This makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_ensmean - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index 71fb8b87a3..a6e8739b7f 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -92,7 +92,6 @@ MODEL = {{vx_fcst_model_name}}_ensmean # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index 22afddf581..24499dc430 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -92,7 +92,6 @@ MODEL = {{vx_fcst_model_name}}_ensmean # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index 47bd6a1b8d..ca6d4953c5 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -89,13 +89,10 @@ GRID_STAT_REGRID_SHAPE = SQUARE # This makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_ensprob - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 806726c114..8bf1e38983 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -89,13 +89,10 @@ GRID_STAT_REGRID_SHAPE = SQUARE # This makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_ensprob - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 32615b7504..be88083aa8 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -88,13 +88,10 @@ GRID_STAT_GRID_WEIGHT_FLAG = NONE # This makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_ensprob - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 23cf5d2191..0fc477821b 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -88,13 +88,10 @@ GRID_STAT_GRID_WEIGHT_FLAG = NONE # This makes it easier to identify each curve. # MODEL = {{vx_fcst_model_name}}_ensprob - -#FCST_NATIVE_DATA_TYPE = GRIB # # Name to identify observation data in output. # OBTYPE = {{obtype}} -#OBS_NATIVE_DATA_TYPE = GRIB # # Value to enter under the DESC column in the output stat file. # From 95858453d9990230b4ebd0f1160d7f1f27955802 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 12:03:49 -0700 Subject: [PATCH 25/69] Bug fix (OBSVAR7 --> OBS_VAR7); other minor changes to make it easier to compare ADP[SFC|UPA] conf files with other branches. --- parm/metplus/EnsembleStat_ADPSFC.conf | 11 ++++++----- parm/metplus/EnsembleStat_ADPUPA.conf | 10 +++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index b35dd94386..b2b7ac560a 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -71,7 +71,7 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_WINDOW_BEGIN = -1799 @@ -97,8 +97,8 @@ ENSEMBLE_STAT_OBS_QUALITY_INC = 0, 1, 2, 3, 9, NA #ENSEMBLE_STAT_OBS_QUALITY_EXC = # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. -# If the variable is not defined, or the value is not set -# than the MET default is used. +# If the variable is not defined, or the value is not set, then the MET +# default is used. ENSEMBLE_STAT_MET_OBS_ERR_TABLE = {MET_BASE}/table_files/obs_error_table.txt @@ -206,7 +206,8 @@ OBS_VAR2_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; FCST_VAR3_NAME = WIND FCST_VAR3_LEVELS = Z10 FCST_VAR3_THRESH = ge5, ge10, ge15 -FCST_VAR3_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind +# Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. +FCST_VAR3_OPTIONS = GRIB2_pdt = 0; OBS_VAR3_NAME = WIND OBS_VAR3_LEVELS = Z10 OBS_VAR3_THRESH = ge5, ge10, ge15 @@ -291,7 +292,7 @@ OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE = {{obs_input_fn_template}} # OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE = # -# Template for forecast input to EnsembleStat relative to +# Template for forecast input to EnsembleStat relative to # FCST_ENSEMBLE_STAT_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index fa0568ac99..1e248274aa 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -71,7 +71,7 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_WINDOW_BEGIN = -1799 @@ -97,8 +97,8 @@ ENSEMBLE_STAT_OBS_QUALITY_INC = 0, 1, 2, 3, 9, NA #ENSEMBLE_STAT_OBS_QUALITY_EXC = # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. -# If the variable is not defined, or the value is not set -# than the MET default is used. +# If the variable is not defined, or the value is not set, then the MET +# default is used. ENSEMBLE_STAT_MET_OBS_ERR_TABLE = {MET_BASE}/table_files/obs_error_table.txt @@ -240,7 +240,7 @@ FCST_VAR7_LEVELS = P700 FCST_VAR7_THRESH = ge10, ge15, ge20 OBS_VAR7_NAME = WIND OBS_VAR7_LEVELS = P700 -OBSVAR7_THRESH = ge10, ge15, ge20 +OBS_VAR7_THRESH = ge10, ge15, ge20 OBS_VAR7_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; inst_bias_scale = 1.0; inst_bias_offset = 0.0; min = NA; max = NA; } FCST_VAR8_NAME = WIND @@ -336,7 +336,7 @@ OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE = {{obs_input_fn_template}} # OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE = # -# Template for forecast input to EnsembleStat relative to +# Template for forecast input to EnsembleStat relative to # FCST_ENSEMBLE_STAT_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members From 90dcda3adabbe3071e6f1ae60a1bcdeb7f5db64e Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 12:44:15 -0700 Subject: [PATCH 26/69] Changes to make it easier to compare GenEnsProd conf files with those created using other branches. --- parm/metplus/GenEnsProd_ADPSFC.conf | 11 +++++++---- parm/metplus/GenEnsProd_ADPUPA.conf | 8 +++++--- parm/metplus/GenEnsProd_APCP.conf | 8 +++++--- parm/metplus/GenEnsProd_ASNOW.conf | 8 +++++--- parm/metplus/GenEnsProd_REFC.conf | 8 +++++--- parm/metplus/GenEnsProd_RETOP.conf | 10 ++++++---- 6 files changed, 33 insertions(+), 20 deletions(-) diff --git a/parm/metplus/GenEnsProd_ADPSFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf index 44329274ee..6d0fe1d33b 100644 --- a/parm/metplus/GenEnsProd_ADPSFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -62,7 +62,7 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### @@ -74,7 +74,7 @@ LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # GEN_ENS_PROD_INPUT_DIR = {{fcst_input_dir}} # -# Template for forecast input to GenEnsProd relative to +# Template for forecast input to GenEnsProd relative to # GEN_ENS_PROD_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members @@ -112,9 +112,11 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # Field Info ### -# Ensemble Variables and levels as specified in the ens field dictionary +# +# Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION +# ENS_VAR1_NAME = TMP ENS_VAR1_LEVELS = Z02 ENS_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 @@ -126,7 +128,8 @@ ENS_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 ENS_VAR3_NAME = WIND ENS_VAR3_LEVELS = Z10 ENS_VAR3_THRESH = ge5, ge10, ge15 -ENS_VAR3_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind +# Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. +ENS_VAR3_OPTIONS = GRIB2_pdt = 0; ENS_VAR4_NAME = TCDC ENS_VAR4_LEVELS = L0 diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index d0ae31dd73..c6ee16ce74 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -62,7 +62,7 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### @@ -74,7 +74,7 @@ LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # GEN_ENS_PROD_INPUT_DIR = {{fcst_input_dir}} # -# Template for forecast input to GenEnsProd relative to +# Template for forecast input to GenEnsProd relative to # GEN_ENS_PROD_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members @@ -112,9 +112,11 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # Field Info ### -# Ensemble Variables and levels as specified in the ens field dictionary +# +# Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION +# ENS_VAR1_NAME = TMP ENS_VAR1_LEVELS = P850 ENS_VAR1_THRESH = ge288, ge293, ge298 diff --git a/parm/metplus/GenEnsProd_APCP.conf b/parm/metplus/GenEnsProd_APCP.conf index cb8e1ba3cc..55510852ca 100644 --- a/parm/metplus/GenEnsProd_APCP.conf +++ b/parm/metplus/GenEnsProd_APCP.conf @@ -62,7 +62,7 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### @@ -74,7 +74,7 @@ LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # GEN_ENS_PROD_INPUT_DIR = {{fcst_input_dir}} # -# Template for forecast input to GenEnsProd relative to +# Template for forecast input to GenEnsProd relative to # GEN_ENS_PROD_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members @@ -112,9 +112,11 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # Field Info ### -# Ensemble Variables and levels as specified in the ens field dictionary +# +# Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION +# ENS_VAR1_NAME = {{fieldname_in_met_output}} ENS_VAR1_LEVELS = A{{accum_hh}} ENS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GenEnsProd_ASNOW.conf b/parm/metplus/GenEnsProd_ASNOW.conf index cb8e1ba3cc..55510852ca 100644 --- a/parm/metplus/GenEnsProd_ASNOW.conf +++ b/parm/metplus/GenEnsProd_ASNOW.conf @@ -62,7 +62,7 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### @@ -74,7 +74,7 @@ LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # GEN_ENS_PROD_INPUT_DIR = {{fcst_input_dir}} # -# Template for forecast input to GenEnsProd relative to +# Template for forecast input to GenEnsProd relative to # GEN_ENS_PROD_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members @@ -112,9 +112,11 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # Field Info ### -# Ensemble Variables and levels as specified in the ens field dictionary +# +# Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION +# ENS_VAR1_NAME = {{fieldname_in_met_output}} ENS_VAR1_LEVELS = A{{accum_hh}} ENS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GenEnsProd_REFC.conf b/parm/metplus/GenEnsProd_REFC.conf index c58a0ab3d8..a248e1d485 100644 --- a/parm/metplus/GenEnsProd_REFC.conf +++ b/parm/metplus/GenEnsProd_REFC.conf @@ -62,7 +62,7 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### @@ -74,7 +74,7 @@ LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # GEN_ENS_PROD_INPUT_DIR = {{fcst_input_dir}} # -# Template for forecast input to GenEnsProd relative to +# Template for forecast input to GenEnsProd relative to # GEN_ENS_PROD_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members @@ -112,9 +112,11 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # Field Info ### -# Ensemble Variables and levels as specified in the ens field dictionary +# +# Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION +# ENS_VAR1_NAME = {{fieldname_in_fcst_input}} ENS_VAR1_LEVELS = L0 ENS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GenEnsProd_RETOP.conf b/parm/metplus/GenEnsProd_RETOP.conf index c6ef61cf5e..196c9b8d25 100644 --- a/parm/metplus/GenEnsProd_RETOP.conf +++ b/parm/metplus/GenEnsProd_RETOP.conf @@ -62,7 +62,7 @@ GEN_ENS_PROD_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### @@ -74,7 +74,7 @@ LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # GEN_ENS_PROD_INPUT_DIR = {{fcst_input_dir}} # -# Template for forecast input to GenEnsProd relative to +# Template for forecast input to GenEnsProd relative to # GEN_ENS_PROD_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members @@ -112,13 +112,15 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # Field Info ### -# Ensemble Variables and levels as specified in the ens field dictionary +# +# Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION +# ENS_VAR1_NAME = {{fieldname_in_fcst_input}} ENS_VAR1_LEVELS = L0 ENS_VAR1_THRESH = {{field_thresholds}} -# convert from meters to kilofeet: M_to_KFT(x) = x * 3.28084 * 0.001; +# Convert from meters to kilofeet. ENS_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; ### From d4c85028d1865e3b71843b75dd67cb40155539f0 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 12:54:32 -0700 Subject: [PATCH 27/69] Changes to make it easier to compare EnsembleStat conf files with those created using other branches. --- parm/metplus/EnsembleStat_APCP.conf | 8 ++++---- parm/metplus/EnsembleStat_REFC.conf | 8 ++++---- parm/metplus/EnsembleStat_RETOP.conf | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index 751cb43232..be8de24d6d 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -71,7 +71,7 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = 0 @@ -94,8 +94,8 @@ ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. -# If the variable is not defined, or the value is not set -# than the MET default is used. +# If the variable is not defined, or the value is not set, then the MET +# default is used. ENSEMBLE_STAT_MET_OBS_ERR_TABLE = {MET_BASE}/table_files/obs_error_table.txt @@ -247,7 +247,7 @@ OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE = # OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE = {{obs_input_fn_template}} # -# Template for forecast input to EnsembleStat relative to +# Template for forecast input to EnsembleStat relative to # FCST_ENSEMBLE_STAT_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members diff --git a/parm/metplus/EnsembleStat_REFC.conf b/parm/metplus/EnsembleStat_REFC.conf index f0a2a8bd47..90da5915c5 100644 --- a/parm/metplus/EnsembleStat_REFC.conf +++ b/parm/metplus/EnsembleStat_REFC.conf @@ -71,7 +71,7 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = -300 @@ -94,8 +94,8 @@ ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. -# If the variable is not defined, or the value is not set -# than the MET default is used. +# If the variable is not defined, or the value is not set, then the MET +# default is used. ENSEMBLE_STAT_MET_OBS_ERR_TABLE = @@ -250,7 +250,7 @@ OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE = # OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE = {{obs_input_fn_template}} # -# Template for forecast input to EnsembleStat relative to +# Template for forecast input to EnsembleStat relative to # FCST_ENSEMBLE_STAT_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index 25e2d4d0e7..9c45f1ef4e 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -71,7 +71,7 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} OBS_FILE_WINDOW_BEGIN = -300 @@ -94,8 +94,8 @@ ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. -# If the variable is not defined, or the value is not set -# than the MET default is used. +# If the variable is not defined, or the value is not set, then the MET +# default is used. ENSEMBLE_STAT_MET_OBS_ERR_TABLE = @@ -188,13 +188,13 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} FCST_VAR1_LEVELS = L0 -# convert from meters to kilofeet: M_to_KFT(x) = x * 3.28084 * 0.001; +# Convert from meters to kilofeet. FCST_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = Z500 -# convert from kilometers to kilofeet: KM_to_KFT(x) = x * 3280.84 * 0.001; +# Convert from kilometers to kilofeet. OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -254,7 +254,7 @@ OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE = # OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE = {{obs_input_fn_template}} # -# Template for forecast input to EnsembleStat relative to +# Template for forecast input to EnsembleStat relative to # FCST_ENSEMBLE_STAT_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members From 20c11953017b0a721c508050375d7e97b1f46131 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 13:22:54 -0700 Subject: [PATCH 28/69] Changes to make it easier to compare GridStat_ensprob conf files with those created using other branches. --- parm/metplus/GridStat_ensprob_APCP.conf | 4 +++- parm/metplus/GridStat_ensprob_ASNOW.conf | 6 ++++-- parm/metplus/GridStat_ensprob_REFC.conf | 10 ++++++---- parm/metplus/GridStat_ensprob_RETOP.conf | 5 +++-- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index ca6d4953c5..11afd422ae 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. @@ -163,9 +163,11 @@ OBS_VAR4_NAME = {{fieldname_in_met_output}} OBS_VAR4_LEVELS = A{{accum_hh}} OBS_VAR4_THRESH = {{field_thresholds[3]}} +# #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" +# FCST_VAR5_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} FCST_VAR5_LEVELS = A{{accum_hh}} FCST_VAR5_THRESH = ==0.1 diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 8bf1e38983..7776be8975 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. @@ -119,7 +119,7 @@ FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} # gen_ens_prod tool. This tool reads in the NetCDF file(s) generated by # MET's pcp_combine tool. The latter reads in grib2 file(s) containing # 1 hour accumulation data (in this case, from forecasts) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These +# NetCDF file(s) with the appropriate > 1 hour accumulation. These # output NetCDF files from pcp_combine name their arrays as specified by # FIELDNAME_IN_MET_OUTPUT. The gen_ens_prod tool then takes this array # name and, in its output NetCDF files, creates arrays whose names consist @@ -194,10 +194,12 @@ OBS_VAR6_LEVELS = A{{accum_hh}} OBS_VAR6_THRESH = ge20.32 OBS_VAR6_OPTIONS = convert(x) = 100.0*x; +# #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" #FCST_VAR75_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_gt0.0 +# FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_gt0.0 FCST_VAR7_LEVELS = A{{accum_hh}} FCST_VAR7_THRESH = ==0.1 diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index be88083aa8..881d0564dc 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. @@ -114,10 +114,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # Note: # This is the name of the field in the NetCDF file(s) created by MET's # gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names +# of forecasts) and outputs NetCDF file(s) in which the array names # consist of the value of fieldname_in_met_output plus a suffix that # specifies additional properties of the data in the array such as the -# level, the type of statistic, etc. In this case, this suffix is +# level, the type of statistic, etc. In this case, this suffix is # "_L0_ENS_FREQ_ge20". Thus, below, FCST_VAR1_NAME must be set to the value # of fieldname_in_met_output with "_L0_ENS_FREQ_ge20" appended to it. # The same is true of other forecast fields below except the suffix is @@ -173,7 +173,7 @@ OBS_VAR2_OPTIONS = censor_thresh = lt-20; cnt_thresh = [ >15 ]; cnt_logic = UNION; -FCST_VAR3_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 +FCST_VAR3_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 FCST_VAR3_LEVELS = L0 FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = MergedReflectivityQCComposite @@ -195,9 +195,11 @@ OBS_VAR4_OPTIONS = censor_thresh = lt-20; cnt_thresh = [ >15 ]; cnt_logic = UNION; +# #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" +# FCST_VAR5_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR5_LEVELS = L0 FCST_VAR5_THRESH = ==0.1 diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 0fc477821b..4d7aa362e3 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. @@ -123,7 +123,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # The same is true of other forecast fields below except the suffix is # different. # -#FCST_VAR1_NAME = RETOP_L0_ENS_FREQ_ge20 FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR1_LEVELS = L0 # @@ -200,9 +199,11 @@ OBS_VAR4_OPTIONS = censor_thresh = lt-20.0; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; +# #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" +# FCST_VAR5_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR5_LEVELS = L0 FCST_VAR5_THRESH = ==0.1 From 896e3bdf17c2870c7c045bb7c23f6f915a5c7b3f Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 14:52:26 -0700 Subject: [PATCH 29/69] More changes to make it easier to compare GenEnsProd and EnsembleStat conf files with those generated by another branch. --- parm/metplus/EnsembleStat_ADPSFC.conf | 5 ++--- parm/metplus/EnsembleStat_ADPUPA.conf | 2 -- parm/metplus/GenEnsProd_ADPSFC.conf | 2 -- parm/metplus/GenEnsProd_ADPUPA.conf | 1 - parm/metplus/GenEnsProd_APCP.conf | 1 - parm/metplus/GenEnsProd_REFC.conf | 1 - parm/metplus/GenEnsProd_RETOP.conf | 1 - scripts/exregional_run_met_genensprod_or_ensemblestat.sh | 4 ++-- 8 files changed, 4 insertions(+), 13 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index b2b7ac560a..0c6bec0cac 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -113,10 +113,8 @@ ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = ENSEMBLE_STAT_MESSAGE_TYPE = {FIELDNAME_IN_MET_FILEDIR_NAMES} - ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = FALSE - ENSEMBLE_STAT_OBS_ERROR_FLAG = FALSE ENSEMBLE_STAT_ENS_SSVAR_BIN_SIZE = 1.0 @@ -235,7 +233,8 @@ OBS_VAR5_THRESH = lt1609, lt8045, ge8045 FCST_VAR6_NAME = HGT FCST_VAR6_LEVELS = L0 FCST_VAR6_THRESH = lt152, lt1520, ge914 -FCST_VAR6_OPTIONS = GRIB_lvl_typ = 215; desc = "CEILING"; +FCST_VAR6_OPTIONS = GRIB_lvl_typ = 215; + desc = "CEILING"; OBS_VAR6_NAME = CEILING OBS_VAR6_LEVELS = L0 OBS_VAR6_THRESH = lt152, lt305, ge914 diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index 1e248274aa..2caf6de006 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -113,10 +113,8 @@ ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = ENSEMBLE_STAT_MESSAGE_TYPE = {FIELDNAME_IN_MET_FILEDIR_NAMES} - ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = FALSE - ENSEMBLE_STAT_OBS_ERROR_FLAG = FALSE ENSEMBLE_STAT_ENS_SSVAR_BIN_SIZE = 1.0 diff --git a/parm/metplus/GenEnsProd_ADPSFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf index 6d0fe1d33b..28e51679d2 100644 --- a/parm/metplus/GenEnsProd_ADPSFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -111,7 +111,6 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} ### # Field Info ### - # # Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, @@ -150,7 +149,6 @@ ENS_VAR6_THRESH = lt152, lt1520, ge914 ENS_VAR6_OPTIONS = GRIB_lvl_typ = 215; desc = "CEILING"; - ### # GenEnsProd ### diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index c6ee16ce74..1de6d00837 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -111,7 +111,6 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} ### # Field Info ### - # # Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, diff --git a/parm/metplus/GenEnsProd_APCP.conf b/parm/metplus/GenEnsProd_APCP.conf index 55510852ca..a8bbdd8612 100644 --- a/parm/metplus/GenEnsProd_APCP.conf +++ b/parm/metplus/GenEnsProd_APCP.conf @@ -111,7 +111,6 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} ### # Field Info ### - # # Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, diff --git a/parm/metplus/GenEnsProd_REFC.conf b/parm/metplus/GenEnsProd_REFC.conf index a248e1d485..b7e068a7ab 100644 --- a/parm/metplus/GenEnsProd_REFC.conf +++ b/parm/metplus/GenEnsProd_REFC.conf @@ -111,7 +111,6 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} ### # Field Info ### - # # Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, diff --git a/parm/metplus/GenEnsProd_RETOP.conf b/parm/metplus/GenEnsProd_RETOP.conf index 196c9b8d25..c37252c1ce 100644 --- a/parm/metplus/GenEnsProd_RETOP.conf +++ b/parm/metplus/GenEnsProd_RETOP.conf @@ -111,7 +111,6 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} ### # Field Info ### - # # Ensemble variables and levels as specified in the ens field dictionary # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, diff --git a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh index 7977c71510..6b935bc4a5 100755 --- a/scripts/exregional_run_met_genensprod_or_ensemblestat.sh +++ b/scripts/exregional_run_met_genensprod_or_ensemblestat.sh @@ -235,11 +235,11 @@ for (( i=0; i<${NUM_ENS_MEMBERS}; i++ )); do slash_ensmem_subdir_or_null="/${ensmem_name}" if [ -z "${FCST_INPUT_FN_TEMPLATE}" ]; then - FCST_INPUT_FN_TEMPLATE=" $(eval echo ${template})" + FCST_INPUT_FN_TEMPLATE="$(eval echo ${template})" else FCST_INPUT_FN_TEMPLATE="\ ${FCST_INPUT_FN_TEMPLATE}, - $(eval echo ${template})" +$(eval echo ${template})" fi done From 19152ee9a4eeba766bc23762797ce4d8debf5d37 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 15:52:44 -0700 Subject: [PATCH 30/69] In METplus config template files that use "BOTH_VAR_...", split these "BOTH" variables to two, one named "FCST_VAR_..." and another named "OBS_VAR_...". --- parm/metplus/GridStat_APCP.conf | 7 ++----- parm/metplus/GridStat_ASNOW.conf | 23 +++++----------------- parm/metplus/GridStat_REFC.conf | 14 ++----------- parm/metplus/GridStat_RETOP.conf | 14 ++----------- parm/metplus/GridStat_ensmean_APCP.conf | 16 +++------------ parm/metplus/GridStat_ensmean_ASNOW.conf | 16 +++------------ parm/metplus/GridStat_ensmean_REFC.conf | 19 ++++++------------ parm/metplus/GridStat_ensmean_RETOP.conf | 14 ++----------- parm/metplus/PointStat_ensmean_ADPSFC.conf | 1 - parm/metplus/PointStat_ensmean_ADPUPA.conf | 1 - parm/metplus/PointStat_ensprob_ADPSFC.conf | 1 - parm/metplus/PointStat_ensprob_ADPUPA.conf | 1 - 12 files changed, 25 insertions(+), 102 deletions(-) diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index bdf7afd2e4..b9ac10c91d 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -141,11 +141,7 @@ FCST_VAR1_LEVELS = A{ACCUM_HH} # use lead values with zero lead corresponding to cdate. # FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; -# -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} +FCST_VAR1_THRESH = {{field_thresholds}} # # String to search for in the observation input files for observation # variable 1. @@ -162,6 +158,7 @@ OBS_VAR1_NAME = {{fieldname_in_met_output}} # same length as FCST_VAR1_LEVELS. # OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_THRESH = {{field_thresholds}} # # Time relative to valid time (in seconds) to allow files to be considered # valid. Set both BEGIN and END to 0 to require the exact time in the diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 175cdddc76..10c5ad2c9a 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -103,30 +103,16 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # String to search for in the foreast input files for forecast variable # 1. # -FCST_VAR1_NAME = {{fieldname_in_met_output}} -# -# List of levels to evaluate for forecast variable 1. -# ACCUM_HH = {{accum_hh}} +FCST_VAR1_NAME = {{fieldname_in_met_output}} FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; -OBS_VAR1_OPTIONS = convert(x) = 100.0*x; -# -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} -# -# String to search for in the observation input files for observation -# variable 1. -# OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_THRESH = {{field_thresholds}} +OBS_VAR1_OPTIONS = convert(x) = 100.0*x; # # Time relative to valid time (in seconds) to allow files to be considered # valid. Set both BEGIN and END to 0 to require the exact time in the @@ -134,6 +120,7 @@ OBS_VAR1_LEVELS = A{ACCUM_HH} # FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 FCST_GRID_STAT_FILE_WINDOW_END = 0 + OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 OBS_GRID_STAT_FILE_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index dfed67f3f8..1b69b761f6 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -115,10 +115,8 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # 1. # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} -# -# List of levels to evaluate for forecast variable 1. -# FCST_VAR1_LEVELS = L0 +FCST_VAR1_THRESH = {{field_thresholds}} # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. @@ -137,20 +135,12 @@ FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; cnt_thresh = [ >15 ]; cnt_logic = UNION; # -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} -# # String to search for in the observation input files for observation # variable 1. # OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = Z500 +OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = censor_thresh = [eq-999, <-20]; censor_val = [-9999, -20]; cnt_thresh = [ >15 ]; diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index cd27f41414..d99cbca839 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -115,10 +115,8 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # 1. # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} -# -# List of levels to evaluate for forecast variable 1. -# FCST_VAR1_LEVELS = L0 +FCST_VAR1_THRESH = {{field_thresholds}} # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. @@ -138,20 +136,12 @@ FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; cnt_thresh = [ >0 ]; cnt_logic = UNION; # -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} -# # String to search for in the observation input files for observation # variable 1. # OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = Z500 +OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = convert(x) = x * 3280.84 * 0.001; censor_thresh = [<=-9.84252,eq-3.28084]; censor_val = [-9999,-16.4042]; diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index 4a472b66ca..187dc23f21 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -113,17 +113,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # forecasts) and outputs NetCDF file(s) with the appropriate >= 1 hour # accumulation. # -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN -# -# List of levels to evaluate for forecast variable 1. -# ACCUM_HH = {{accum_hh}} +FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN FCST_VAR1_LEVELS = A{ACCUM_HH} -# -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} +FCST_VAR1_THRESH = {{field_thresholds}} # # String to search for in the observation input files for observation # variable 1. This is the name of the field in the NetCDF observation @@ -133,11 +126,8 @@ BOTH_VAR1_THRESH = {{field_thresholds}} # hour accumulation. # OBS_VAR1_NAME = {{fieldname_in_met_output}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_THRESH = {{field_thresholds}} # # Time relative to valid time (in seconds) to allow files to be considered # valid. Set both BEGIN and END to 0 to require the exact time in the diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index d8d7fb0386..68725d2197 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -128,17 +128,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # the METplus conf files for accumulation > 1 hour (e.g. 3, 6, and 24 # hour). # -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN -# -# List of levels to evaluate for forecast variable 1. -# ACCUM_HH = {{accum_hh}} +FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN FCST_VAR1_LEVELS = A{ACCUM_HH} -# -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} +FCST_VAR1_THRESH = {{field_thresholds}} # # String to search for in the observation input files for observation # variable 1. @@ -153,11 +146,8 @@ BOTH_VAR1_THRESH = {{field_thresholds}} # ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... # OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = convert(x) = 100.0*x; # # Time relative to valid time (in seconds) to allow files to be considered diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index a6e8739b7f..b17aa0eef9 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -118,15 +118,8 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # of fieldname_in_met_output with "_L0_ENS_MEAN" appended to it. # FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_MEAN -# -# List of levels to evaluate for forecast variable 1. -# FCST_VAR1_LEVELS = L0 -# -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} +FCST_VAR1_THRESH = {{field_thresholds}} # # String to search for in the observation input files for observation # variable 1. @@ -141,12 +134,12 @@ BOTH_VAR1_THRESH = {{field_thresholds}} # ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... # OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = Z500 -OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; +OBS_VAR1_THRESH = {{field_thresholds}} +OBS_VAR1_OPTIONS = censor_thresh = lt-20; + censor_val = -20.0; + cnt_thresh = [ >15 ]; + cnt_logic = UNION; # # Time relative to valid time (in seconds) to allow files to be considered # valid. Set both BEGIN and END to 0 to require the exact time in the diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index 24499dc430..dab3cecf28 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -118,17 +118,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # of fieldname_in_met_output with "_L0_ENS_MEAN" appended to it. # FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_MEAN -# -# List of levels to evaluate for forecast variable 1. -# FCST_VAR1_LEVELS = L0 +FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; # -# List of thresholds to evaluate for each name/level combination for -# both obs and forecast variable 1. -# -BOTH_VAR1_THRESH = {{field_thresholds}} -# # String to search for in the observation input files for observation # variable 1. # @@ -142,11 +135,8 @@ BOTH_VAR1_THRESH = {{field_thresholds}} # ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... # OBS_VAR1_NAME = {{fieldname_in_obs_input}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = Z500 +OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index 05463b3034..e0955c420e 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -176,7 +176,6 @@ POINT_STAT_ONCE_PER_FIELD = False # fields to compare # Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set -# To use one variables for both forecast and observation data, set BOTH_VAR_* instead FCST_VAR1_NAME = TMP_Z2_ENS_MEAN FCST_VAR1_LEVELS = Z2 FCST_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index eabe50e0ef..8c5d065d18 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -176,7 +176,6 @@ POINT_STAT_ONCE_PER_FIELD = False # fields to compare # Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set -# To use one variables for both forecast and observation data, set BOTH_VAR_* instead FCST_VAR1_NAME = TMP_P850_ENS_MEAN FCST_VAR1_LEVELS = P850 FCST_VAR1_THRESH = ge288, ge293, ge298 diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index fcbfa267ee..655a8ca9b7 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -176,7 +176,6 @@ POINT_STAT_ONCE_PER_FIELD = False # fields to compare # Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set -# To use one variables for both forecast and observation data, set BOTH_VAR_* instead # FREQ FCST_VAR1_NAME = TMP_Z2_ENS_FREQ_ge268 diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index f5cde7b9d4..417e64505c 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -176,7 +176,6 @@ POINT_STAT_ONCE_PER_FIELD = False # fields to compare # Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set -# To use one variables for both forecast and observation data, set BOTH_VAR_* instead #FREQ FCST_VAR1_NAME = TMP_P850_ENS_FREQ_ge288 FCST_VAR1_LEVELS = P850 From 8b6a6fd09b6b5d14cfb6ff079057c7637f593707 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 16:58:14 -0700 Subject: [PATCH 31/69] Add comments and remove extra whitespace. --- parm/metplus/EnsembleStat_ADPSFC.conf | 4 +++- parm/metplus/EnsembleStat_ADPUPA.conf | 4 +++- parm/metplus/EnsembleStat_APCP.conf | 6 +++--- parm/metplus/EnsembleStat_ASNOW.conf | 6 +++--- parm/metplus/EnsembleStat_REFC.conf | 6 +++--- parm/metplus/EnsembleStat_RETOP.conf | 6 +++--- parm/metplus/GridStat_ensmean_ASNOW.conf | 4 ++-- parm/metplus/GridStat_ensmean_REFC.conf | 4 ++-- parm/metplus/GridStat_ensmean_RETOP.conf | 4 ++-- parm/metplus/GridStat_ensprob_RETOP.conf | 6 +++--- 10 files changed, 27 insertions(+), 23 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index 0c6bec0cac..f3f6c79bb3 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -73,7 +73,9 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - +# +# Observation data time windows. +# OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index 2caf6de006..91b2e9a9b4 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -73,7 +73,9 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - +# +# Observation data time windows. +# OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index be8de24d6d..a7fe43b739 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -73,7 +73,9 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - +# +# Observation data time windows. +# OBS_FILE_WINDOW_BEGIN = 0 OBS_FILE_WINDOW_END = 0 @@ -110,10 +112,8 @@ ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = ENSEMBLE_STAT_MESSAGE_TYPE = - ENSEMBLE_STAT_DUPLICATE_FLAG = UNIQUE ENSEMBLE_STAT_SKIP_CONST = TRUE - ENSEMBLE_STAT_OBS_ERROR_FLAG = TRUE ENSEMBLE_STAT_ENS_SSVAR_BIN_SIZE = 1.0 diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index 4b587bd31e..eedd9fa38a 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -73,7 +73,9 @@ OBTYPE = {{obtype}} # Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - +# +# Observation data time windows. +# OBS_FILE_WINDOW_BEGIN = 0 OBS_FILE_WINDOW_END = 0 @@ -110,10 +112,8 @@ ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = ENSEMBLE_STAT_MESSAGE_TYPE = - ENSEMBLE_STAT_DUPLICATE_FLAG = UNIQUE ENSEMBLE_STAT_SKIP_CONST = TRUE - ENSEMBLE_STAT_OBS_ERROR_FLAG = TRUE ENSEMBLE_STAT_ENS_SSVAR_BIN_SIZE = 1.0 diff --git a/parm/metplus/EnsembleStat_REFC.conf b/parm/metplus/EnsembleStat_REFC.conf index 90da5915c5..1ee4a3d436 100644 --- a/parm/metplus/EnsembleStat_REFC.conf +++ b/parm/metplus/EnsembleStat_REFC.conf @@ -73,7 +73,9 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - +# +# Observation data time windows. +# OBS_FILE_WINDOW_BEGIN = -300 OBS_FILE_WINDOW_END = 300 @@ -112,10 +114,8 @@ ENSEMBLE_STAT_CENSOR_VAL = # Should this parameter be set to something other than ADPSFC (maybe # just leave empty) since we are not verifying surface fields? ENSEMBLE_STAT_MESSAGE_TYPE = ADPSFC - ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = TRUE - ENSEMBLE_STAT_OBS_ERROR_FLAG = FALSE ENSEMBLE_STAT_ENS_SSVAR_BIN_SIZE = 1.0 diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index 9c45f1ef4e..d490a7280d 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -73,7 +73,9 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} - +# +# Observation data time windows. +# OBS_FILE_WINDOW_BEGIN = -300 OBS_FILE_WINDOW_END = 300 @@ -112,10 +114,8 @@ ENSEMBLE_STAT_CENSOR_VAL = # Should this parameter be set to something other than ADPSFC (maybe # just leave empty) since we are not verifying surface fields? ENSEMBLE_STAT_MESSAGE_TYPE = ADPSFC - ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = TRUE - ENSEMBLE_STAT_OBS_ERROR_FLAG = FALSE ENSEMBLE_STAT_ENS_SSVAR_BIN_SIZE = 1.0 diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 68725d2197..298bf67c7a 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -111,7 +111,7 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # Note: # This is the name of the field in the NetCDF file(s) created by MET's # gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names +# of forecasts) and outputs NetCDF file(s) in which the array names # consist of the value of fieldname_in_met_output plus a suffix that # specifies additional properties of the data in the array such as the # level (which in this case is the accumulation period), the type of @@ -120,7 +120,7 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # with "_A01_ENS_MEAN" appended to it. # # Question: -# Why is the name of the array in the input NetCDF file (created by +# Why is the name of the array in the input NetCDF file (created by # GenEnsProd) that this task reads contains ..._A01_ENS_MEAN instead of # ..._A1_ENS_MEAN, as is the case for greater than 1-hour accumulation? # If that were the case, we could use ACCUM_NO_PAD here instead of hard- diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index b17aa0eef9..ce5c14eb61 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -110,10 +110,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # Note: # This is the name of the field in the NetCDF file(s) created by MET's # gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names +# of forecasts) and outputs NetCDF file(s) in which the array names # consist of the value of fieldname_in_met_output plus a suffix that # specifies additional properties of the data in the array such as the -# level, the type of statistic, etc. In this case, this suffix is +# level, the type of statistic, etc. In this case, this suffix is # "_L0_ENS_MEAN". Thus, below, FCST_VAR1_NAME must be set to the value # of fieldname_in_met_output with "_L0_ENS_MEAN" appended to it. # diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index dab3cecf28..32729ee2dd 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -110,10 +110,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # Note: # This is the name of the field in the NetCDF file(s) created by MET's # gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names +# of forecasts) and outputs NetCDF file(s) in which the array names # consist of the value of fieldname_in_met_output plus a suffix that # specifies additional properties of the data in the array such as the -# level, the type of statistic, etc. In this case, this suffix is +# level, the type of statistic, etc. In this case, this suffix is # "_L0_ENS_MEAN". Thus, below, FCST_VAR1_NAME must be set to the value # of fieldname_in_met_output with "_L0_ENS_MEAN" appended to it. # diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 4d7aa362e3..466469a6ee 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -114,10 +114,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # Note: # This is the name of the field in the NetCDF file(s) created by MET's # gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names +# of forecasts) and outputs NetCDF file(s) in which the array names # consist of the value of fieldname_in_met_output plus a suffix that # specifies additional properties of the data in the array such as the -# level, the type of statistic, etc. In this case, this suffix is +# level, the type of statistic, etc. In this case, this suffix is # "_L0_ENS_FREQ_ge20". Thus, below, FCST_VAR1_NAME must be set to the value # of fieldname_in_met_output with "_L0_ENS_FREQ_ge20" appended to it. # The same is true of other forecast fields below except the suffix is @@ -175,7 +175,7 @@ OBS_VAR2_OPTIONS = censor_thresh = lt-20.0; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; -FCST_VAR3_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 +FCST_VAR3_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge40 FCST_VAR3_LEVELS = L0 FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = EchoTop18 From 9c2c8db8e609af4c502b5203a6648975b78e9c4d Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 20:27:25 -0700 Subject: [PATCH 32/69] Clean up comments for forecast and obs time windows. --- parm/metplus/EnsembleStat_ADPSFC.conf | 3 +-- parm/metplus/EnsembleStat_ADPUPA.conf | 3 +-- parm/metplus/EnsembleStat_APCP.conf | 3 +-- parm/metplus/EnsembleStat_ASNOW.conf | 3 +-- parm/metplus/EnsembleStat_REFC.conf | 3 +-- parm/metplus/EnsembleStat_RETOP.conf | 3 +-- parm/metplus/GridStat_APCP.conf | 7 ++++--- parm/metplus/GridStat_ASNOW.conf | 8 ++++---- parm/metplus/GridStat_REFC.conf | 7 ++++--- parm/metplus/GridStat_RETOP.conf | 7 ++++--- parm/metplus/GridStat_ensmean_APCP.conf | 7 ++++--- parm/metplus/GridStat_ensmean_ASNOW.conf | 7 ++++--- parm/metplus/GridStat_ensmean_REFC.conf | 7 ++++--- parm/metplus/GridStat_ensmean_RETOP.conf | 7 ++++--- parm/metplus/GridStat_ensprob_APCP.conf | 8 +++++--- parm/metplus/GridStat_ensprob_ASNOW.conf | 8 +++++--- parm/metplus/GridStat_ensprob_REFC.conf | 8 +++++--- parm/metplus/GridStat_ensprob_RETOP.conf | 8 +++++--- parm/metplus/Pb2nc_obs.conf | 5 ++++- parm/metplus/PointStat_ADPSFC.conf | 5 +---- parm/metplus/PointStat_ADPUPA.conf | 5 +---- parm/metplus/PointStat_ensmean_ADPSFC.conf | 5 +---- parm/metplus/PointStat_ensmean_ADPUPA.conf | 5 +---- parm/metplus/PointStat_ensprob_ADPSFC.conf | 5 +---- parm/metplus/PointStat_ensprob_ADPUPA.conf | 5 +---- 25 files changed, 68 insertions(+), 74 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index f3f6c79bb3..d873a95e53 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -74,11 +74,10 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # -# Observation data time windows. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 - OBS_ENSEMBLE_STAT_WINDOW_BEGIN = {OBS_WINDOW_BEGIN} OBS_ENSEMBLE_STAT_WINDOW_END = {OBS_WINDOW_END} diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index 91b2e9a9b4..2a629b8a0d 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -74,11 +74,10 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # -# Observation data time windows. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 - OBS_ENSEMBLE_STAT_WINDOW_BEGIN = {OBS_WINDOW_BEGIN} OBS_ENSEMBLE_STAT_WINDOW_END = {OBS_WINDOW_END} diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index a7fe43b739..a8173b04b8 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -74,11 +74,10 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # -# Observation data time windows. +# Observation data time window(s). # OBS_FILE_WINDOW_BEGIN = 0 OBS_FILE_WINDOW_END = 0 - OBS_ENSEMBLE_STAT_WINDOW_BEGIN = 0 OBS_ENSEMBLE_STAT_WINDOW_END = 0 diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index eedd9fa38a..8c9d21bb1c 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -74,11 +74,10 @@ OBTYPE = {{obtype}} # Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # -# Observation data time windows. +# Observation data time window(s). # OBS_FILE_WINDOW_BEGIN = 0 OBS_FILE_WINDOW_END = 0 - OBS_ENSEMBLE_STAT_WINDOW_BEGIN = 0 OBS_ENSEMBLE_STAT_WINDOW_END = 0 diff --git a/parm/metplus/EnsembleStat_REFC.conf b/parm/metplus/EnsembleStat_REFC.conf index 1ee4a3d436..f72c144abf 100644 --- a/parm/metplus/EnsembleStat_REFC.conf +++ b/parm/metplus/EnsembleStat_REFC.conf @@ -74,11 +74,10 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # -# Observation data time windows. +# Observation data time window(s). # OBS_FILE_WINDOW_BEGIN = -300 OBS_FILE_WINDOW_END = 300 - OBS_ENSEMBLE_STAT_WINDOW_BEGIN = 0 OBS_ENSEMBLE_STAT_WINDOW_END = 0 diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index d490a7280d..4afbe79998 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -74,11 +74,10 @@ OBTYPE = {{obtype}} # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # -# Observation data time windows. +# Observation data time window(s). # OBS_FILE_WINDOW_BEGIN = -300 OBS_FILE_WINDOW_END = 300 - OBS_ENSEMBLE_STAT_WINDOW_BEGIN = 0 OBS_ENSEMBLE_STAT_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index b9ac10c91d..9b60a580d7 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -160,12 +160,13 @@ OBS_VAR1_NAME = {{fieldname_in_met_output}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_THRESH = {{field_thresholds}} # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 OBS_GRID_STAT_FILE_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 10c5ad2c9a..cc13ed285a 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -114,13 +114,13 @@ OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = convert(x) = 100.0*x; # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 FCST_GRID_STAT_FILE_WINDOW_END = 0 - +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 OBS_GRID_STAT_FILE_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 1b69b761f6..bb37b94179 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -146,12 +146,13 @@ OBS_VAR1_OPTIONS = censor_thresh = [eq-999, <-20]; cnt_thresh = [ >15 ]; cnt_logic = UNION; # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # #FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 #FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = -300 OBS_GRID_STAT_FILE_WINDOW_END = 300 diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index d99cbca839..323d6cab53 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -148,12 +148,13 @@ OBS_VAR1_OPTIONS = convert(x) = x * 3280.84 * 0.001; cnt_thresh = [ >0 ]; cnt_logic = UNION; # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # #FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 #FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = -300 OBS_GRID_STAT_FILE_WINDOW_END = 300 diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index 187dc23f21..91717f1cc9 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -129,12 +129,13 @@ OBS_VAR1_NAME = {{fieldname_in_met_output}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_THRESH = {{field_thresholds}} # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 OBS_GRID_STAT_FILE_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 298bf67c7a..25ea3b3457 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -150,12 +150,13 @@ OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = convert(x) = 100.0*x; # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 OBS_GRID_STAT_FILE_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index ce5c14eb61..0bfb9fb940 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -141,12 +141,13 @@ OBS_VAR1_OPTIONS = censor_thresh = lt-20; cnt_thresh = [ >15 ]; cnt_logic = UNION; # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # #FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 #FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = -300 OBS_GRID_STAT_FILE_WINDOW_END = 300 diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index 32729ee2dd..367bdbb579 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -143,12 +143,13 @@ OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; cnt_logic = UNION; convert(x) = x * 3280.84 * 0.001; # -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# Forecast data time window(s). # #FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 #FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = -300 OBS_GRID_STAT_FILE_WINDOW_END = 300 diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index 11afd422ae..0ea00a6e7c 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -208,12 +208,14 @@ OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thr #OBS_GRID_STAT_FILE_TYPE = -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# +# Forecast data time window(s). # FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 OBS_GRID_STAT_FILE_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 7776be8975..374d2c79d6 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -244,12 +244,14 @@ OBS_VAR10_OPTIONS = convert(x) = 100.0*x; #OBS_GRID_STAT_FILE_TYPE = -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# +# Forecast data time window(s). # FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0 OBS_GRID_STAT_FILE_WINDOW_END = 0 diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 881d0564dc..ce58b448f6 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -254,12 +254,14 @@ OBS_VAR8_OPTIONS = censor_thresh = lt-20; #OBS_GRID_STAT_FILE_TYPE = -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# +# Forecast data time window(s). # #FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 #FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = -300 OBS_GRID_STAT_FILE_WINDOW_END = 300 diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 466469a6ee..39cbf7d12f 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -262,12 +262,14 @@ OBS_VAR8_OPTIONS = censor_thresh = lt-20.0; #OBS_GRID_STAT_FILE_TYPE = -# Time relative to valid time (in seconds) to allow files to be considered -# valid. Set both BEGIN and END to 0 to require the exact time in the -# filename. Not used in this example. +# +# Forecast data time window(s). # #FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0 #FCST_GRID_STAT_FILE_WINDOW_END = 0 +# +# Observation data time window(s). +# OBS_GRID_STAT_FILE_WINDOW_BEGIN = -300 OBS_GRID_STAT_FILE_WINDOW_END = 300 diff --git a/parm/metplus/Pb2nc_obs.conf b/parm/metplus/Pb2nc_obs.conf index 99460acb89..762356712c 100644 --- a/parm/metplus/Pb2nc_obs.conf +++ b/parm/metplus/Pb2nc_obs.conf @@ -66,9 +66,12 @@ PB2NC_CONFIG_FILE = {PARM_BASE}/met_config/PB2NCConfig_wrapped # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# +# Obervation data time window(s). +# OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 + PB2NC_WINDOW_BEGIN = {OBS_WINDOW_BEGIN} PB2NC_WINDOW_END = {OBS_WINDOW_END} diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index 7b29c1d0c2..72754f9e6c 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -103,10 +103,7 @@ POINT_STAT_CLIMO_CDF_BINS = 1 #POINT_STAT_HSS_EC_VALUE = # -# Time relative to each input file's valid time (in seconds if no units -# are specified) for data within the file to be considered valid. Values -# are set in the 'obs_window' dictionary in the PointStat config file. -# Set both BEGIN and END to 0 to require the exact time in the filename. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index 1ca09deab6..99e494ee08 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -103,10 +103,7 @@ POINT_STAT_CLIMO_CDF_BINS = 1 #POINT_STAT_HSS_EC_VALUE = # -# Time relative to each input file's valid time (in seconds if no units -# are specified) for data within the file to be considered valid. Values -# are set in the 'obs_window' dictionary in the PointStat config file. -# Set both BEGIN and END to 0 to require the exact time in the filename. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index e0955c420e..c5362ef244 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -103,10 +103,7 @@ POINT_STAT_CLIMO_CDF_BINS = 1 #POINT_STAT_HSS_EC_VALUE = # -# Time relative to each input file's valid time (in seconds if no units -# are specified) for data within the file to be considered valid. Values -# are set in the 'obs_window' dictionary in the PointStat config file. -# Set both BEGIN and END to 0 to require the exact time in the filename. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index 8c5d065d18..20b1cbf2c8 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -103,10 +103,7 @@ POINT_STAT_CLIMO_CDF_BINS = 1 #POINT_STAT_HSS_EC_VALUE = # -# Time relative to each input file's valid time (in seconds if no units -# are specified) for data within the file to be considered valid. Values -# are set in the 'obs_window' dictionary in the PointStat config file. -# Set both BEGIN and END to 0 to require the exact time in the filename. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index 655a8ca9b7..87cfac1a67 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -103,10 +103,7 @@ POINT_STAT_CLIMO_CDF_BINS = 1 #POINT_STAT_HSS_EC_VALUE = # -# Time relative to each input file's valid time (in seconds if no units -# are specified) for data within the file to be considered valid. Values -# are set in the 'obs_window' dictionary in the PointStat config file. -# Set both BEGIN and END to 0 to require the exact time in the filename. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index 417e64505c..447c4fe714 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -103,10 +103,7 @@ POINT_STAT_CLIMO_CDF_BINS = 1 #POINT_STAT_HSS_EC_VALUE = # -# Time relative to each input file's valid time (in seconds if no units -# are specified) for data within the file to be considered valid. Values -# are set in the 'obs_window' dictionary in the PointStat config file. -# Set both BEGIN and END to 0 to require the exact time in the filename. +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 From 3be4460e55a25690b7a84aa21511aec175873178 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Wed, 22 Nov 2023 20:42:05 -0700 Subject: [PATCH 33/69] Make comments for logging consistent with other conf files. --- parm/metplus/EnsembleStat_ASNOW.conf | 2 +- parm/metplus/GridStat_APCP.conf | 2 +- parm/metplus/GridStat_ASNOW.conf | 2 +- parm/metplus/GridStat_REFC.conf | 2 +- parm/metplus/GridStat_RETOP.conf | 2 +- parm/metplus/GridStat_ensmean_APCP.conf | 2 +- parm/metplus/GridStat_ensmean_ASNOW.conf | 2 +- parm/metplus/GridStat_ensmean_REFC.conf | 2 +- parm/metplus/GridStat_ensmean_RETOP.conf | 2 +- parm/metplus/Pb2nc_obs.conf | 2 +- parm/metplus/PointStat_ADPSFC.conf | 2 +- parm/metplus/PointStat_ADPUPA.conf | 2 +- parm/metplus/PointStat_ensmean_ADPSFC.conf | 2 +- parm/metplus/PointStat_ensmean_ADPUPA.conf | 2 +- parm/metplus/PointStat_ensprob_ADPSFC.conf | 2 +- parm/metplus/PointStat_ensprob_ADPUPA.conf | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index 8c9d21bb1c..b987991197 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -71,7 +71,7 @@ ENSEMBLE_STAT_DESC = NA # OBTYPE = {{obtype}} -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Observation data time window(s). diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index 9b60a580d7..dfde7f3da1 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index cc13ed285a..612cb901be 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index bb37b94179..f7dddc6073 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 323d6cab53..0fd1f2b2cb 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index 91717f1cc9..ef182150fa 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 25ea3b3457..8b8ec3cf4e 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index 0bfb9fb940..a12ed6d3a9 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index 367bdbb579..74b5d9b902 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/Pb2nc_obs.conf b/parm/metplus/Pb2nc_obs.conf index 762356712c..31e4a8d2bc 100644 --- a/parm/metplus/Pb2nc_obs.conf +++ b/parm/metplus/Pb2nc_obs.conf @@ -43,7 +43,7 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index 72754f9e6c..43f7ecf05d 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index 99e494ee08..e7544cb6b1 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index c5362ef244..8b7f3acd9a 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index 20b1cbf2c8..6c7015eb76 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index 87cfac1a67..fc2d621e47 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index 447c4fe714..c11ba06bf2 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -44,7 +44,7 @@ LEAD_SEQ = {{fhr_list}} # LOOP_ORDER = times -# Verbosity of MET output. 0 to 5; 0 is quiet, 5 is loud. +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. From bced8943329aef23920b960a31e3d43b72684276 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 00:58:51 -0700 Subject: [PATCH 34/69] Clean up comments, put each option on separate line, remove unneeded whitespace. --- parm/metplus/PointStat_ensmean_ADPSFC.conf | 5 ++--- parm/metplus/PointStat_ensmean_ADPUPA.conf | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index 8b7f3acd9a..8f59cc8d2b 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -170,9 +170,8 @@ POINT_STAT_ONCE_PER_FIELD = False # PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, # (optional) FCST_VARn_OPTION # - -# fields to compare -# Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set +# List of forecast and corresponding observation fields to process. +# FCST_VAR1_NAME = TMP_Z2_ENS_MEAN FCST_VAR1_LEVELS = Z2 FCST_VAR1_THRESH = ge268, ge273, ge278, ge293, ge298, ge303 diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index 6c7015eb76..f27b038b92 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -170,9 +170,8 @@ POINT_STAT_ONCE_PER_FIELD = False # PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, # (optional) FCST_VARn_OPTION # - -# fields to compare -# Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set +# List of forecast and corresponding observation fields to process. +# FCST_VAR1_NAME = TMP_P850_ENS_MEAN FCST_VAR1_LEVELS = P850 FCST_VAR1_THRESH = ge288, ge293, ge298 @@ -217,7 +216,7 @@ OBS_VAR6_THRESH = ge5, ge10, ge15 FCST_VAR7_NAME = WIND_P700_ENS_MEAN FCST_VAR7_LEVELS = P700 -FCST_VAR7_THRESH = ge10, ge15, ge20 +FCST_VAR7_THRESH = ge10, ge15, ge20 OBS_VAR7_NAME = WIND OBS_VAR7_LEVELS = P700 OBS_VAR7_THRESH = ge10, ge15, ge20 @@ -250,7 +249,8 @@ FCST_VAR11_OPTIONS = cnt_thresh = [ >0 ]; OBS_VAR11_NAME = CAPE OBS_VAR11_LEVELS = L0-100000 OBS_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 -OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; +OBS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; + cnt_logic = UNION; FCST_VAR12_NAME = HPBL_Z0_ENS_MEAN FCST_VAR12_LEVELS = Z0 From 4c7f88b4d74346d6127aae58ffdd48ed8151e69c Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 01:27:09 -0700 Subject: [PATCH 35/69] Make the thresholds for CAPE in GenEnsProd_ADPUPA.conf consistent with the ones in EnsembleStat_ADPUPA.conf. --- parm/metplus/GenEnsProd_ADPUPA.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index 1de6d00837..513c8bf1bf 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -158,7 +158,7 @@ ENS_VAR10_THRESH = ge5400, ge5600, ge5880 ENS_VAR11_NAME = CAPE ENS_VAR11_LEVELS = L0 -ENS_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 +ENS_VAR11_THRESH = le1000, gt1000&<2500, ge2500&<4000, ge2500 ENS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; ENS_VAR12_NAME = HPBL From 80741d2dcb199a07bc4019194a0bd25cc039be97 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 01:50:45 -0700 Subject: [PATCH 36/69] Undo previous commit since we want to do it later as a non-result changing commit. --- parm/metplus/GenEnsProd_ADPUPA.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index 513c8bf1bf..1de6d00837 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -158,7 +158,7 @@ ENS_VAR10_THRESH = ge5400, ge5600, ge5880 ENS_VAR11_NAME = CAPE ENS_VAR11_LEVELS = L0 -ENS_VAR11_THRESH = le1000, gt1000&<2500, ge2500&<4000, ge2500 +ENS_VAR11_THRESH = le1000, gt1000&<2500, gt2500&<4000, gt2500 ENS_VAR11_OPTIONS = cnt_thresh = [ >0 ]; ENS_VAR12_NAME = HPBL From e919360444afcf06169e7d42315ab08101ecb61f Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 01:52:20 -0700 Subject: [PATCH 37/69] Move THRESH variable to before OPTIONS and after LEVELS. --- parm/metplus/PointStat_ensprob_ADPUPA.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index c11ba06bf2..dcaa1c8297 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -430,9 +430,9 @@ FCST_VAR36_LEVELS = L0 FCST_VAR36_THRESH = ==0.1 OBS_VAR36_NAME = CAPE OBS_VAR36_LEVELS = L0-100000 +OBS_VAR36_THRESH = gt2500 OBS_VAR36_OPTIONS = cnt_thresh = [ >0 ]; cnt_logic = UNION; -OBS_VAR36_THRESH = gt2500 FCST_VAR37_NAME = HPBL_Z0_ENS_FREQ_lt500 FCST_VAR37_LEVELS = Z0 From 13b70950c2649a43117c9b8a0009fc53d71d82cc Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 02:00:02 -0700 Subject: [PATCH 38/69] Clean up comments. --- parm/metplus/PointStat_ensprob_ADPSFC.conf | 11 +++-------- parm/metplus/PointStat_ensprob_ADPUPA.conf | 10 +++------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index fc2d621e47..ef0bb083bf 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -166,15 +166,10 @@ POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to False to run PointStat once per run time including all fields POINT_STAT_ONCE_PER_FIELD = False # -# Variables and levels as specified in the field dictionary of the METplus -# PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION +# List of forecast and corresponding observation fields to process. +# Note that the forecast variable name must exactly match the name of a +# variable in the forecast input file(s). # - -# fields to compare -# Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set - -# FREQ FCST_VAR1_NAME = TMP_Z2_ENS_FREQ_ge268 FCST_VAR1_LEVELS = Z2 FCST_VAR1_THRESH = ==0.1 diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index dcaa1c8297..6c2a1918a9 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -166,14 +166,10 @@ POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to False to run PointStat once per run time including all fields POINT_STAT_ONCE_PER_FIELD = False # -# Variables and levels as specified in the field dictionary of the METplus -# PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION +# List of forecast and corresponding observation fields to process. +# Note that the forecast variable name must exactly match the name of a +# variable in the forecast input file(s). # - -# fields to compare -# Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set -#FREQ FCST_VAR1_NAME = TMP_P850_ENS_FREQ_ge288 FCST_VAR1_LEVELS = P850 FCST_VAR1_THRESH = ==0.1 From e9a536860b49f65a410c0cb4c6744fd61be0ba9f Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 03:38:02 -0700 Subject: [PATCH 39/69] Fix up comments. --- parm/metplus/GenEnsProd_APCP.conf | 3 ++- parm/metplus/Pb2nc_obs.conf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/parm/metplus/GenEnsProd_APCP.conf b/parm/metplus/GenEnsProd_APCP.conf index a8bbdd8612..0227426f83 100644 --- a/parm/metplus/GenEnsProd_APCP.conf +++ b/parm/metplus/GenEnsProd_APCP.conf @@ -61,8 +61,9 @@ GEN_ENS_PROD_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### diff --git a/parm/metplus/Pb2nc_obs.conf b/parm/metplus/Pb2nc_obs.conf index 31e4a8d2bc..00d99788e6 100644 --- a/parm/metplus/Pb2nc_obs.conf +++ b/parm/metplus/Pb2nc_obs.conf @@ -67,7 +67,7 @@ PB2NC_CONFIG_FILE = {PARM_BASE}/met_config/PB2NCConfig_wrapped # OBTYPE = {{obtype}} # -# Obervation data time window(s). +# Observation data time window(s). # OBS_WINDOW_BEGIN = -1799 OBS_WINDOW_END = 1800 From 0818802d3a0aa4272eaf252079066f3a50e6fe69 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 03:43:00 -0700 Subject: [PATCH 40/69] Set verbosity level of PcpCombine tasks using workflow variable; remove commented code; fix variable name. --- parm/metplus/PcpCombine_fcst_APCP.conf | 5 ++++- parm/metplus/PcpCombine_obs_APCP.conf | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/parm/metplus/PcpCombine_fcst_APCP.conf b/parm/metplus/PcpCombine_fcst_APCP.conf index 9766f0abb1..c0e8693816 100644 --- a/parm/metplus/PcpCombine_fcst_APCP.conf +++ b/parm/metplus/PcpCombine_fcst_APCP.conf @@ -43,6 +43,10 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run LOOP_ORDER = times # +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} +# # Specify the name of the METplus log file. # LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} @@ -91,7 +95,6 @@ FCST_PCP_COMBINE_MAX_FORECAST = 2d FCST_PCP_COMBINE_CONSTANT_INIT = True FCST_PCP_COMBINE_INPUT_DATATYPE = GRIB -#FCST_NATIVE_DATA_TYPE = GRIB # End of [config] section and start of [dir] section. [dir] diff --git a/parm/metplus/PcpCombine_obs_APCP.conf b/parm/metplus/PcpCombine_obs_APCP.conf index a54eb24040..5ecf7a3141 100644 --- a/parm/metplus/PcpCombine_obs_APCP.conf +++ b/parm/metplus/PcpCombine_obs_APCP.conf @@ -43,6 +43,10 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run LOOP_ORDER = times # +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} +# # Specify the name of the METplus log file. # LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} @@ -99,8 +103,7 @@ PCP_COMBINE_SKIP_IF_OUTPUT_EXISTS = True # Name to identify observation data in output. # OBTYPE = CCPA -OBS_PCP_COMBINE_INPUT_DATATYPE = GRIB -#OBS_NATIVE_DATA_TYPE = GRIB +OBS_PCP_COMBINE_INPUT_DATA_TYPE = GRIB # End of [config] section and start of [dir] section. [dir] From 28aafdb1126ac785670c709dfbda8da1224cadd9 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 03:53:21 -0700 Subject: [PATCH 41/69] Fix up comments. --- parm/metplus/EnsembleStat_ADPSFC.conf | 3 ++- parm/metplus/EnsembleStat_ADPUPA.conf | 3 ++- parm/metplus/EnsembleStat_APCP.conf | 3 ++- parm/metplus/EnsembleStat_ASNOW.conf | 3 ++- parm/metplus/EnsembleStat_REFC.conf | 3 ++- parm/metplus/EnsembleStat_RETOP.conf | 3 ++- parm/metplus/GenEnsProd_ADPSFC.conf | 3 ++- parm/metplus/GenEnsProd_ADPUPA.conf | 3 ++- parm/metplus/GenEnsProd_ASNOW.conf | 3 ++- parm/metplus/GenEnsProd_REFC.conf | 3 ++- parm/metplus/GenEnsProd_RETOP.conf | 3 ++- parm/metplus/GridStat_APCP.conf | 3 ++- parm/metplus/GridStat_ASNOW.conf | 3 ++- parm/metplus/GridStat_REFC.conf | 3 ++- parm/metplus/GridStat_RETOP.conf | 3 ++- parm/metplus/GridStat_ensmean_APCP.conf | 3 ++- parm/metplus/GridStat_ensmean_ASNOW.conf | 3 ++- parm/metplus/GridStat_ensmean_REFC.conf | 3 ++- parm/metplus/GridStat_ensmean_RETOP.conf | 3 ++- parm/metplus/GridStat_ensprob_APCP.conf | 3 ++- parm/metplus/GridStat_ensprob_ASNOW.conf | 3 ++- parm/metplus/GridStat_ensprob_REFC.conf | 3 ++- parm/metplus/GridStat_ensprob_RETOP.conf | 3 ++- parm/metplus/Pb2nc_obs.conf | 3 ++- parm/metplus/PcpCombine_fcst_ASNOW.conf | 4 ++++ parm/metplus/PointStat_ADPSFC.conf | 3 ++- parm/metplus/PointStat_ADPUPA.conf | 3 ++- parm/metplus/PointStat_ensmean_ADPSFC.conf | 3 ++- parm/metplus/PointStat_ensmean_ADPUPA.conf | 3 ++- parm/metplus/PointStat_ensprob_ADPSFC.conf | 3 ++- parm/metplus/PointStat_ensprob_ADPUPA.conf | 3 ++- 31 files changed, 64 insertions(+), 30 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index d873a95e53..51ec2f421c 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -70,8 +70,9 @@ ENSEMBLE_STAT_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Observation data time window(s). diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index 2a629b8a0d..513cb5b63b 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -70,8 +70,9 @@ ENSEMBLE_STAT_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Observation data time window(s). diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index a8173b04b8..3390a414d0 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -70,8 +70,9 @@ ENSEMBLE_STAT_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Observation data time window(s). diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index b987991197..34fee0adae 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -70,8 +70,9 @@ ENSEMBLE_STAT_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Observation data time window(s). diff --git a/parm/metplus/EnsembleStat_REFC.conf b/parm/metplus/EnsembleStat_REFC.conf index f72c144abf..108c9d576f 100644 --- a/parm/metplus/EnsembleStat_REFC.conf +++ b/parm/metplus/EnsembleStat_REFC.conf @@ -70,8 +70,9 @@ ENSEMBLE_STAT_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Observation data time window(s). diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index 4afbe79998..328543c246 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -70,8 +70,9 @@ ENSEMBLE_STAT_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Observation data time window(s). diff --git a/parm/metplus/GenEnsProd_ADPSFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf index 28e51679d2..a331459c0f 100644 --- a/parm/metplus/GenEnsProd_ADPSFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -61,8 +61,9 @@ GEN_ENS_PROD_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### diff --git a/parm/metplus/GenEnsProd_ADPUPA.conf b/parm/metplus/GenEnsProd_ADPUPA.conf index 1de6d00837..863427752f 100644 --- a/parm/metplus/GenEnsProd_ADPUPA.conf +++ b/parm/metplus/GenEnsProd_ADPUPA.conf @@ -61,8 +61,9 @@ GEN_ENS_PROD_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### diff --git a/parm/metplus/GenEnsProd_ASNOW.conf b/parm/metplus/GenEnsProd_ASNOW.conf index 55510852ca..47fb7c90cc 100644 --- a/parm/metplus/GenEnsProd_ASNOW.conf +++ b/parm/metplus/GenEnsProd_ASNOW.conf @@ -61,8 +61,9 @@ GEN_ENS_PROD_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### diff --git a/parm/metplus/GenEnsProd_REFC.conf b/parm/metplus/GenEnsProd_REFC.conf index b7e068a7ab..553c23f69e 100644 --- a/parm/metplus/GenEnsProd_REFC.conf +++ b/parm/metplus/GenEnsProd_REFC.conf @@ -61,8 +61,9 @@ GEN_ENS_PROD_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### diff --git a/parm/metplus/GenEnsProd_RETOP.conf b/parm/metplus/GenEnsProd_RETOP.conf index c37252c1ce..51ea30241d 100644 --- a/parm/metplus/GenEnsProd_RETOP.conf +++ b/parm/metplus/GenEnsProd_RETOP.conf @@ -61,8 +61,9 @@ GEN_ENS_PROD_DESC = NA # Name to identify observation data in output. # OBTYPE = {{obtype}} - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} ### diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index dfde7f3da1..1391256eb7 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 612cb901be..91eabad55b 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index f7dddc6073..01e71352c4 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 0fd1f2b2cb..05ed104c25 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index ef182150fa..79eb8d8775 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 8b8ec3cf4e..4ec78b501e 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index a12ed6d3a9..55ef6ce8c8 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index 74b5d9b902..3975c9bdd3 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index 0ea00a6e7c..f387e01fa6 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 374d2c79d6..778f7500f8 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index ce58b448f6..8860a641b0 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 39cbf7d12f..b9c3353e6a 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/Pb2nc_obs.conf b/parm/metplus/Pb2nc_obs.conf index 00d99788e6..729bf2ba06 100644 --- a/parm/metplus/Pb2nc_obs.conf +++ b/parm/metplus/Pb2nc_obs.conf @@ -42,8 +42,9 @@ LEAD_SEQ = {{fhr_list}} # specified, then repeat for the next item in the PROCESS_LIST until all # wrappers have been run LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PcpCombine_fcst_ASNOW.conf b/parm/metplus/PcpCombine_fcst_ASNOW.conf index 0f05a2f761..562091a0bb 100644 --- a/parm/metplus/PcpCombine_fcst_ASNOW.conf +++ b/parm/metplus/PcpCombine_fcst_ASNOW.conf @@ -43,6 +43,10 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run LOOP_ORDER = times # +# Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# +LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} +# # Specify the name of the METplus log file. # LOG_METPLUS = {LOG_DIR}/{{metplus_log_fn}} diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index 43f7ecf05d..133f5923a0 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index e7544cb6b1..d6dc86aad3 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index 8f59cc8d2b..6b2b725f32 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index f27b038b92..4e66062d73 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index ef0bb083bf..aef315800b 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index 6c2a1918a9..4b74438544 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -43,8 +43,9 @@ LEAD_SEQ = {{fhr_list}} # wrappers have been run # LOOP_ORDER = times - +# # Verbosity of MET logging output. 0 to 5; 0 is quiet, 5 is loud. +# LOG_{{METPLUS_TOOL_NAME}}_VERBOSITY = {{metplus_verbosity_level}} # # Specify the name of the METplus log file. From 9728bdb4bbb47b490b6f165bde8b55b9492dbefb Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 23 Nov 2023 11:17:40 -0700 Subject: [PATCH 42/69] Clean up comments. --- parm/metplus/GridStat_ensmean_APCP.conf | 24 +++---------- parm/metplus/GridStat_ensprob_APCP.conf | 18 ++-------- parm/metplus/GridStat_ensprob_REFC.conf | 43 +----------------------- parm/metplus/GridStat_ensprob_RETOP.conf | 43 +----------------------- 4 files changed, 8 insertions(+), 120 deletions(-) diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index 79eb8d8775..30ae9c0e1f 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -99,33 +99,17 @@ OBTYPE = {{obtype}} # GRID_STAT_DESC = NA -# List of variables to compare in GridStat - FCST_VAR1 variables correspond -# to OBS_VAR1 variables -# Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations -# are needed for different tools - GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# String to search for in the foreast input files for forecast variable 1. -# This is the name of the field in the NetCDF forecast file(s) created by -# MET's gen_ens_prod tool. This tool in turn reads in the forecast NetCDF -# file(s) generated by MET's pcp_combine tool. The latter reads in the -# grib2 file(s) containing 1 hour accumulation data (in this case, from -# forecasts) and outputs NetCDF file(s) with the appropriate >= 1 hour -# accumulation. +# Precipitation accumulation interval in 2-digit hours. # ACCUM_HH = {{accum_hh}} +# +# List of forecast and corresponding observation fields to process. +# FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN FCST_VAR1_LEVELS = A{ACCUM_HH} FCST_VAR1_THRESH = {{field_thresholds}} -# -# String to search for in the observation input files for observation -# variable 1. This is the name of the field in the NetCDF observation -# file created by MET's pcp_combine tool. This tool reads in the grib2 -# file(s) containing 1 hour accumulation data (in this case, from -# observations) and outputs NetCDF file(s) with the appropriate >= 1 -# hour accumulation. -# OBS_VAR1_NAME = {{fieldname_in_met_output}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index f387e01fa6..fd06e0d841 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -117,28 +117,14 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic {%- set field_thresholds = ['gt0.0', 'ge6.350', 'ge12.700', 'ge25.400'] %} {%- endif %} # +# List of forecast and corresponding observation fields to process. +# # FREQ # Process as probability # -# String to search for in the foreast input files for forecast variable 1. -# This is the name of the field in the NetCDF forecast file(s) created by -# MET's gen_ens_prod tool. This tool in turn reads in the forecast NetCDF -# file(s) generated by MET's pcp_combine tool. The latter reads in the -# grib2 file(s) containing 1 hour accumulation data (in this case, from -# forecasts) and outputs NetCDF file(s) with the appropriate >= 1 hour -# accumulation. -# FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = ==0.1 -# -# String to search for in the observation input files for observation -# variable 1. This is the name of the field in the NetCDF observation -# file created by MET's pcp_combine tool. This tool reads in the grib2 -# file(s) containing 1 hour accumulation data (in this case, from -# observations) and outputs NetCDF file(s) with the appropriate >= 1 -# hour accumulation. -# OBS_VAR1_NAME = {{fieldname_in_met_output}} OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds[0]}} diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 8860a641b0..ea445de939 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -109,54 +109,13 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # Process as probability # -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names -# consist of the value of fieldname_in_met_output plus a suffix that -# specifies additional properties of the data in the array such as the -# level, the type of statistic, etc. In this case, this suffix is -# "_L0_ENS_FREQ_ge20". Thus, below, FCST_VAR1_NAME must be set to the value -# of fieldname_in_met_output with "_L0_ENS_FREQ_ge20" appended to it. -# The same is true of other forecast fields below except the suffix is -# different. +# List of forecast and corresponding observation fields to process. # FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR1_LEVELS = L0 -# -# List of thresholds to evaluate for each name/level combination for -# forecast variable 1. -# FCST_VAR1_THRESH = ==0.1 - -#FCST_GRID_STAT_FILE_TYPE = -# -# String to search for in the observation input files for observation -# variable 1. -# -# Note: -# This is the name of the field in the grib2 observation file. Thus, -# it should not be set to {{fieldname_in_met_output}} because the -# value of fieldname_in_met_output is in general not the same as the -# name of the field in the grib2 observation file (although it can be -# for certain fields). If you do and it doesn't match, you may get an -# error like this from METplus: -# ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... -# The same is true of other observation fields below. -# OBS_VAR1_NAME = MergedReflectivityQCComposite -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = Z500 -# -# List of thresholds to evaluate for each name/level combination for -# observation variable 1. -# OBS_VAR1_THRESH = ge20.0 OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index b9c3353e6a..d302a90ed0 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -109,54 +109,13 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # Process as probability # -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names -# consist of the value of fieldname_in_met_output plus a suffix that -# specifies additional properties of the data in the array such as the -# level, the type of statistic, etc. In this case, this suffix is -# "_L0_ENS_FREQ_ge20". Thus, below, FCST_VAR1_NAME must be set to the value -# of fieldname_in_met_output with "_L0_ENS_FREQ_ge20" appended to it. -# The same is true of other forecast fields below except the suffix is -# different. +# List of forecast and corresponding observation fields to process. # FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR1_LEVELS = L0 -# -# List of thresholds to evaluate for each name/level combination for -# forecast variable 1. -# FCST_VAR1_THRESH = ==0.1 - -#FCST_GRID_STAT_FILE_TYPE = -# -# String to search for in the observation input files for observation -# variable 1. -# -# Note: -# This is the name of the field in the grib2 observation file. Thus, -# it should not be set to {{fieldname_in_met_output}} because the -# value of fieldname_in_met_output is in general not the same as the -# name of the field in the grib2 observation file (although it can be -# for certain fields). If you do and it doesn't match, you may get an -# error like this from METplus: -# ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... -# The same is true of other observation fields below. -# OBS_VAR1_NAME = EchoTop18 -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = Z500 -# -# List of thresholds to evaluate for each name/level combination for -# observation variable 1. -# OBS_VAR1_THRESH = ge20.0 OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; From fd58d4ed3086aad9ee094b8757a4848f936a7b1a Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 04:11:16 -0700 Subject: [PATCH 43/69] Remove use of BOTH_ variables in deterministic conf files; modify comments to make it easier to compare to output from another branch. --- parm/metplus/GridStat_APCP.conf | 35 +++---------- parm/metplus/GridStat_REFC.conf | 15 ++---- parm/metplus/GridStat_RETOP.conf | 15 ++---- parm/metplus/PointStat_ADPSFC.conf | 82 ++++++++++++++++++------------ parm/metplus/PointStat_ADPUPA.conf | 67 ++++++++++++++---------- 5 files changed, 104 insertions(+), 110 deletions(-) diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index 1391256eb7..7722f8df38 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -113,20 +113,7 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note that this configuration file reads in forecast files created by -# another MET tool (PcpCombine) that names the arrays in its output -# according to fieldname_in_met_output, so the input forecast field name -# to look for here must also given by fieldname_in_met_output. -# -FCST_VAR1_NAME = {{fieldname_in_met_output}} -# -# List of levels to evaluate for forecast variable 1. -# -ACCUM_HH = {{accum_hh}} -FCST_VAR1_LEVELS = A{ACCUM_HH} +# List of forecast and corresponding observation fields to process. # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. @@ -141,25 +128,15 @@ FCST_VAR1_LEVELS = A{ACCUM_HH} # member is time-lagged. That would cause confusion, so here, we always # use lead values with zero lead corresponding to cdate. # -FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +ACCUM_HH = {{accum_hh}} +FCST_VAR1_NAME = {{fieldname_in_met_output}} +FCST_VAR1_LEVELS = A{ACCUM_HH} FCST_VAR1_THRESH = {{field_thresholds}} -# -# String to search for in the observation input files for observation -# variable 1. -# -# As with the forecast input files, the observation input files to this -# configuration file are from another MET tool (PcpCombine) that have -# output array names specified by fieldname_in_met_output, so here we -# use this variable to search for the field name in the input observation -# files. -# +FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR1_NAME = {{fieldname_in_met_output}} -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_THRESH = {{field_thresholds}} + # # Forecast data time window(s). # diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 01e71352c4..8d510e06a7 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -112,12 +112,7 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# String to search for in the foreast input files for forecast variable -# 1. -# -FCST_VAR1_NAME = {{fieldname_in_fcst_input}} -FCST_VAR1_LEVELS = L0 -FCST_VAR1_THRESH = {{field_thresholds}} +# List of forecast and corresponding observation fields to process. # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. @@ -132,13 +127,12 @@ FCST_VAR1_THRESH = {{field_thresholds}} # member is time-lagged. That would cause confusion, so here, we always # use lead values with zero lead corresponding to cdate. # +FCST_VAR1_NAME = {{fieldname_in_fcst_input}} +FCST_VAR1_LEVELS = L0 +FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; cnt_thresh = [ >15 ]; cnt_logic = UNION; -# -# String to search for in the observation input files for observation -# variable 1. -# OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = Z500 OBS_VAR1_THRESH = {{field_thresholds}} @@ -146,6 +140,7 @@ OBS_VAR1_OPTIONS = censor_thresh = [eq-999, <-20]; censor_val = [-9999, -20]; cnt_thresh = [ >15 ]; cnt_logic = UNION; + # # Forecast data time window(s). # diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 05ed104c25..5a13b4e7e6 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -112,12 +112,7 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# String to search for in the foreast input files for forecast variable -# 1. -# -FCST_VAR1_NAME = {{fieldname_in_fcst_input}} -FCST_VAR1_LEVELS = L0 -FCST_VAR1_THRESH = {{field_thresholds}} +# List of forecast and corresponding observation fields to process. # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. @@ -132,14 +127,13 @@ FCST_VAR1_THRESH = {{field_thresholds}} # member is time-lagged. That would cause confusion, so here, we always # use lead values with zero lead corresponding to cdate. # +FCST_VAR1_NAME = {{fieldname_in_fcst_input}} +FCST_VAR1_LEVELS = L0 +FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; convert(x) = x * 3.28084 * 0.001; cnt_thresh = [ >0 ]; cnt_logic = UNION; -# -# String to search for in the observation input files for observation -# variable 1. -# OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = Z500 OBS_VAR1_THRESH = {{field_thresholds}} @@ -148,6 +142,7 @@ OBS_VAR1_OPTIONS = convert(x) = x * 3280.84 * 0.001; censor_val = [-9999,-16.4042]; cnt_thresh = [ >0 ]; cnt_logic = UNION; + # # Forecast data time window(s). # diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index 133f5923a0..8a175b57bd 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -174,17 +174,7 @@ POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to False to run PointStat once per run time including all fields POINT_STAT_ONCE_PER_FIELD = False # -# Variables and levels as specified in the field dictionary of the METplus -# PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION -# - -# fields to compare -# Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set -# To use one variables for both forecast and observation data, set BOTH_VAR_* instead - -BOTH_VAR1_NAME = TMP -BOTH_VAR1_LEVELS = Z2 +# List of forecast and corresponding observation fields to process. # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. @@ -199,36 +189,55 @@ BOTH_VAR1_LEVELS = Z2 # member is time-lagged. That would cause confusion, so here, we always # use lead values with zero lead corresponding to cdate. # +FCST_VAR1_NAME = TMP +FCST_VAR1_LEVELS = Z2 FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR1_NAME = TMP +OBS_VAR1_LEVELS = Z2 -BOTH_VAR2_NAME = DPT -BOTH_VAR2_LEVELS = Z2 +FCST_VAR2_NAME = DPT +FCST_VAR2_LEVELS = Z2 FCST_VAR2_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR2_NAME = DPT +OBS_VAR2_LEVELS = Z2 -BOTH_VAR3_NAME = RH -BOTH_VAR3_LEVELS = Z2 +FCST_VAR3_NAME = RH +FCST_VAR3_LEVELS = Z2 FCST_VAR3_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR3_NAME = RH +OBS_VAR3_LEVELS = Z2 -BOTH_VAR4_NAME = UGRD -BOTH_VAR4_LEVELS = Z10 -BOTH_VAR4_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR4_NAME = UGRD +FCST_VAR4_LEVELS = Z10 +FCST_VAR4_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR4_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR4_NAME = UGRD +OBS_VAR4_LEVELS = Z10 +OBS_VAR4_THRESH = ge2.572 ;; m/s or 5kts -BOTH_VAR5_NAME = VGRD -BOTH_VAR5_LEVELS = Z10 -BOTH_VAR5_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR5_NAME = VGRD +FCST_VAR5_LEVELS = Z10 +FCST_VAR5_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR5_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR5_NAME = VGRD +OBS_VAR5_LEVELS = Z10 +OBS_VAR5_THRESH = ge2.572 ;; m/s or 5kts -BOTH_VAR6_NAME = WIND -BOTH_VAR6_LEVELS = Z10 -BOTH_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 ;; m/s or 5, 10, 20, 30kts +FCST_VAR6_NAME = WIND +FCST_VAR6_LEVELS = Z10 +FCST_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 ;; m/s or 5, 10, 20, 30kts FCST_VAR6_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind OBS_VAR6_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind +OBS_VAR6_NAME = WIND +OBS_VAR6_LEVELS = Z10 +OBS_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 ;; m/s or 5, 10, 20, 30kts -BOTH_VAR7_NAME = PRMSL -BOTH_VAR7_LEVELS = Z0 +FCST_VAR7_NAME = PRMSL +FCST_VAR7_LEVELS = Z0 FCST_VAR7_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR7_NAME = PRMSL +OBS_VAR7_LEVELS = Z0 FCST_VAR8_NAME = TCDC FCST_VAR8_LEVELS = L0 @@ -240,9 +249,9 @@ FCST_VAR8_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR8_NAME = TCDC OBS_VAR8_LEVELS = L0 -BOTH_VAR9_NAME = VIS -BOTH_VAR9_LEVELS = L0 -BOTH_VAR9_THRESH = lt805, lt1609, lt4828, lt8045 ,ge8045, lt16090 +FCST_VAR9_NAME = VIS +FCST_VAR9_LEVELS = L0 +FCST_VAR9_THRESH = lt805, lt1609, lt4828, lt8045, ge8045, lt16090 FCST_VAR9_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; censor_thresh = [>16090]; censor_val = [16090]; @@ -250,10 +259,15 @@ FCST_VAR9_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR9_OPTIONS = censor_thresh = [>16090]; censor_val = [16090]; interp = { type = [ { method = NEAREST; width = 1; } ]; } +OBS_VAR9_NAME = VIS +OBS_VAR9_LEVELS = L0 +OBS_VAR9_THRESH = lt805, lt1609, lt4828, lt8045, ge8045, lt16090 -BOTH_VAR10_NAME = GUST -BOTH_VAR10_LEVELS = Z0 +FCST_VAR10_NAME = GUST +FCST_VAR10_LEVELS = Z0 FCST_VAR10_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR10_NAME = GUST +OBS_VAR10_LEVELS = Z0 FCST_VAR11_NAME = HGT FCST_VAR11_LEVELS = L0 @@ -267,8 +281,10 @@ OBS_VAR11_THRESH = lt152, lt305, lt914, lt1520, lt3040, ge914 OBS_VAR11_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } -BOTH_VAR12_NAME = SPFH -BOTH_VAR12_LEVELS = Z2 +FCST_VAR12_NAME = SPFH +FCST_VAR12_LEVELS = Z2 +OBS_VAR12_NAME = SPFH +OBS_VAR12_LEVELS = Z2 FCST_VAR13_NAME = CRAIN FCST_VAR13_LEVELS = L0 diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index d6dc86aad3..25390ddb16 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -174,17 +174,7 @@ POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to False to run PointStat once per run time including all fields POINT_STAT_ONCE_PER_FIELD = False # -# Variables and levels as specified in the field dictionary of the METplus -# PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION -# - -# fields to compare -# Note: If FCST_VAR_* is set, then a corresponding OBS_VAR_* variable must be set -# To use one variables for both forecast and observation data, set BOTH_VAR_* instead - -BOTH_VAR1_NAME = TMP -BOTH_VAR1_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +# List of forecast and corresponding observation fields to process. # # Lead to use both in naming of the output .stat and .nc files and for # lead values in those files. @@ -199,38 +189,59 @@ BOTH_VAR1_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, # member is time-lagged. That would cause confusion, so here, we always # use lead values with zero lead corresponding to cdate. # +FCST_VAR1_NAME = TMP +FCST_VAR1_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR1_NAME = TMP +OBS_VAR1_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR2_NAME = RH -BOTH_VAR2_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250 +FCST_VAR2_NAME = RH +FCST_VAR2_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250 FCST_VAR2_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR2_NAME = RH +OBS_VAR2_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250 -BOTH_VAR3_NAME = DPT -BOTH_VAR3_LEVELS = P1000, P925, P850, P700, P500, P400, P300 +FCST_VAR3_NAME = DPT +FCST_VAR3_LEVELS = P1000, P925, P850, P700, P500, P400, P300 FCST_VAR3_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR3_NAME = DPT +OBS_VAR3_LEVELS = P1000, P925, P850, P700, P500, P400, P300 -BOTH_VAR4_NAME = UGRD -BOTH_VAR4_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR4_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR4_NAME = UGRD +FCST_VAR4_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +FCST_VAR4_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR4_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR4_NAME = UGRD +OBS_VAR4_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +OBS_VAR4_THRESH = ge2.572 ;; m/s or 5kts -BOTH_VAR5_NAME = VGRD -BOTH_VAR5_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR5_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR5_NAME = VGRD +FCST_VAR5_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +FCST_VAR5_THRESH = ge2.572 ;; m/s or 5kts FCST_VAR5_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR5_NAME = VGRD +OBS_VAR5_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +OBS_VAR5_THRESH = ge2.572 ;; m/s or 5kts -BOTH_VAR6_NAME = WIND -BOTH_VAR6_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 ;; m/s or 5, 10, 20, 30, 40, 50kts +FCST_VAR6_NAME = WIND +FCST_VAR6_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +FCST_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 ;; m/s or 5, 10, 20, 30, 40, 50kts FCST_VAR6_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR6_NAME = WIND +OBS_VAR6_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +OBS_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 ;; m/s or 5, 10, 20, 30, 40, 50kts -BOTH_VAR7_NAME = HGT -BOTH_VAR7_LEVELS = P1000, P950, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 +FCST_VAR7_NAME = HGT +FCST_VAR7_LEVELS = P1000, P950, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 FCST_VAR7_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR7_NAME = HGT +OBS_VAR7_LEVELS = P1000, P950, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -BOTH_VAR8_NAME = SPFH -BOTH_VAR8_LEVELS = P1000, P850, P700, P500, P400, P300 +FCST_VAR8_NAME = SPFH +FCST_VAR8_LEVELS = P1000, P850, P700, P500, P400, P300 FCST_VAR8_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; +OBS_VAR8_NAME = SPFH +OBS_VAR8_LEVELS = P1000, P850, P700, P500, P400, P300 FCST_VAR9_NAME = CAPE FCST_VAR9_LEVELS = L0 From 3e1b8f91d8337d293483835bddea96c6d6205453 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 04:55:00 -0700 Subject: [PATCH 44/69] Clean up comments; move around variable settings for consistency with other variables. --- parm/metplus/GridStat_APCP.conf | 26 ++++++++-------- parm/metplus/GridStat_REFC.conf | 26 ++++++++-------- parm/metplus/GridStat_RETOP.conf | 26 ++++++++-------- parm/metplus/PointStat_ADPSFC.conf | 48 ++++++++++++++++-------------- parm/metplus/PointStat_ADPUPA.conf | 38 ++++++++++++----------- 5 files changed, 87 insertions(+), 77 deletions(-) diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index 7722f8df38..7710e66e8e 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -115,18 +115,20 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # # List of forecast and corresponding observation fields to process. # -# Lead to use both in naming of the output .stat and .nc files and for -# lead values in those files. -# -# The specification of set_attr_lead below causes MET/METplus to use the -# lead values in the variable LEAD_SEQ set above, which are the same for -# all ensemble forecast members (i.e. regardless of whether members are -# time lagged with respect to the nominal cycle date specified by cdate). -# If set_attr_lead were not specified as below, then MET/METplus would -# get the lead from the input forecast file, and that would in general -# differ from one ensemble member to the next depending on whether the -# member is time-lagged. That would cause confusion, so here, we always -# use lead values with zero lead corresponding to cdate. +# Note on use of set_attr_lead and ensemble member time-lagging: +# ------------------------------------------------------------- +# The set_attr_lead parameter appearing below in [FCST|OBS]_VAR_OPTIONS +# specifies the lead to use both in naming of the output .stat and .nc +# files and for setting the lead values contained in those files. This +# option causes MET/METplus to use the lead values in the variable LEAD_SEQ +# set above, which are the same for all ensemble forecast members (i.e. +# regardless of whether members are time lagged with respect to the +# nominal cycle date specified by cdate). If set_attr_lead were not +# specified as below, then MET/METplus would get the lead from the input +# forecast file, and that would in general differ from one ensemble member +# to the next depending on whether the member is time-lagged. That would +# cause confusion, so here, we always use lead values with zero lead +# corresponding to the nominal cdate. # ACCUM_HH = {{accum_hh}} FCST_VAR1_NAME = {{fieldname_in_met_output}} diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 8d510e06a7..1203c489fa 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -114,18 +114,20 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # # List of forecast and corresponding observation fields to process. # -# Lead to use both in naming of the output .stat and .nc files and for -# lead values in those files. -# -# The specification of set_attr_lead below causes MET/METplus to use the -# lead values in the variable LEAD_SEQ set above, which are the same for -# all ensemble forecast members (i.e. regardless of whether members are -# time lagged with respect to the nominal cycle date specified by cdate). -# If set_attr_lead were not specified as below, then MET/METplus would -# get the lead from the input forecast file, and that would in general -# differ from one ensemble member to the next depending on whether the -# member is time-lagged. That would cause confusion, so here, we always -# use lead values with zero lead corresponding to cdate. +# Note on use of set_attr_lead and ensemble member time-lagging: +# ------------------------------------------------------------- +# The set_attr_lead parameter appearing below in [FCST|OBS]_VAR_OPTIONS +# specifies the lead to use both in naming of the output .stat and .nc +# files and for setting the lead values contained in those files. This +# option causes MET/METplus to use the lead values in the variable LEAD_SEQ +# set above, which are the same for all ensemble forecast members (i.e. +# regardless of whether members are time lagged with respect to the +# nominal cycle date specified by cdate). If set_attr_lead were not +# specified as below, then MET/METplus would get the lead from the input +# forecast file, and that would in general differ from one ensemble member +# to the next depending on whether the member is time-lagged. That would +# cause confusion, so here, we always use lead values with zero lead +# corresponding to the nominal cdate. # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} FCST_VAR1_LEVELS = L0 diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 5a13b4e7e6..05a59d7c2f 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -114,18 +114,20 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = # # List of forecast and corresponding observation fields to process. # -# Lead to use both in naming of the output .stat and .nc files and for -# lead values in those files. -# -# The specification of set_attr_lead below causes MET/METplus to use the -# lead values in the variable LEAD_SEQ set above, which are the same for -# all ensemble forecast members (i.e. regardless of whether members are -# time lagged with respect to the nominal cycle date specified by cdate). -# If set_attr_lead were not specified as below, then MET/METplus would -# get the lead from the input forecast file, and that would in general -# differ from one ensemble member to the next depending on whether the -# member is time-lagged. That would cause confusion, so here, we always -# use lead values with zero lead corresponding to cdate. +# Note on use of set_attr_lead and ensemble member time-lagging: +# ------------------------------------------------------------- +# The set_attr_lead parameter appearing below in [FCST|OBS]_VAR_OPTIONS +# specifies the lead to use both in naming of the output .stat and .nc +# files and for setting the lead values contained in those files. This +# option causes MET/METplus to use the lead values in the variable LEAD_SEQ +# set above, which are the same for all ensemble forecast members (i.e. +# regardless of whether members are time lagged with respect to the +# nominal cycle date specified by cdate). If set_attr_lead were not +# specified as below, then MET/METplus would get the lead from the input +# forecast file, and that would in general differ from one ensemble member +# to the next depending on whether the member is time-lagged. That would +# cause confusion, so here, we always use lead values with zero lead +# corresponding to the nominal cdate. # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} FCST_VAR1_LEVELS = L0 diff --git a/parm/metplus/PointStat_ADPSFC.conf b/parm/metplus/PointStat_ADPSFC.conf index 8a175b57bd..6d94e0bed9 100644 --- a/parm/metplus/PointStat_ADPSFC.conf +++ b/parm/metplus/PointStat_ADPSFC.conf @@ -176,18 +176,20 @@ POINT_STAT_ONCE_PER_FIELD = False # # List of forecast and corresponding observation fields to process. # -# Lead to use both in naming of the output .stat and .nc files and for -# lead values in those files. -# -# The specification of set_attr_lead below causes MET/METplus to use the -# lead values in the variable LEAD_SEQ set above, which are the same for -# all ensemble forecast members (i.e. regardless of whether members are -# time lagged with respect to the nominal cycle date specified by cdate). -# If set_attr_lead were not specified as below, then MET/METplus would -# get the lead from the input forecast file, and that would in general -# differ from one ensemble member to the next depending on whether the -# member is time-lagged. That would cause confusion, so here, we always -# use lead values with zero lead corresponding to cdate. +# Note on use of set_attr_lead and ensemble member time-lagging: +# ------------------------------------------------------------- +# The set_attr_lead parameter appearing below in [FCST|OBS]_VAR_OPTIONS +# specifies the lead to use both in naming of the output .stat and .nc +# files and for setting the lead values contained in those files. This +# option causes MET/METplus to use the lead values in the variable LEAD_SEQ +# set above, which are the same for all ensemble forecast members (i.e. +# regardless of whether members are time lagged with respect to the +# nominal cycle date specified by cdate). If set_attr_lead were not +# specified as below, then MET/METplus would get the lead from the input +# forecast file, and that would in general differ from one ensemble member +# to the next depending on whether the member is time-lagged. That would +# cause confusion, so here, we always use lead values with zero lead +# corresponding to the nominal cdate. # FCST_VAR1_NAME = TMP FCST_VAR1_LEVELS = Z2 @@ -209,29 +211,29 @@ OBS_VAR3_LEVELS = Z2 FCST_VAR4_NAME = UGRD FCST_VAR4_LEVELS = Z10 -FCST_VAR4_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR4_THRESH = ge2.572 FCST_VAR4_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR4_NAME = UGRD OBS_VAR4_LEVELS = Z10 -OBS_VAR4_THRESH = ge2.572 ;; m/s or 5kts +OBS_VAR4_THRESH = ge2.572 FCST_VAR5_NAME = VGRD FCST_VAR5_LEVELS = Z10 -FCST_VAR5_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR5_THRESH = ge2.572 FCST_VAR5_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR5_NAME = VGRD OBS_VAR5_LEVELS = Z10 -OBS_VAR5_THRESH = ge2.572 ;; m/s or 5kts +OBS_VAR5_THRESH = ge2.572 FCST_VAR6_NAME = WIND FCST_VAR6_LEVELS = Z10 -FCST_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 ;; m/s or 5, 10, 20, 30kts +FCST_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 FCST_VAR6_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; - GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind -OBS_VAR6_OPTIONS = GRIB2_pdt = 0; ;; derive instantaneous 10-m wind from U/V components, overriding max 10-m wind + GRIB2_pdt = 0; ;; Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. OBS_VAR6_NAME = WIND OBS_VAR6_LEVELS = Z10 -OBS_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 ;; m/s or 5, 10, 20, 30kts +OBS_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433 +OBS_VAR6_OPTIONS = GRIB2_pdt = 0; ;; Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. FCST_VAR7_NAME = PRMSL FCST_VAR7_LEVELS = Z0 @@ -256,12 +258,12 @@ FCST_VAR9_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; censor_thresh = [>16090]; censor_val = [16090]; interp = { type = [ { method = NEAREST; width = 1; } ]; } -OBS_VAR9_OPTIONS = censor_thresh = [>16090]; - censor_val = [16090]; - interp = { type = [ { method = NEAREST; width = 1; } ]; } OBS_VAR9_NAME = VIS OBS_VAR9_LEVELS = L0 OBS_VAR9_THRESH = lt805, lt1609, lt4828, lt8045, ge8045, lt16090 +OBS_VAR9_OPTIONS = censor_thresh = [>16090]; + censor_val = [16090]; + interp = { type = [ { method = NEAREST; width = 1; } ]; } FCST_VAR10_NAME = GUST FCST_VAR10_LEVELS = Z0 diff --git a/parm/metplus/PointStat_ADPUPA.conf b/parm/metplus/PointStat_ADPUPA.conf index 25390ddb16..519767a51e 100644 --- a/parm/metplus/PointStat_ADPUPA.conf +++ b/parm/metplus/PointStat_ADPUPA.conf @@ -176,18 +176,20 @@ POINT_STAT_ONCE_PER_FIELD = False # # List of forecast and corresponding observation fields to process. # -# Lead to use both in naming of the output .stat and .nc files and for -# lead values in those files. -# -# The specification of set_attr_lead below causes MET/METplus to use the -# lead values in the variable LEAD_SEQ set above, which are the same for -# all ensemble forecast members (i.e. regardless of whether members are -# time lagged with respect to the nominal cycle date specified by cdate). -# If set_attr_lead were not specified as below, then MET/METplus would -# get the lead from the input forecast file, and that would in general -# differ from one ensemble member to the next depending on whether the -# member is time-lagged. That would cause confusion, so here, we always -# use lead values with zero lead corresponding to cdate. +# Note on use of set_attr_lead and ensemble member time-lagging: +# ------------------------------------------------------------- +# The set_attr_lead parameter appearing below in [FCST|OBS]_VAR_OPTIONS +# specifies the lead to use both in naming of the output .stat and .nc +# files and for setting the lead values contained in those files. This +# option causes MET/METplus to use the lead values in the variable LEAD_SEQ +# set above, which are the same for all ensemble forecast members (i.e. +# regardless of whether members are time lagged with respect to the +# nominal cycle date specified by cdate). If set_attr_lead were not +# specified as below, then MET/METplus would get the lead from the input +# forecast file, and that would in general differ from one ensemble member +# to the next depending on whether the member is time-lagged. That would +# cause confusion, so here, we always use lead values with zero lead +# corresponding to the nominal cdate. # FCST_VAR1_NAME = TMP FCST_VAR1_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 @@ -209,27 +211,27 @@ OBS_VAR3_LEVELS = P1000, P925, P850, P700, P500, P400, P300 FCST_VAR4_NAME = UGRD FCST_VAR4_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -FCST_VAR4_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR4_THRESH = ge2.572 FCST_VAR4_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR4_NAME = UGRD OBS_VAR4_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -OBS_VAR4_THRESH = ge2.572 ;; m/s or 5kts +OBS_VAR4_THRESH = ge2.572 FCST_VAR5_NAME = VGRD FCST_VAR5_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -FCST_VAR5_THRESH = ge2.572 ;; m/s or 5kts +FCST_VAR5_THRESH = ge2.572 FCST_VAR5_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR5_NAME = VGRD OBS_VAR5_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -OBS_VAR5_THRESH = ge2.572 ;; m/s or 5kts +OBS_VAR5_THRESH = ge2.572 FCST_VAR6_NAME = WIND FCST_VAR6_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -FCST_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 ;; m/s or 5, 10, 20, 30, 40, 50kts +FCST_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 FCST_VAR6_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR6_NAME = WIND OBS_VAR6_LEVELS = P1000, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 -OBS_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 ;; m/s or 5, 10, 20, 30, 40, 50kts +OBS_VAR6_THRESH = ge2.572, ge2.572&<5.144, ge5.144, ge10.288, ge15.433, ge20.577, ge25.722 FCST_VAR7_NAME = HGT FCST_VAR7_LEVELS = P1000, P950, P925, P850, P700, P500, P400, P300, P250, P200, P150, P100, P50, P20, P10 From d35a7e1de8da293bbd50c788d7c44b7af2688d17 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 05:04:11 -0700 Subject: [PATCH 45/69] Fixes in comments and spacing. --- parm/metplus/GridStat_ensmean_APCP.conf | 1 + parm/metplus/GridStat_ensprob_APCP.conf | 1 + parm/metplus/PointStat_ensmean_ADPSFC.conf | 4 ---- parm/metplus/PointStat_ensmean_ADPUPA.conf | 4 ---- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index 30ae9c0e1f..bce107c56b 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -113,6 +113,7 @@ FCST_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_NAME = {{fieldname_in_met_output}} OBS_VAR1_LEVELS = A{ACCUM_HH} OBS_VAR1_THRESH = {{field_thresholds}} + # # Forecast data time window(s). # diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index fd06e0d841..5e3bbcf59d 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -191,6 +191,7 @@ OBS_VAR8_LEVELS = A{{accum_hh}} OBS_VAR8_THRESH = {{field_thresholds[3]}} OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } + #FCST_GRID_STAT_FILE_TYPE = #OBS_GRID_STAT_FILE_TYPE = diff --git a/parm/metplus/PointStat_ensmean_ADPSFC.conf b/parm/metplus/PointStat_ensmean_ADPSFC.conf index 6b2b725f32..6b7e7e9cff 100644 --- a/parm/metplus/PointStat_ensmean_ADPSFC.conf +++ b/parm/metplus/PointStat_ensmean_ADPSFC.conf @@ -167,10 +167,6 @@ POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to False to run PointStat once per run time including all fields POINT_STAT_ONCE_PER_FIELD = False # -# Variables and levels as specified in the field dictionary of the METplus -# PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION -# # List of forecast and corresponding observation fields to process. # FCST_VAR1_NAME = TMP_Z2_ENS_MEAN diff --git a/parm/metplus/PointStat_ensmean_ADPUPA.conf b/parm/metplus/PointStat_ensmean_ADPUPA.conf index 4e66062d73..b54c775b46 100644 --- a/parm/metplus/PointStat_ensmean_ADPUPA.conf +++ b/parm/metplus/PointStat_ensmean_ADPUPA.conf @@ -167,10 +167,6 @@ POINT_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} # set to False to run PointStat once per run time including all fields POINT_STAT_ONCE_PER_FIELD = False # -# Variables and levels as specified in the field dictionary of the METplus -# PointStat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION -# # List of forecast and corresponding observation fields to process. # FCST_VAR1_NAME = TMP_P850_ENS_MEAN From 73053473af017b9ba31381fb52f3cdbcc8788527 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 05:27:56 -0700 Subject: [PATCH 46/69] Remove all commented-out lines involving variables named "..._FILE_TYPE_...". --- parm/metplus/GridStat_ensprob_APCP.conf | 5 ----- parm/metplus/GridStat_ensprob_ASNOW.conf | 4 ---- parm/metplus/GridStat_ensprob_REFC.conf | 2 -- parm/metplus/GridStat_ensprob_RETOP.conf | 2 -- 4 files changed, 13 deletions(-) diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index 5e3bbcf59d..e62a60cc2e 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -191,11 +191,6 @@ OBS_VAR8_LEVELS = A{{accum_hh}} OBS_VAR8_THRESH = {{field_thresholds[3]}} OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } - -#FCST_GRID_STAT_FILE_TYPE = - -#OBS_GRID_STAT_FILE_TYPE = - # # Forecast data time window(s). # diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index 778f7500f8..bc93cd6d53 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -241,10 +241,6 @@ OBS_VAR10_THRESH = ge10.16 OBS_VAR10_OPTIONS = convert(x) = 100.0*x; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#FCST_GRID_STAT_FILE_TYPE = - -#OBS_GRID_STAT_FILE_TYPE = - # # Forecast data time window(s). # diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index ea445de939..52f278d493 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -212,8 +212,6 @@ OBS_VAR8_OPTIONS = censor_thresh = lt-20; cnt_logic = UNION; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#OBS_GRID_STAT_FILE_TYPE = - # # Forecast data time window(s). # diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index d302a90ed0..499d7d6ef9 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -220,8 +220,6 @@ OBS_VAR8_OPTIONS = censor_thresh = lt-20.0; convert(x) = x * 3280.84 * 0.001; nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -#OBS_GRID_STAT_FILE_TYPE = - # # Forecast data time window(s). # From fda85e81551c6e9d27ea9a19733d1a1d3c83ce5c Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 05:45:25 -0700 Subject: [PATCH 47/69] Changes to comments. --- parm/metplus/EnsembleStat_APCP.conf | 2 +- parm/metplus/EnsembleStat_ASNOW.conf | 2 +- parm/metplus/GridStat_APCP.conf | 5 ++++- parm/metplus/GridStat_ASNOW.conf | 5 ++++- parm/metplus/GridStat_ensmean_APCP.conf | 2 +- parm/metplus/GridStat_ensmean_ASNOW.conf | 25 ++++-------------------- 6 files changed, 15 insertions(+), 26 deletions(-) diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index 3390a414d0..25d589a7fd 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -179,7 +179,7 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_NMEP = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_RANK = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # -# Precipitation accumulation interval in 2-digit hours. +# Accumulation interval in 2-digit hours. # ACCUM_HH = {{accum_hh}} # diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index 34fee0adae..3aa4271b7e 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -179,7 +179,7 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_NMEP = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_RANK = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # -# Precipitation accumulation interval in 2-digit hours. +# Accumulation interval in 2-digit hours. # ACCUM_HH = {{accum_hh}} # diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index 7710e66e8e..cc316755d5 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -113,6 +113,10 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # +# Accumulation interval in 2-digit hours. +# +ACCUM_HH = {{accum_hh}} +# # List of forecast and corresponding observation fields to process. # # Note on use of set_attr_lead and ensemble member time-lagging: @@ -130,7 +134,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # cause confusion, so here, we always use lead values with zero lead # corresponding to the nominal cdate. # -ACCUM_HH = {{accum_hh}} FCST_VAR1_NAME = {{fieldname_in_met_output}} FCST_VAR1_LEVELS = A{ACCUM_HH} FCST_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 91eabad55b..23b9a08b0f 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -93,6 +93,10 @@ OBTYPE = {{obtype}} # Value to enter under the DESC column in the output stat file. # GRID_STAT_DESC = NA +# +# Accumulation interval in 2-digit hours. +# +ACCUM_HH = {{accum_hh}} # List of variables to compare in GridStat - FCST_VAR1 variables correspond # to OBS_VAR1 variables @@ -104,7 +108,6 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # String to search for in the foreast input files for forecast variable # 1. # -ACCUM_HH = {{accum_hh}} FCST_VAR1_NAME = {{fieldname_in_met_output}} FCST_VAR1_LEVELS = A{ACCUM_HH} FCST_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index bce107c56b..a2f498d3ee 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -101,7 +101,7 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# Precipitation accumulation interval in 2-digit hours. +# Accumulation interval in 2-digit hours. # ACCUM_HH = {{accum_hh}} # diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index 4ec78b501e..a6d432ec65 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -106,28 +106,11 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# String to search for in the foreast input files for forecast variable -# 1. +# Accumulation interval in 2-digit hours. # -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the grib2 file(s) (in this case -# of forecasts) and outputs NetCDF file(s) in which the array names -# consist of the value of fieldname_in_met_output plus a suffix that -# specifies additional properties of the data in the array such as the -# level (which in this case is the accumulation period), the type of -# statistic, etc. In this case, this suffix is "_A01_ENS_MEAN". Thus, -# below, FCST_VAR1_NAME must be set to the value of fieldname_in_met_output -# with "_A01_ENS_MEAN" appended to it. -# -# Question: -# Why is the name of the array in the input NetCDF file (created by -# GenEnsProd) that this task reads contains ..._A01_ENS_MEAN instead of -# ..._A1_ENS_MEAN, as is the case for greater than 1-hour accumulation? -# If that were the case, we could use ACCUM_NO_PAD here instead of hard- -# coding the "A01", which would make it consistent with what is done in -# the METplus conf files for accumulation > 1 hour (e.g. 3, 6, and 24 -# hour). +ACCUM_HH = {{accum_hh}} +# +# List of forecast and corresponding observation fields to process. # ACCUM_HH = {{accum_hh}} FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN From f356a6c2080fa68b9421d92b6994bf98309bd471 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 06:11:28 -0700 Subject: [PATCH 48/69] Remove variable ACCUM_HH in METplus conf files (and replace with jinja varrriable {{accum_hh}}); simplify comments. --- parm/metplus/EnsembleStat_APCP.conf | 8 ++------ parm/metplus/EnsembleStat_ASNOW.conf | 8 ++------ parm/metplus/GridStat_APCP.conf | 8 ++------ parm/metplus/GridStat_ASNOW.conf | 12 +++--------- parm/metplus/GridStat_ensmean_APCP.conf | 8 ++------ parm/metplus/GridStat_ensmean_ASNOW.conf | 22 ++-------------------- 6 files changed, 13 insertions(+), 53 deletions(-) diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index 25d589a7fd..d2ac5db205 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -179,21 +179,17 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_NMEP = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_RANK = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # -# Accumulation interval in 2-digit hours. -# -ACCUM_HH = {{accum_hh}} -# # Forecast and observation variables and levels as specified in the fcst # field dictionary of the MET configuration file. Specify as FCST_VARn_NAME, # FCST_VARn_LEVELS, (optional) FCST_VARn_OPTION and OBS_VARn_NAME, # OBS_VARn_LEVELS, (optional) OBS_VARn_OPTION. # FCST_VAR1_NAME = {{fieldname_in_met_output}} -FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_met_output}} -OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS} [dir] diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index 3aa4271b7e..2a98acf494 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -179,21 +179,17 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_NMEP = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_RANK = FALSE ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # -# Accumulation interval in 2-digit hours. -# -ACCUM_HH = {{accum_hh}} -# # Forecast and observation variables and levels as specified in the fcst # field dictionary of the MET configuration file. Specify as FCST_VARn_NAME, # FCST_VARn_LEVELS, (optional) FCST_VARn_OPTION and OBS_VARn_NAME, # OBS_VARn_LEVELS, (optional) OBS_VARn_OPTION. # FCST_VAR1_NAME = {{fieldname_in_met_output}} -FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} -OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS}; convert(x) = 100.0*x; [dir] diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index cc316755d5..b241210852 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -113,10 +113,6 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# Accumulation interval in 2-digit hours. -# -ACCUM_HH = {{accum_hh}} -# # List of forecast and corresponding observation fields to process. # # Note on use of set_attr_lead and ensemble member time-lagging: @@ -135,11 +131,11 @@ ACCUM_HH = {{accum_hh}} # corresponding to the nominal cdate. # FCST_VAR1_NAME = {{fieldname_in_met_output}} -FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; OBS_VAR1_NAME = {{fieldname_in_met_output}} -OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds}} # diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 23b9a08b0f..478ac0412a 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -93,10 +93,6 @@ OBTYPE = {{obtype}} # Value to enter under the DESC column in the output stat file. # GRID_STAT_DESC = NA -# -# Accumulation interval in 2-digit hours. -# -ACCUM_HH = {{accum_hh}} # List of variables to compare in GridStat - FCST_VAR1 variables correspond # to OBS_VAR1 variables @@ -105,16 +101,14 @@ ACCUM_HH = {{accum_hh}} GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# String to search for in the foreast input files for forecast variable -# 1. +# List of forecast and corresponding observation fields to process. # FCST_VAR1_NAME = {{fieldname_in_met_output}} -FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; - OBS_VAR1_NAME = {{fieldname_in_obs_input}} -OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = convert(x) = 100.0*x; # diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index a2f498d3ee..1bbf06c2f2 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -101,17 +101,13 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# Accumulation interval in 2-digit hours. -# -ACCUM_HH = {{accum_hh}} -# # List of forecast and corresponding observation fields to process. # FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN -FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_NAME = {{fieldname_in_met_output}} -OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds}} # diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index a6d432ec65..f96224c26e 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -106,31 +106,13 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # -# Accumulation interval in 2-digit hours. -# -ACCUM_HH = {{accum_hh}} -# # List of forecast and corresponding observation fields to process. # -ACCUM_HH = {{accum_hh}} FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN -FCST_VAR1_LEVELS = A{ACCUM_HH} +FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} -# -# String to search for in the observation input files for observation -# variable 1. -# -# Note: -# This is the name of the field in the grib2 observation file. Thus, -# it should not be set to {{fieldname_in_met_output}} because the -# value of fieldname_in_met_output is in general not the same as the -# name of the field in the grib2 observation file (although it can be -# for certain fields). If you do and it doesn't match, you may get an -# error like this from METplus: -# ERROR : VarInfoGrib2::set_dict() -> unrecognized GRIB2 field abbreviation ... -# OBS_VAR1_NAME = {{fieldname_in_obs_input}} -OBS_VAR1_LEVELS = A{ACCUM_HH} +OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_OPTIONS = convert(x) = 100.0*x; # From 0d535b5d8762425c9d3a9ce5fb2fee7c119c17ba Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 06:28:03 -0700 Subject: [PATCH 49/69] Minor comment fixes. --- parm/metplus/GridStat_ensprob_REFC.conf | 7 +++---- parm/metplus/GridStat_ensprob_RETOP.conf | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 52f278d493..31149335f4 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -104,13 +104,12 @@ GRID_STAT_DESC = NA # are needed for different tools GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; - -# FREQ -# Process as probability - # # List of forecast and corresponding observation fields to process. # +# FREQ +# Process as probability +# FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR1_LEVELS = L0 FCST_VAR1_THRESH = ==0.1 diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 499d7d6ef9..e180159a80 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -104,13 +104,12 @@ GRID_STAT_DESC = NA # are needed for different tools GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; - -# FREQ -# Process as probability - # # List of forecast and corresponding observation fields to process. # +# FREQ +# Process as probability +# FCST_VAR1_NAME = {{fieldname_in_met_output}}_L0_ENS_FREQ_ge20 FCST_VAR1_LEVELS = L0 FCST_VAR1_THRESH = ==0.1 From efcc6357c51d2623d89c9322210b01aa5c35b08c Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 06:50:06 -0700 Subject: [PATCH 50/69] Minor comment fixes. --- parm/metplus/PointStat_ensprob_ADPSFC.conf | 3 ++- parm/metplus/PointStat_ensprob_ADPUPA.conf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index aef315800b..37811a6e50 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -346,8 +346,9 @@ OBS_VAR23_LEVELS = L0 OBS_VAR23_THRESH = ge914 OBS_VAR23_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } - +# # Forecast data description variables +# FCST_IS_PROB = True FCST_PROB_IN_GRIB_PDS = False diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index 4b74438544..3ac3e04f6d 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -454,8 +454,9 @@ OBS_VAR39_NAME = PBL OBS_VAR39_LEVELS = L0 OBS_VAR39_THRESH = gt1500 OBS_VAR39_OPTIONS = desc = "TKE"; - +# # Forecast data description variables +# FCST_IS_PROB = True FCST_PROB_IN_GRIB_PDS = False From 7e3b9acff02cffd9a3397b84f084ce86db3eac1c Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Sat, 25 Nov 2023 10:20:54 -0700 Subject: [PATCH 51/69] Minor comment fixes. --- parm/metplus/EnsembleStat_ADPSFC.conf | 3 +-- parm/metplus/GenEnsProd_ADPSFC.conf | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index 51ec2f421c..e4f2ddb84e 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -206,8 +206,7 @@ OBS_VAR2_OPTIONS = obs_error = { flag = TRUE; dist_type = NONE; dist_parm = []; FCST_VAR3_NAME = WIND FCST_VAR3_LEVELS = Z10 FCST_VAR3_THRESH = ge5, ge10, ge15 -# Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. -FCST_VAR3_OPTIONS = GRIB2_pdt = 0; +FCST_VAR3_OPTIONS = GRIB2_pdt = 0; ;; Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. OBS_VAR3_NAME = WIND OBS_VAR3_LEVELS = Z10 OBS_VAR3_THRESH = ge5, ge10, ge15 diff --git a/parm/metplus/GenEnsProd_ADPSFC.conf b/parm/metplus/GenEnsProd_ADPSFC.conf index a331459c0f..cb253f575b 100644 --- a/parm/metplus/GenEnsProd_ADPSFC.conf +++ b/parm/metplus/GenEnsProd_ADPSFC.conf @@ -128,8 +128,7 @@ ENS_VAR2_THRESH = ge263, ge268, ge273, ge288, ge293, ge298 ENS_VAR3_NAME = WIND ENS_VAR3_LEVELS = Z10 ENS_VAR3_THRESH = ge5, ge10, ge15 -# Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. -ENS_VAR3_OPTIONS = GRIB2_pdt = 0; +ENS_VAR3_OPTIONS = GRIB2_pdt = 0; ;; Derive instantaneous 10-m wind from U/V components, overriding max 10-m wind. ENS_VAR4_NAME = TCDC ENS_VAR4_LEVELS = L0 From 780671c0f3a34b7b4a8a2e56dccb0133c5c00252 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 27 Nov 2023 09:23:42 -0700 Subject: [PATCH 52/69] Remove extraneous field suffix in name of PcpCombine METplus conf files. --- scripts/exregional_run_met_pcpcombine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/exregional_run_met_pcpcombine.sh b/scripts/exregional_run_met_pcpcombine.sh index db7ae335f6..1ce5e8bec0 100755 --- a/scripts/exregional_run_met_pcpcombine.sh +++ b/scripts/exregional_run_met_pcpcombine.sh @@ -287,7 +287,7 @@ fi # Add prefixes and suffixes (extensions) to the base file names. # metplus_config_tmpl_fn="${metplus_config_tmpl_fn}_${field}.conf" -metplus_config_fn="${metplus_config_fn}_${field}.conf" +metplus_config_fn="${metplus_config_fn}.conf" metplus_log_fn="metplus.log.${metplus_log_fn}" # #----------------------------------------------------------------------- From d2a80ef2dc52f70e1dd4929de16b86cf99a5ff54 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 27 Nov 2023 14:07:35 -0700 Subject: [PATCH 53/69] Move comment for an option to end of line. --- parm/metplus/GenEnsProd_RETOP.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/parm/metplus/GenEnsProd_RETOP.conf b/parm/metplus/GenEnsProd_RETOP.conf index 51ea30241d..49e5e5c3b6 100644 --- a/parm/metplus/GenEnsProd_RETOP.conf +++ b/parm/metplus/GenEnsProd_RETOP.conf @@ -120,8 +120,7 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} ENS_VAR1_NAME = {{fieldname_in_fcst_input}} ENS_VAR1_LEVELS = L0 ENS_VAR1_THRESH = {{field_thresholds}} -# Convert from meters to kilofeet. -ENS_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; +ENS_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; ;; Convert from meters to kilofeet. ### # GenEnsProd From 95d492fc1632743349f5821fd14a641e9ab0b531 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 27 Nov 2023 14:14:10 -0700 Subject: [PATCH 54/69] Move comments for options to end of line. --- parm/metplus/EnsembleStat_RETOP.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index 328543c246..8a75636899 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -188,18 +188,16 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # FCST_VAR1_NAME = {{fieldname_in_fcst_input}} FCST_VAR1_LEVELS = L0 -# Convert from meters to kilofeet. -FCST_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; +FCST_VAR1_OPTIONS = convert(x) = x * 3.28084 * 0.001; ;; Convert from meters to kilofeet. ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = Z500 -# Convert from kilometers to kilofeet. OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; cnt_logic = UNION; - convert(x) = x * 3280.84 * 0.001; + convert(x) = x * 3280.84 * 0.001; ;; Convert from kilometers to kilofeet. ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; From 7fe7af9a7940fdaad1dca76cde6eecf8268e5107 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 27 Nov 2023 14:32:32 -0700 Subject: [PATCH 55/69] Remove internal variable FIELDNAME_IN_MET_FILEDIR_NAMES in EnsembleStat_ADP[SFC|UPA].conf files. --- parm/metplus/EnsembleStat_ADPSFC.conf | 6 ++---- parm/metplus/EnsembleStat_ADPUPA.conf | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/parm/metplus/EnsembleStat_ADPSFC.conf b/parm/metplus/EnsembleStat_ADPSFC.conf index e4f2ddb84e..627f99010d 100644 --- a/parm/metplus/EnsembleStat_ADPSFC.conf +++ b/parm/metplus/EnsembleStat_ADPSFC.conf @@ -93,8 +93,6 @@ ENSEMBLE_STAT_ENS_THRESH = 0.05 # ens.vld_thresh value in the MET config file ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 -FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} - ENSEMBLE_STAT_OBS_QUALITY_INC = 0, 1, 2, 3, 9, NA #ENSEMBLE_STAT_OBS_QUALITY_EXC = @@ -114,7 +112,7 @@ ENSEMBLE_STAT_REGRID_TO_GRID = NONE ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = -ENSEMBLE_STAT_MESSAGE_TYPE = {FIELDNAME_IN_MET_FILEDIR_NAMES} +ENSEMBLE_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = FALSE ENSEMBLE_STAT_OBS_ERROR_FLAG = FALSE @@ -303,7 +301,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. diff --git a/parm/metplus/EnsembleStat_ADPUPA.conf b/parm/metplus/EnsembleStat_ADPUPA.conf index 513cb5b63b..d843a2e123 100644 --- a/parm/metplus/EnsembleStat_ADPUPA.conf +++ b/parm/metplus/EnsembleStat_ADPUPA.conf @@ -93,8 +93,6 @@ ENSEMBLE_STAT_ENS_THRESH = 0.05 # ens.vld_thresh value in the MET config file ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 -FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} - ENSEMBLE_STAT_OBS_QUALITY_INC = 0, 1, 2, 3, 9, NA #ENSEMBLE_STAT_OBS_QUALITY_EXC = @@ -114,7 +112,7 @@ ENSEMBLE_STAT_REGRID_TO_GRID = NONE ENSEMBLE_STAT_CENSOR_THRESH = ENSEMBLE_STAT_CENSOR_VAL = -ENSEMBLE_STAT_MESSAGE_TYPE = {FIELDNAME_IN_MET_FILEDIR_NAMES} +ENSEMBLE_STAT_MESSAGE_TYPE = {{fieldname_in_met_filedir_names}} ENSEMBLE_STAT_DUPLICATE_FLAG = NONE ENSEMBLE_STAT_SKIP_CONST = FALSE ENSEMBLE_STAT_OBS_ERROR_FLAG = FALSE @@ -347,7 +345,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. From 2750d49faa999b812f26c88cde4e6ec732674073 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 27 Nov 2023 14:40:09 -0700 Subject: [PATCH 56/69] Remove internal variable FIELDNAME_IN_MET_FILEDIR_NAMES in EnsembleStat conf files in which it's still used. --- parm/metplus/EnsembleStat_APCP.conf | 4 +--- parm/metplus/EnsembleStat_ASNOW.conf | 4 +--- parm/metplus/EnsembleStat_REFC.conf | 4 +--- parm/metplus/EnsembleStat_RETOP.conf | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index d2ac5db205..bed39bf8a9 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -93,8 +93,6 @@ ENSEMBLE_STAT_ENS_THRESH = 0.05 # ens.vld_thresh value in the MET config file ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 -FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} - # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. # If the variable is not defined, or the value is not set, then the MET # default is used. @@ -254,7 +252,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index 2a98acf494..b5865c19f8 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -93,8 +93,6 @@ ENSEMBLE_STAT_ENS_THRESH = 0.05 # ens.vld_thresh value in the MET config file ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 -FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} - # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. # If the variable is not defined, or the value is not set # than the MET default is used. @@ -254,7 +252,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. diff --git a/parm/metplus/EnsembleStat_REFC.conf b/parm/metplus/EnsembleStat_REFC.conf index 108c9d576f..332d665bb9 100644 --- a/parm/metplus/EnsembleStat_REFC.conf +++ b/parm/metplus/EnsembleStat_REFC.conf @@ -93,8 +93,6 @@ ENSEMBLE_STAT_ENS_THRESH = 0.05 # ens.vld_thresh value in the MET config file ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 -FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} - # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. # If the variable is not defined, or the value is not set, then the MET # default is used. @@ -261,7 +259,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. diff --git a/parm/metplus/EnsembleStat_RETOP.conf b/parm/metplus/EnsembleStat_RETOP.conf index 8a75636899..2066d2aaba 100644 --- a/parm/metplus/EnsembleStat_RETOP.conf +++ b/parm/metplus/EnsembleStat_RETOP.conf @@ -93,8 +93,6 @@ ENSEMBLE_STAT_ENS_THRESH = 0.05 # ens.vld_thresh value in the MET config file ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 -FIELDNAME_IN_MET_FILEDIR_NAMES = {{fieldname_in_met_filedir_names}} - # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. # If the variable is not defined, or the value is not set, then the MET # default is used. @@ -263,7 +261,7 @@ FCST_ENSEMBLE_STAT_INPUT_TEMPLATE = {{fcst_input_fn_template}} # Template for output from EnsembleStat relative to ENSEMBLE_STAT_OUTPUT_DIR. # ENSEMBLE_STAT_OUTPUT_TEMPLATE = -ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{FIELDNAME_IN_MET_FILEDIR_NAMES}_{OBTYPE}_{lead?fmt=%H%M%S}L +ENSEMBLE_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE}_{lead?fmt=%H%M%S}L # # Template for climatology input to EnsembleStat relative to # ENSEMBLE_STAT_CLIMO_MEAN_INPUT_DIR. Not used in this example. From e13458348455bdb2d95c555c8fd45a7163869cf5 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 27 Nov 2023 14:56:09 -0700 Subject: [PATCH 57/69] Change spacing to make it more convenient to compare to output from other branch. --- parm/metplus/PointStat_ensprob_ADPSFC.conf | 1 + parm/metplus/PointStat_ensprob_ADPUPA.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/parm/metplus/PointStat_ensprob_ADPSFC.conf b/parm/metplus/PointStat_ensprob_ADPSFC.conf index 37811a6e50..c9333b2c81 100644 --- a/parm/metplus/PointStat_ensprob_ADPSFC.conf +++ b/parm/metplus/PointStat_ensprob_ADPSFC.conf @@ -346,6 +346,7 @@ OBS_VAR23_LEVELS = L0 OBS_VAR23_THRESH = ge914 OBS_VAR23_OPTIONS = GRIB_lvl_typ = 215; interp = { type = [ { method = NEAREST; width = 1; } ]; } + # # Forecast data description variables # diff --git a/parm/metplus/PointStat_ensprob_ADPUPA.conf b/parm/metplus/PointStat_ensprob_ADPUPA.conf index 3ac3e04f6d..eab0270c69 100644 --- a/parm/metplus/PointStat_ensprob_ADPUPA.conf +++ b/parm/metplus/PointStat_ensprob_ADPUPA.conf @@ -454,6 +454,7 @@ OBS_VAR39_NAME = PBL OBS_VAR39_LEVELS = L0 OBS_VAR39_THRESH = gt1500 OBS_VAR39_OPTIONS = desc = "TKE"; + # # Forecast data description variables # From 314f7734c3a30fb541c1d78424a882a32ad8d258 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Mon, 27 Nov 2023 20:20:27 -0700 Subject: [PATCH 58/69] Spacing fix. --- parm/metplus/GridStat_APCP.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index b241210852..d02fe81f21 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -80,7 +80,6 @@ GRID_STAT_REGRID_SHAPE = SQUARE #GRID_STAT_INTERP_TYPE_WIDTH = 1 #GRID_STAT_GRID_WEIGHT_FLAG = - # # Name to identify model (forecast) data in output. # From a2883de25ddf0349e3b008a80f1662bd8358145a Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 28 Nov 2023 10:59:24 -0700 Subject: [PATCH 59/69] Spacing changes. --- parm/metplus/GridStat_APCP.conf | 1 - parm/metplus/GridStat_ensprob_APCP.conf | 1 - 2 files changed, 2 deletions(-) diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index b241210852..d02fe81f21 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -80,7 +80,6 @@ GRID_STAT_REGRID_SHAPE = SQUARE #GRID_STAT_INTERP_TYPE_WIDTH = 1 #GRID_STAT_GRID_WEIGHT_FLAG = - # # Name to identify model (forecast) data in output. # diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index e62a60cc2e..d51adbdcae 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -80,7 +80,6 @@ GRID_STAT_REGRID_SHAPE = SQUARE #GRID_STAT_INTERP_TYPE_WIDTH = 1 #GRID_STAT_GRID_WEIGHT_FLAG = - # # Name to identify model (forecast) data in output. # From eea96ddce940cd3bcbc2ede461b828cf171d6d51 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 28 Nov 2023 12:52:30 -0700 Subject: [PATCH 60/69] In the METplus conf files for GridStat, GridStat_ensmean (which is not actually run), and GridStat_ensprob processing REFC and RETOP, remove lines containing OBS_IS_PROB and OBS_GRID_STAT_PROB_THRESH since they are redundant. --- parm/metplus/GridStat_REFC.conf | 18 +++++++++--------- parm/metplus/GridStat_RETOP.conf | 18 +++++++++--------- parm/metplus/GridStat_ensmean_REFC.conf | 18 +++++++++--------- parm/metplus/GridStat_ensmean_RETOP.conf | 18 +++++++++--------- parm/metplus/GridStat_ensprob_REFC.conf | 18 +++++++++--------- parm/metplus/GridStat_ensprob_RETOP.conf | 18 +++++++++--------- 6 files changed, 54 insertions(+), 54 deletions(-) diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index 1203c489fa..a4e8e76814 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -181,15 +181,15 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -# -# Set to true if observation data is probabilistic. Only used if -# configuring forecast data as the 'OBS' input. -# -OBS_IS_PROB = false -# -# Only used if OBS_IS_PROB is true - sets probabilistic threshold. -# -OBS_GRID_STAT_PROB_THRESH = ==0.1 +## +## Set to true if observation data is probabilistic. Only used if +## configuring forecast data as the 'OBS' input. +## +#OBS_IS_PROB = false +## +## Only used if OBS_IS_PROB is true - sets probabilistic threshold. +## +#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 05a59d7c2f..3927724607 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -183,15 +183,15 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -# -# Set to true if observation data is probabilistic. Only used if -# configuring forecast data as the 'OBS' input. -# -OBS_IS_PROB = false -# -# Only used if OBS_IS_PROB is true - sets probabilistic threshold. -# -OBS_GRID_STAT_PROB_THRESH = ==0.1 +## +## Set to true if observation data is probabilistic. Only used if +## configuring forecast data as the 'OBS' input. +## +#OBS_IS_PROB = false +## +## Only used if OBS_IS_PROB is true - sets probabilistic threshold. +## +#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index 55ef6ce8c8..131e69a775 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -179,15 +179,15 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -# -# Set to true if observation data is probabilistic. Only used if -# configuring forecast data as the 'OBS' input. -# -OBS_IS_PROB = false -# -# Only used if OBS_IS_PROB is true - sets probabilistic threshold. -# -OBS_GRID_STAT_PROB_THRESH = ==0.1 +## +## Set to true if observation data is probabilistic. Only used if +## configuring forecast data as the 'OBS' input. +## +#OBS_IS_PROB = false +## +## Only used if OBS_IS_PROB is true - sets probabilistic threshold. +## +#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index 3975c9bdd3..d9686afaf9 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -181,15 +181,15 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -# -# Set to true if observation data is probabilistic. Only used if -# configuring forecast data as the 'OBS' input. -# -OBS_IS_PROB = false -# -# Only used if OBS_IS_PROB is true - sets probabilistic threshold. -# -OBS_GRID_STAT_PROB_THRESH = ==0.1 +## +## Set to true if observation data is probabilistic. Only used if +## configuring forecast data as the 'OBS' input. +## +#OBS_IS_PROB = false +## +## Only used if OBS_IS_PROB is true - sets probabilistic threshold. +## +#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 31149335f4..67aa2a9002 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -250,15 +250,15 @@ FCST_PROB_IN_GRIB_PDS = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -# -# Set to true if observation data is probabilistic. Only used if -# configuring forecast data as the 'OBS' input. -# -OBS_IS_PROB = false -# -# Only used if OBS_IS_PROB is true - sets probabilistic threshold. -# -OBS_GRID_STAT_PROB_THRESH = ==0.1 +## +## Set to true if observation data is probabilistic. Only used if +## configuring forecast data as the 'OBS' input. +## +#OBS_IS_PROB = false +## +## Only used if OBS_IS_PROB is true - sets probabilistic threshold. +## +#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index e180159a80..0d26b4d549 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -258,15 +258,15 @@ FCST_PROB_IN_GRIB_PDS = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -# -# Set to true if observation data is probabilistic. Only used if -# configuring forecast data as the 'OBS' input. -# -OBS_IS_PROB = false -# -# Only used if OBS_IS_PROB is true - sets probabilistic threshold. -# -OBS_GRID_STAT_PROB_THRESH = ==0.1 +## +## Set to true if observation data is probabilistic. Only used if +## configuring forecast data as the 'OBS' input. +## +#OBS_IS_PROB = false +## +## Only used if OBS_IS_PROB is true - sets probabilistic threshold. +## +#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = From ce2f098d6b53bd42db7f8e04ccd7c13f8a84efe1 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 28 Nov 2023 12:56:59 -0700 Subject: [PATCH 61/69] Remove comented-out lines. --- parm/metplus/GridStat_REFC.conf | 9 --------- parm/metplus/GridStat_RETOP.conf | 9 --------- parm/metplus/GridStat_ensmean_REFC.conf | 9 --------- parm/metplus/GridStat_ensmean_RETOP.conf | 9 --------- parm/metplus/GridStat_ensprob_REFC.conf | 9 --------- parm/metplus/GridStat_ensprob_RETOP.conf | 9 --------- 6 files changed, 54 deletions(-) diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index a4e8e76814..c5b1611dea 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -181,15 +181,6 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -## -## Set to true if observation data is probabilistic. Only used if -## configuring forecast data as the 'OBS' input. -## -#OBS_IS_PROB = false -## -## Only used if OBS_IS_PROB is true - sets probabilistic threshold. -## -#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index 3927724607..fbc074ccf8 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -183,15 +183,6 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -## -## Set to true if observation data is probabilistic. Only used if -## configuring forecast data as the 'OBS' input. -## -#OBS_IS_PROB = false -## -## Only used if OBS_IS_PROB is true - sets probabilistic threshold. -## -#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index 131e69a775..a24f564fa3 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -179,15 +179,6 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -## -## Set to true if observation data is probabilistic. Only used if -## configuring forecast data as the 'OBS' input. -## -#OBS_IS_PROB = false -## -## Only used if OBS_IS_PROB is true - sets probabilistic threshold. -## -#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index d9686afaf9..d8ea6ff131 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -181,15 +181,6 @@ FCST_IS_PROB = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -## -## Set to true if observation data is probabilistic. Only used if -## configuring forecast data as the 'OBS' input. -## -#OBS_IS_PROB = false -## -## Only used if OBS_IS_PROB is true - sets probabilistic threshold. -## -#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index 67aa2a9002..ca82866ee8 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -250,15 +250,6 @@ FCST_PROB_IN_GRIB_PDS = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -## -## Set to true if observation data is probabilistic. Only used if -## configuring forecast data as the 'OBS' input. -## -#OBS_IS_PROB = false -## -## Only used if OBS_IS_PROB is true - sets probabilistic threshold. -## -#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 0d26b4d549..f4328e472b 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -258,15 +258,6 @@ FCST_PROB_IN_GRIB_PDS = False FCST_GRID_STAT_PROB_THRESH = ==0.1 GRID_STAT_OUTPUT_PREFIX = {MODEL}_{{fieldname_in_met_filedir_names}}_{OBTYPE} -## -## Set to true if observation data is probabilistic. Only used if -## configuring forecast data as the 'OBS' input. -## -#OBS_IS_PROB = false -## -## Only used if OBS_IS_PROB is true - sets probabilistic threshold. -## -#OBS_GRID_STAT_PROB_THRESH = ==0.1 # Climatology data #GRID_STAT_CLIMO_MEAN_FILE_NAME = From dfd21e3bf0b7d0dfba76abc8b69b9bbec7c9ceda Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 28 Nov 2023 15:41:50 -0700 Subject: [PATCH 62/69] For REFC and RETOP, modify the METplus conf files for GridStat, GridStat_ensmean (which is not run), and GridStat_ensprob so that "cat_thresh = []" is replaced with "cat_thresh = [NA]". This is for consistency with the other METplus conf files. --- parm/metplus/GridStat_REFC.conf | 2 +- parm/metplus/GridStat_RETOP.conf | 2 +- parm/metplus/GridStat_ensmean_REFC.conf | 2 +- parm/metplus/GridStat_ensprob_RETOP.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/parm/metplus/GridStat_REFC.conf b/parm/metplus/GridStat_REFC.conf index c5b1611dea..c7f34d27f9 100644 --- a/parm/metplus/GridStat_REFC.conf +++ b/parm/metplus/GridStat_REFC.conf @@ -110,7 +110,7 @@ GRID_STAT_DESC = NA # Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations # are needed for different tools -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; +GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # # List of forecast and corresponding observation fields to process. # diff --git a/parm/metplus/GridStat_RETOP.conf b/parm/metplus/GridStat_RETOP.conf index fbc074ccf8..be91a0ba03 100644 --- a/parm/metplus/GridStat_RETOP.conf +++ b/parm/metplus/GridStat_RETOP.conf @@ -110,7 +110,7 @@ GRID_STAT_DESC = NA # Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations # are needed for different tools -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; +GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # # List of forecast and corresponding observation fields to process. # diff --git a/parm/metplus/GridStat_ensmean_REFC.conf b/parm/metplus/GridStat_ensmean_REFC.conf index a24f564fa3..451c82dfd5 100644 --- a/parm/metplus/GridStat_ensmean_REFC.conf +++ b/parm/metplus/GridStat_ensmean_REFC.conf @@ -103,7 +103,7 @@ GRID_STAT_DESC = NA # Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations # are needed for different tools -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; +GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # # String to search for in the foreast input files for forecast variable # 1. diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index f4328e472b..3abc4f0788 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -103,7 +103,7 @@ GRID_STAT_DESC = NA # Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations # are needed for different tools -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; +GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # # List of forecast and corresponding observation fields to process. # From fb7bc8c99090d1743389b860e497e70b5e903aae Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 28 Nov 2023 15:52:37 -0700 Subject: [PATCH 63/69] Include files inadvertently left out of previous commit. --- parm/metplus/GridStat_ensmean_RETOP.conf | 2 +- parm/metplus/GridStat_ensprob_REFC.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parm/metplus/GridStat_ensmean_RETOP.conf b/parm/metplus/GridStat_ensmean_RETOP.conf index d8ea6ff131..a881ed3ab5 100644 --- a/parm/metplus/GridStat_ensmean_RETOP.conf +++ b/parm/metplus/GridStat_ensmean_RETOP.conf @@ -103,7 +103,7 @@ GRID_STAT_DESC = NA # Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations # are needed for different tools -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; +GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # # String to search for in the foreast input files for forecast variable # 1. diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index ca82866ee8..f0744b2f25 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -103,7 +103,7 @@ GRID_STAT_DESC = NA # Note [FCST/OBS/BOTH]_GRID_STAT_VAR_NAME can be used instead if different evaluations # are needed for different tools -GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = []; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; +GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; # # List of forecast and corresponding observation fields to process. # From a0e3d99026b67ef4e19880e4ccd969dfe3a1baea Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 4 Jan 2024 12:38:21 -0700 Subject: [PATCH 64/69] Add the accumulation period (in hours) as a suffix to the names of APCP fields being verified. This is so that MET's default observation error tables can be used (in which the APCP field names all include the accumulation periods, e.g. APCP_03). --- parm/metplus/EnsembleStat_APCP.conf | 4 ++-- parm/metplus/GenEnsProd_APCP.conf | 2 +- parm/metplus/GridStat_APCP.conf | 4 ++-- parm/metplus/GridStat_ensmean_APCP.conf | 4 ++-- parm/metplus/GridStat_ensprob_APCP.conf | 4 ++-- parm/metplus/PcpCombine_fcst_APCP.conf | 2 +- parm/metplus/PcpCombine_obs_APCP.conf | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/parm/metplus/EnsembleStat_APCP.conf b/parm/metplus/EnsembleStat_APCP.conf index bed39bf8a9..88e86b4563 100644 --- a/parm/metplus/EnsembleStat_APCP.conf +++ b/parm/metplus/EnsembleStat_APCP.conf @@ -182,11 +182,11 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # FCST_VARn_LEVELS, (optional) FCST_VARn_OPTION and OBS_VARn_NAME, # OBS_VARn_LEVELS, (optional) OBS_VARn_OPTION. # -FCST_VAR1_NAME = {{fieldname_in_met_output}} +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; -OBS_VAR1_NAME = {{fieldname_in_met_output}} +OBS_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS} diff --git a/parm/metplus/GenEnsProd_APCP.conf b/parm/metplus/GenEnsProd_APCP.conf index 0227426f83..0d05843a87 100644 --- a/parm/metplus/GenEnsProd_APCP.conf +++ b/parm/metplus/GenEnsProd_APCP.conf @@ -117,7 +117,7 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION # -ENS_VAR1_NAME = {{fieldname_in_met_output}} +ENS_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} ENS_VAR1_LEVELS = A{{accum_hh}} ENS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GridStat_APCP.conf b/parm/metplus/GridStat_APCP.conf index d02fe81f21..51e5125951 100644 --- a/parm/metplus/GridStat_APCP.conf +++ b/parm/metplus/GridStat_APCP.conf @@ -129,11 +129,11 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # cause confusion, so here, we always use lead values with zero lead # corresponding to the nominal cdate. # -FCST_VAR1_NAME = {{fieldname_in_met_output}} +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; -OBS_VAR1_NAME = {{fieldname_in_met_output}} +OBS_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GridStat_ensmean_APCP.conf b/parm/metplus/GridStat_ensmean_APCP.conf index 1bbf06c2f2..6d3956c8e6 100644 --- a/parm/metplus/GridStat_ensmean_APCP.conf +++ b/parm/metplus/GridStat_ensmean_APCP.conf @@ -103,10 +103,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # # List of forecast and corresponding observation fields to process. # -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_MEAN FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} -OBS_VAR1_NAME = {{fieldname_in_met_output}} +OBS_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index d51adbdcae..01edd9ad4d 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -121,10 +121,10 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # FREQ # Process as probability # -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = ==0.1 -OBS_VAR1_NAME = {{fieldname_in_met_output}} +OBS_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds[0]}} diff --git a/parm/metplus/PcpCombine_fcst_APCP.conf b/parm/metplus/PcpCombine_fcst_APCP.conf index c0e8693816..64fe0b4fcf 100644 --- a/parm/metplus/PcpCombine_fcst_APCP.conf +++ b/parm/metplus/PcpCombine_fcst_APCP.conf @@ -68,7 +68,7 @@ FCST_PCP_COMBINE_METHOD = ADD # Specify how to name the array in the NetCDF file that PcpCombine # generates. # -FCST_PCP_COMBINE_OUTPUT_NAME = {{fieldname_in_met_output}} +FCST_PCP_COMBINE_OUTPUT_NAME = {{fieldname_in_met_output}}_{{accum_hh}} # # Accumulation interval available in the forecast input data. # diff --git a/parm/metplus/PcpCombine_obs_APCP.conf b/parm/metplus/PcpCombine_obs_APCP.conf index 5ecf7a3141..cea6809597 100644 --- a/parm/metplus/PcpCombine_obs_APCP.conf +++ b/parm/metplus/PcpCombine_obs_APCP.conf @@ -68,7 +68,7 @@ OBS_PCP_COMBINE_METHOD = ADD # Specify how to name the array in the NetCDF file that PcpCombine # generates. # -OBS_PCP_COMBINE_OUTPUT_NAME = {{fieldname_in_met_output}} +OBS_PCP_COMBINE_OUTPUT_NAME = {{fieldname_in_met_output}}_{{accum_hh}} # # Accumulation interval available in the observation input data. # From 52cf89bda9da53e5a3d1d0404a2787218216cc21 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 4 Jan 2024 13:13:14 -0700 Subject: [PATCH 65/69] Bug fix. Changes that should have been made as part of previous commit to add accumulation period as a suffix to APCP field names. --- parm/metplus/GridStat_ensprob_APCP.conf | 28 ++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/parm/metplus/GridStat_ensprob_APCP.conf b/parm/metplus/GridStat_ensprob_APCP.conf index 01edd9ad4d..3e16de248d 100644 --- a/parm/metplus/GridStat_ensprob_APCP.conf +++ b/parm/metplus/GridStat_ensprob_APCP.conf @@ -128,24 +128,24 @@ OBS_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR1_LEVELS = A{{accum_hh}} OBS_VAR1_THRESH = {{field_thresholds[0]}} -FCST_VAR2_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} +FCST_VAR2_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} FCST_VAR2_LEVELS = A{{accum_hh}} FCST_VAR2_THRESH = ==0.1 -OBS_VAR2_NAME = {{fieldname_in_met_output}} +OBS_VAR2_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR2_LEVELS = A{{accum_hh}} OBS_VAR2_THRESH = {{field_thresholds[1]}} -FCST_VAR3_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} +FCST_VAR3_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} FCST_VAR3_LEVELS = A{{accum_hh}} FCST_VAR3_THRESH = ==0.1 -OBS_VAR3_NAME = {{fieldname_in_met_output}} +OBS_VAR3_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR3_LEVELS = A{{accum_hh}} OBS_VAR3_THRESH = {{field_thresholds[2]}} -FCST_VAR4_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} +FCST_VAR4_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} FCST_VAR4_LEVELS = A{{accum_hh}} FCST_VAR4_THRESH = ==0.1 -OBS_VAR4_NAME = {{fieldname_in_met_output}} +OBS_VAR4_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR4_LEVELS = A{{accum_hh}} OBS_VAR4_THRESH = {{field_thresholds[3]}} @@ -154,38 +154,38 @@ OBS_VAR4_THRESH = {{field_thresholds[3]}} ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" # -FCST_VAR5_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} +FCST_VAR5_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} FCST_VAR5_LEVELS = A{{accum_hh}} FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; -OBS_VAR5_NAME = {{fieldname_in_met_output}} +OBS_VAR5_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR5_LEVELS = A{{accum_hh}} OBS_VAR5_THRESH = {{field_thresholds[0]}} OBS_VAR5_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR6_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} +FCST_VAR6_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} FCST_VAR6_LEVELS = A{{accum_hh}} FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; -OBS_VAR6_NAME = {{fieldname_in_met_output}} +OBS_VAR6_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR6_LEVELS = A{{accum_hh}} OBS_VAR6_THRESH = {{field_thresholds[1]}} OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR7_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} +FCST_VAR7_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} FCST_VAR7_LEVELS = A{{accum_hh}} FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; -OBS_VAR7_NAME = {{fieldname_in_met_output}} +OBS_VAR7_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR7_LEVELS = A{{accum_hh}} OBS_VAR7_THRESH = {{field_thresholds[2]}} OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } -FCST_VAR8_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} +FCST_VAR8_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} FCST_VAR8_LEVELS = A{{accum_hh}} FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; -OBS_VAR8_NAME = {{fieldname_in_met_output}} +OBS_VAR8_NAME = {{fieldname_in_met_output}}_{{accum_hh}} OBS_VAR8_LEVELS = A{{accum_hh}} OBS_VAR8_THRESH = {{field_thresholds[3]}} OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } From 26aaf87ae08c093bfb63cd17381ba123eaaf2837 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 4 Jan 2024 13:33:09 -0700 Subject: [PATCH 66/69] For simplicity, remove ".0" from REFC and RETOP thresholds. --- parm/metplus/GridStat_ensprob_REFC.conf | 16 ++++++++-------- parm/metplus/GridStat_ensprob_RETOP.conf | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/parm/metplus/GridStat_ensprob_REFC.conf b/parm/metplus/GridStat_ensprob_REFC.conf index f0744b2f25..95e19af1ce 100644 --- a/parm/metplus/GridStat_ensprob_REFC.conf +++ b/parm/metplus/GridStat_ensprob_REFC.conf @@ -115,7 +115,7 @@ FCST_VAR1_LEVELS = L0 FCST_VAR1_THRESH = ==0.1 OBS_VAR1_NAME = MergedReflectivityQCComposite OBS_VAR1_LEVELS = Z500 -OBS_VAR1_THRESH = ge20.0 +OBS_VAR1_THRESH = ge20 OBS_VAR1_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -126,7 +126,7 @@ FCST_VAR2_LEVELS = L0 FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = MergedReflectivityQCComposite OBS_VAR2_LEVELS = Z500 -OBS_VAR2_THRESH = ge30.0 +OBS_VAR2_THRESH = ge30 OBS_VAR2_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -137,7 +137,7 @@ FCST_VAR3_LEVELS = L0 FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = MergedReflectivityQCComposite OBS_VAR3_LEVELS = Z500 -OBS_VAR3_THRESH = ge40.0 +OBS_VAR3_THRESH = ge40 OBS_VAR3_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -148,7 +148,7 @@ FCST_VAR4_LEVELS = L0 FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = MergedReflectivityQCComposite OBS_VAR4_LEVELS = Z500 -OBS_VAR4_THRESH = ge50.0 +OBS_VAR4_THRESH = ge50 OBS_VAR4_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -165,7 +165,7 @@ FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; OBS_VAR5_NAME = MergedReflectivityQCComposite OBS_VAR5_LEVELS = Z500 -OBS_VAR5_THRESH = ge20.0 +OBS_VAR5_THRESH = ge20 OBS_VAR5_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -178,7 +178,7 @@ FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; OBS_VAR6_NAME = MergedReflectivityQCComposite OBS_VAR6_LEVELS = Z500 -OBS_VAR6_THRESH = ge30.0 +OBS_VAR6_THRESH = ge30 OBS_VAR6_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -191,7 +191,7 @@ FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; OBS_VAR7_NAME = MergedReflectivityQCComposite OBS_VAR7_LEVELS = Z500 -OBS_VAR7_THRESH = ge40.0 +OBS_VAR7_THRESH = ge40 OBS_VAR7_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -204,7 +204,7 @@ FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; OBS_VAR8_NAME = MergedReflectivityQCComposite OBS_VAR8_LEVELS = Z500 -OBS_VAR8_THRESH = ge50.0 +OBS_VAR8_THRESH = ge50 OBS_VAR8_OPTIONS = censor_thresh = lt-20; censor_val = -20.0; cnt_thresh = [ >15 ]; diff --git a/parm/metplus/GridStat_ensprob_RETOP.conf b/parm/metplus/GridStat_ensprob_RETOP.conf index 3abc4f0788..d1f218bea8 100644 --- a/parm/metplus/GridStat_ensprob_RETOP.conf +++ b/parm/metplus/GridStat_ensprob_RETOP.conf @@ -115,7 +115,7 @@ FCST_VAR1_LEVELS = L0 FCST_VAR1_THRESH = ==0.1 OBS_VAR1_NAME = EchoTop18 OBS_VAR1_LEVELS = Z500 -OBS_VAR1_THRESH = ge20.0 +OBS_VAR1_THRESH = ge20 OBS_VAR1_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -127,7 +127,7 @@ FCST_VAR2_LEVELS = L0 FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = EchoTop18 OBS_VAR2_LEVELS = Z500 -OBS_VAR2_THRESH = ge30.0 +OBS_VAR2_THRESH = ge30 OBS_VAR2_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -139,7 +139,7 @@ FCST_VAR3_LEVELS = L0 FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = EchoTop18 OBS_VAR3_LEVELS = Z500 -OBS_VAR3_THRESH = ge40.0 +OBS_VAR3_THRESH = ge40 OBS_VAR3_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -151,7 +151,7 @@ FCST_VAR4_LEVELS = L0 FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = EchoTop18 OBS_VAR4_LEVELS = Z500 -OBS_VAR4_THRESH = ge50.0 +OBS_VAR4_THRESH = ge50 OBS_VAR4_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -169,7 +169,7 @@ FCST_VAR5_THRESH = ==0.1 FCST_VAR5_OPTIONS = prob = FALSE; OBS_VAR5_NAME = EchoTop18 OBS_VAR5_LEVELS = Z500 -OBS_VAR5_THRESH = ge20.0 +OBS_VAR5_THRESH = ge20 OBS_VAR5_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -183,7 +183,7 @@ FCST_VAR6_THRESH = ==0.1 FCST_VAR6_OPTIONS = prob = FALSE; OBS_VAR6_NAME = EchoTop18 OBS_VAR6_LEVELS = Z500 -OBS_VAR6_THRESH = ge30.0 +OBS_VAR6_THRESH = ge30 OBS_VAR6_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -197,7 +197,7 @@ FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; OBS_VAR7_NAME = EchoTop18 OBS_VAR7_LEVELS = Z500 -OBS_VAR7_THRESH = ge40.0 +OBS_VAR7_THRESH = ge40 OBS_VAR7_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; @@ -211,7 +211,7 @@ FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; OBS_VAR8_NAME = EchoTop18 OBS_VAR8_LEVELS = Z500 -OBS_VAR8_THRESH = ge50.0 +OBS_VAR8_THRESH = ge50 OBS_VAR8_OPTIONS = censor_thresh = lt-20.0; censor_val = -20.0; cnt_thresh = [ >15 ]; From 2f5fcde3a25c374a8610a0bb6a1742a45d903155 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 4 Jan 2024 17:15:09 -0700 Subject: [PATCH 67/69] Add the accumulation hour as a suffix to the ASNOW forecast variable name. This is to be consistent with what is done for APCP. The same is not done for snow observations because that is not processed by PcpCombine to obtain a NetCDF file (so the name in the observation file must be that in the grib2, which does not include the accumulation hour suffix). --- parm/metplus/GridStat_ASNOW.conf | 2 +- parm/metplus/PcpCombine_fcst_ASNOW.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parm/metplus/GridStat_ASNOW.conf b/parm/metplus/GridStat_ASNOW.conf index 478ac0412a..3960a10c30 100644 --- a/parm/metplus/GridStat_ASNOW.conf +++ b/parm/metplus/GridStat_ASNOW.conf @@ -103,7 +103,7 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # # List of forecast and corresponding observation fields to process. # -FCST_VAR1_NAME = {{fieldname_in_met_output}} +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} FCST_VAR1_OPTIONS = set_attr_lead = "{lead?fmt=%H%M%S}"; diff --git a/parm/metplus/PcpCombine_fcst_ASNOW.conf b/parm/metplus/PcpCombine_fcst_ASNOW.conf index 562091a0bb..91a6a70abb 100644 --- a/parm/metplus/PcpCombine_fcst_ASNOW.conf +++ b/parm/metplus/PcpCombine_fcst_ASNOW.conf @@ -78,7 +78,7 @@ FCST_PCP_COMBINE_INPUT_LEVELS = A01 # Specify how to name the array in the NetCDF file that PcpCombine # generates. # -FCST_PCP_COMBINE_OUTPUT_NAME = {{fieldname_in_met_output}} +FCST_PCP_COMBINE_OUTPUT_NAME = {{fieldname_in_met_output}}_{{accum_hh}} # # Accumulation interval available in the forecast input data. # From cd94c8594bcadf79cf8a5e8840bc9fca7234dbcc Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Tue, 9 Jan 2024 16:02:40 -0700 Subject: [PATCH 68/69] Fix typo. --- ush/config_defaults.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ush/config_defaults.yaml b/ush/config_defaults.yaml index 6a2d06c516..f1a2fc71e4 100644 --- a/ush/config_defaults.yaml +++ b/ush/config_defaults.yaml @@ -2447,10 +2447,10 @@ verification: # VX_FIELDS: # The fields or groups of fields on which to run verification. Because # accumulated snow (ASNOW) is often not of interest in non-winter cases - # and because observation files for ASNOW are not availabe on NOAA HPSS - # for retrospective cases before March 2020, by default ASNOW is not - # included VX_FIELDS, but it may be added to this list in order to include - # the verification tasks for ASNOW in the workflow. + # and because observation files for ASNOW are not available on NOAA + # HPSS for retrospective cases before March 2020, by default ASNOW is + # not included VX_FIELDS, but it may be added to this list in order to + # include the verification tasks for ASNOW in the workflow. # # VX_APCP_ACCUMS_HRS: # The 2-digit accumulation periods (in units of hours) to consider for From 274351553c7eb1ed0b58747747a99415bd9ad384 Mon Sep 17 00:00:00 2001 From: gerard ketefian Date: Thu, 11 Jan 2024 19:57:40 -0700 Subject: [PATCH 69/69] Bug fixes for ensemble vx of ASNOW. --- parm/metplus/EnsembleStat_ASNOW.conf | 11 +- parm/metplus/GenEnsProd_ASNOW.conf | 2 +- parm/metplus/GridStat_ensmean_ASNOW.conf | 2 +- parm/metplus/GridStat_ensprob_ASNOW.conf | 117 +++++++----------- ...g.MET_ensemble_verification_winter_wx.yaml | 2 +- 5 files changed, 53 insertions(+), 81 deletions(-) diff --git a/parm/metplus/EnsembleStat_ASNOW.conf b/parm/metplus/EnsembleStat_ASNOW.conf index b5865c19f8..9d12890e7f 100644 --- a/parm/metplus/EnsembleStat_ASNOW.conf +++ b/parm/metplus/EnsembleStat_ASNOW.conf @@ -94,8 +94,8 @@ ENSEMBLE_STAT_ENS_THRESH = 0.05 ENSEMBLE_STAT_ENS_VLD_THRESH = 1.0 # ENSEMBLE_STAT_MET_OBS_ERR_TABLE is not required. -# If the variable is not defined, or the value is not set -# than the MET default is used. +# If the variable is not defined, or the value is not set, then the MET +# default is used. ENSEMBLE_STAT_MET_OBS_ERR_TABLE = {MET_BASE}/table_files/obs_error_table.txt @@ -182,13 +182,14 @@ ENSEMBLE_STAT_ENSEMBLE_FLAG_WEIGHT = FALSE # FCST_VARn_LEVELS, (optional) FCST_VARn_OPTION and OBS_VARn_NAME, # OBS_VARn_LEVELS, (optional) OBS_VARn_OPTION. # -FCST_VAR1_NAME = {{fieldname_in_met_output}} +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_OPTIONS = ens_ssvar_bin_size = 50.0; ens_phist_bin_size = 0.05; OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A{{accum_hh}} -OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS}; convert(x) = 100.0*x; +OBS_VAR1_OPTIONS = {FCST_VAR1_OPTIONS}; + convert(x) = 100.0*x; [dir] # @@ -241,7 +242,7 @@ OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE = # OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE = {{obs_input_fn_template}} # -# Template for forecast input to EnsembleStat relative to +# Template for forecast input to EnsembleStat relative to # FCST_ENSEMBLE_STAT_INPUT_DIR. # # Note that this can be a comma separated list of ensemble members diff --git a/parm/metplus/GenEnsProd_ASNOW.conf b/parm/metplus/GenEnsProd_ASNOW.conf index 47fb7c90cc..ea9dac02d9 100644 --- a/parm/metplus/GenEnsProd_ASNOW.conf +++ b/parm/metplus/GenEnsProd_ASNOW.conf @@ -118,7 +118,7 @@ GEN_ENS_PROD_N_MEMBERS = {{num_ens_members}} # of the MET configuration file. Specify as ENS_VARn_NAME, ENS_VARn_LEVELS, # (optional) ENS_VARn_OPTION # -ENS_VAR1_NAME = {{fieldname_in_met_output}} +ENS_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}} ENS_VAR1_LEVELS = A{{accum_hh}} ENS_VAR1_THRESH = {{field_thresholds}} diff --git a/parm/metplus/GridStat_ensmean_ASNOW.conf b/parm/metplus/GridStat_ensmean_ASNOW.conf index f96224c26e..6fb8951a3f 100644 --- a/parm/metplus/GridStat_ensmean_ASNOW.conf +++ b/parm/metplus/GridStat_ensmean_ASNOW.conf @@ -108,7 +108,7 @@ GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic # # List of forecast and corresponding observation fields to process. # -FCST_VAR1_NAME = {{fieldname_in_met_output}}_A{{accum_no_pad}}_ENS_MEAN +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_MEAN FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = {{field_thresholds}} OBS_VAR1_NAME = {{fieldname_in_obs_input}} diff --git a/parm/metplus/GridStat_ensprob_ASNOW.conf b/parm/metplus/GridStat_ensprob_ASNOW.conf index bc93cd6d53..ecd17f681b 100644 --- a/parm/metplus/GridStat_ensprob_ASNOW.conf +++ b/parm/metplus/GridStat_ensprob_ASNOW.conf @@ -80,7 +80,6 @@ GRID_STAT_REGRID_SHAPE = SQUARE #GRID_STAT_INTERP_TYPE_WIDTH = 1 #GRID_STAT_GRID_WEIGHT_FLAG = - # # Name to identify model (forecast) data in output. # @@ -106,140 +105,112 @@ GRID_STAT_DESC = NA GRID_STAT_MET_CONFIG_OVERRIDES = cat_thresh = [NA]; cnt_thresh = [NA]; cnt_logic = UNION; wind_thresh = [NA]; wind_logic = UNION; ci_alpha = [0.05]; rank_corr_flag = FALSE; -FIELDNAME_IN_MET_OUTPUT = {{fieldname_in_met_output}} +{%- set field_thresholds = [] %} +{%- if accum_hh == '06' %} + {%- set field_thresholds = ['gt0.0', 'ge2.54', 'ge5.08', 'ge10.16', 'ge20.32'] %} +{%- elif accum_hh == '24' %} + {%- set field_thresholds = ['gt0.0', 'ge2.54', 'ge5.08', 'ge10.16', 'ge20.32'] %} +{%- endif %} +# +# List of forecast and corresponding observation fields to process. # # FREQ # Process as probability - # -# String to search for in the foreast input files for forecast variable -# 1. -# -# Note: -# This is the name of the field in the NetCDF file(s) created by MET's -# gen_ens_prod tool. This tool reads in the NetCDF file(s) generated by -# MET's pcp_combine tool. The latter reads in grib2 file(s) containing -# 1 hour accumulation data (in this case, from forecasts) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files from pcp_combine name their arrays as specified by -# FIELDNAME_IN_MET_OUTPUT. The gen_ens_prod tool then takes this array -# name and, in its output NetCDF files, creates arrays whose names consist -# of the original array name in the pcp_combine output (FIELDNAME_IN_MET_OUTPUT) -# plus a suffix that specifies additional properties of the data in the -# array such as the level (which in this case is the accumulation period), -# the type of statistic, etc. In this case, this suffix is "_A{{accum_no_pad}}_ENS_FREQ_gt0.0". -# Thus, below, FCST_VAR1_NAME must be set to the value of FIELDNAME_IN_MET_OUTPUT -# with "_A{{accum_no_pad}}_ENS_FREQ_gt0.0" appended to it. -# The same is true of other forecast fields below except the suffix is -# different. -# -FCST_VAR1_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_gt0.0 +FCST_VAR1_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} FCST_VAR1_LEVELS = A{{accum_hh}} FCST_VAR1_THRESH = ==0.1 -# -# List of levels to evaluate for observation variable 1. Must be the -# same length as FCST_VAR1_LEVELS. -# -# Note: -# This is the name of the field in the NetCDF file created by MET's -# pcp_combine tool. This tool reads in the grib2 file(s) containing -# 1 hour accumulation data (in this case, from observations) and outputs -# NetCDF file(s) with the appropriate > 1 hour accumulation. These -# output NetCDF files name their arrays as specified by the environment -# variable FIELDNAME_IN_MET_OUTPUT. Thus, that is the value we set -# OBS_VAR1_NAME to here, not to the name of the variable in the grib2 -# file. -# OBS_VAR1_NAME = {{fieldname_in_obs_input}} OBS_VAR1_LEVELS = A{{accum_hh}} -OBS_VAR1_THRESH = gt0.0 +OBS_VAR1_THRESH = {{field_thresholds[0]}} OBS_VAR1_OPTIONS = convert(x) = 100.0*x; -FCST_VAR2_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_gt0.0 +FCST_VAR2_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} FCST_VAR2_LEVELS = A{{accum_hh}} FCST_VAR2_THRESH = ==0.1 OBS_VAR2_NAME = {{fieldname_in_obs_input}} OBS_VAR2_LEVELS = A{{accum_hh}} -OBS_VAR2_THRESH = ge0.508 +OBS_VAR2_THRESH = {{field_thresholds[1]}} OBS_VAR2_OPTIONS = convert(x) = 100.0*x; -FCST_VAR3_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge2.54 +FCST_VAR3_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} FCST_VAR3_LEVELS = A{{accum_hh}} FCST_VAR3_THRESH = ==0.1 OBS_VAR3_NAME = {{fieldname_in_obs_input}} OBS_VAR3_LEVELS = A{{accum_hh}} -OBS_VAR3_THRESH = ge2.54 +OBS_VAR3_THRESH = {{field_thresholds[2]}} OBS_VAR3_OPTIONS = convert(x) = 100.0*x; -FCST_VAR4_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge5.08 +FCST_VAR4_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} FCST_VAR4_LEVELS = A{{accum_hh}} FCST_VAR4_THRESH = ==0.1 OBS_VAR4_NAME = {{fieldname_in_obs_input}} OBS_VAR4_LEVELS = A{{accum_hh}} -OBS_VAR4_THRESH = ge5.08 +OBS_VAR4_THRESH = {{field_thresholds[3]}} OBS_VAR4_OPTIONS = convert(x) = 100.0*x; -FCST_VAR5_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge10.16 +FCST_VAR5_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[4]}} FCST_VAR5_LEVELS = A{{accum_hh}} FCST_VAR5_THRESH = ==0.1 OBS_VAR5_NAME = {{fieldname_in_obs_input}} OBS_VAR5_LEVELS = A{{accum_hh}} -OBS_VAR5_THRESH = ge10.16 +OBS_VAR5_THRESH = {{field_thresholds[4]}} OBS_VAR5_OPTIONS = convert(x) = 100.0*x; -FCST_VAR6_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge20.32 -FCST_VAR6_LEVELS = A{{accum_hh}} -FCST_VAR6_THRESH = ==0.1 -OBS_VAR6_NAME = {{fieldname_in_obs_input}} -OBS_VAR6_LEVELS = A{{accum_hh}} -OBS_VAR6_THRESH = ge20.32 -OBS_VAR6_OPTIONS = convert(x) = 100.0*x; - # #Process as scalars for neighborhood methods ## Note that the number of forecast and obs thresholds must match ## but won't actually be applied to NBRCNT outputs with "nbrhd.field = OBS;" -#FCST_VAR75_NAME = APCP_A{{accum_no_pad}}_ENS_FREQ_gt0.0 # -FCST_VAR7_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_gt0.0 +FCST_VAR6_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[0]}} +FCST_VAR6_LEVELS = A{{accum_hh}} +FCST_VAR6_THRESH = ==0.1 +FCST_VAR6_OPTIONS = prob = FALSE; +OBS_VAR6_NAME = {{fieldname_in_obs_input}} +OBS_VAR6_LEVELS = A{{accum_hh}} +OBS_VAR6_THRESH = {{field_thresholds[0]}} +OBS_VAR6_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; }; + convert(x) = 100.0*x; + +FCST_VAR7_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[1]}} FCST_VAR7_LEVELS = A{{accum_hh}} FCST_VAR7_THRESH = ==0.1 FCST_VAR7_OPTIONS = prob = FALSE; OBS_VAR7_NAME = {{fieldname_in_obs_input}} OBS_VAR7_LEVELS = A{{accum_hh}} -OBS_VAR7_THRESH = gt0.0 -OBS_VAR7_OPTIONS = convert(x) = 100.0*x; - nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR7_THRESH = {{field_thresholds[1]}} +OBS_VAR7_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; }; + convert(x) = 100.0*x; -FCST_VAR8_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge2.54 +FCST_VAR8_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[2]}} FCST_VAR8_LEVELS = A{{accum_hh}} FCST_VAR8_THRESH = ==0.1 FCST_VAR8_OPTIONS = prob = FALSE; OBS_VAR8_NAME = {{fieldname_in_obs_input}} OBS_VAR8_LEVELS = A{{accum_hh}} -OBS_VAR8_THRESH = ge2.54 -OBS_VAR8_OPTIONS = convert(x) = 100.0*x; - nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR8_THRESH = {{field_thresholds[2]}} +OBS_VAR8_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; }; + convert(x) = 100.0*x; -FCST_VAR9_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge5.08 +FCST_VAR9_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[3]}} FCST_VAR9_LEVELS = A{{accum_hh}} FCST_VAR9_THRESH = ==0.1 FCST_VAR9_OPTIONS = prob = FALSE; OBS_VAR9_NAME = {{fieldname_in_obs_input}} OBS_VAR9_LEVELS = A{{accum_hh}} -OBS_VAR9_THRESH = ge5.08 -OBS_VAR9_OPTIONS = convert(x) = 100.0*x; - nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR9_THRESH = {{field_thresholds[3]}} +OBS_VAR9_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; }; + convert(x) = 100.0*x; -FCST_VAR10_NAME = {FIELDNAME_IN_MET_OUTPUT}_A{{accum_no_pad}}_ENS_FREQ_ge10.16 +FCST_VAR10_NAME = {{fieldname_in_met_output}}_{{accum_hh}}_A{{accum_no_pad}}_ENS_FREQ_{{field_thresholds[4]}} FCST_VAR10_LEVELS = A{{accum_hh}} FCST_VAR10_THRESH = ==0.1 FCST_VAR10_OPTIONS = prob = FALSE; OBS_VAR10_NAME = {{fieldname_in_obs_input}} OBS_VAR10_LEVELS = A{{accum_hh}} -OBS_VAR10_THRESH = ge10.16 -OBS_VAR10_OPTIONS = convert(x) = 100.0*x; - nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; } +OBS_VAR10_THRESH = {{field_thresholds[4]}} +OBS_VAR10_OPTIONS = nbrhd = { field = OBS; shape = SQUARE; width = [ 1 ]; vld_thresh = 1.0; }; + convert(x) = 100.0*x; # # Forecast data time window(s). diff --git a/tests/WE2E/test_configs/verification/config.MET_ensemble_verification_winter_wx.yaml b/tests/WE2E/test_configs/verification/config.MET_ensemble_verification_winter_wx.yaml index 50a91f9f2d..dd3de4e472 100644 --- a/tests/WE2E/test_configs/verification/config.MET_ensemble_verification_winter_wx.yaml +++ b/tests/WE2E/test_configs/verification/config.MET_ensemble_verification_winter_wx.yaml @@ -31,4 +31,4 @@ global: DO_ENSEMBLE: true NUM_ENS_MEMBERS: 10 verification: - VX_FIELDS: [ "APCP", "REFC", "RETOP", "SFC", "UPA", "ASNOW" ] + VX_FIELDS: [ "APCP", "ASNOW", "REFC", "RETOP", "ADPSFC", "ADPUPA" ]