diff --git a/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf b/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf index dfa83ecf4..0a5d9e61f 100644 --- a/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf +++ b/parm/use_cases/met_tool_wrapper/PointStat/PointStat.conf @@ -1,9 +1,28 @@ [config] +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/PointStat/PointStat.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = PointStat + ### # Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control ### LOOP_BY = INIT @@ -14,8 +33,10 @@ INIT_INCREMENT = 1M LEAD_SEQ = 36 + ### # File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info ### FCST_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst @@ -32,8 +53,10 @@ POINT_STAT_CLIMO_MEAN_INPUT_TEMPLATE = POINT_STAT_CLIMO_STDEV_INPUT_DIR = POINT_STAT_CLIMO_STDEV_INPUT_TEMPLATE = + ### # Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info ### POINT_STAT_ONCE_PER_FIELD = False @@ -62,8 +85,10 @@ OBS_VAR3_NAME = VGRD OBS_VAR3_LEVELS = Z10 OBS_VAR3_THRESH = >=5 + ### -# PointStat +# PointStat Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#pointstat ### #LOG_POINT_STAT_VERBOSITY = 2 diff --git a/parm/use_cases/met_tool_wrapper/PointStat/PointStat_once_per_field.conf b/parm/use_cases/met_tool_wrapper/PointStat/PointStat_once_per_field.conf index fb56e2f52..3a1d098f6 100644 --- a/parm/use_cases/met_tool_wrapper/PointStat/PointStat_once_per_field.conf +++ b/parm/use_cases/met_tool_wrapper/PointStat/PointStat_once_per_field.conf @@ -1,120 +1,68 @@ [config] -# List of applications to run - only PointStat for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/PointStat/PointStat_once_per_field.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = PointStat -# time looping - options are INIT, VALID, RETRO, and REALTIME + +### +# Time Info +# LOOP_BY 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 = VALID +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of VALID_BEG and VALID_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 +LOOP_BY = VALID VALID_TIME_FMT = %Y%m%d - -# Start time for METplus run - must match VALID_TIME_FMT VALID_BEG = 20070330 - -# End time for METplus run - must match VALID_TIME_FMT VALID_END = 20070330 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds VALID_INCREMENT = 1M -# 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 = 0 -# 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 = processes -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only -#LOG_POINT_STAT_VERBOSITY = 2 - -# Location of MET config 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 -POINT_STAT_CONFIG_FILE ={PARM_BASE}/met_config/PointStatConfig_wrapped - -POINT_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = NEAREST - -POINT_STAT_INTERP_TYPE_METHOD = BILIN -POINT_STAT_INTERP_TYPE_WIDTH = 2 -POINT_STAT_OUTPUT_FLAG_SL1L2 = STAT -POINT_STAT_OUTPUT_FLAG_VL1L2 = STAT - -# 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 -OBS_POINT_STAT_WINDOW_BEGIN = -5400 -OBS_POINT_STAT_WINDOW_END = 5400 +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### -# Optional list of offsets to look for point observation data -POINT_STAT_OFFSETS = 0 - -# Model/fcst and obs name, e.g. GFS, NAM, GDAS, etc. -MODEL = WRF -OBTYPE = - -#POINT_STAT_DESC = - -# Regrid to specified grid. Indicate NONE if no regridding, or the grid id -# (e.g. G212) -POINT_STAT_REGRID_TO_GRID = NONE -POINT_STAT_REGRID_METHOD = BILIN -POINT_STAT_REGRID_WIDTH = 2 +FCST_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst +FCST_POINT_STAT_INPUT_TEMPLATE = {valid?fmt=%Y%m%d%H}/nam.t00z.awip1236.tm00.{valid?fmt=%Y%m%d}.grb -#POINT_STAT_OUTPUT_PREFIX = {fcst_name?fmt=%s}_{fcst_level?fmt=%s} -POINT_STAT_OUTPUT_PREFIX = {CURRENT_FCST_NAME}_{CURRENT_FCST_LEVEL} +OBS_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/out/pb2nc +OBS_POINT_STAT_INPUT_TEMPLATE = sample_pb.nc -# sets the -obs_valid_beg command line argument (optional) -# not used for this example -#POINT_STAT_OBS_VALID_BEG = {valid?fmt=%Y%m%d_%H} +POINT_STAT_CLIMO_MEAN_INPUT_DIR = +POINT_STAT_CLIMO_MEAN_INPUT_TEMPLATE = -# sets the -obs_valid_end command line argument (optional) -# not used for this example -#POINT_STAT_OBS_VALID_END = {valid?fmt=%Y%m%d_%H} +POINT_STAT_CLIMO_STDEV_INPUT_DIR = +POINT_STAT_CLIMO_STDEV_INPUT_TEMPLATE = -# Verification Masking regions -# Indicate which grid and polygon masking region, if applicable -POINT_STAT_GRID = DTC165, DTC166 +POINT_STAT_OUTPUT_DIR = {OUTPUT_BASE}/point_stat -# List of full path to poly masking files. NOTE: Only short lists of poly -# files work (those that fit on one line), a long list will result in an -# environment variable that is too long, resulting in an error. For long -# lists of poly masking files (i.e. all the mask files in the NCEP_mask -# directory), define these in the MET point_stat configuration file. -POINT_STAT_POLY = MET_BASE/poly/LMV.poly -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 = ADPUPA, ADPSFC -# Variables and levels as specified in the field dictionary of the MET -# point_stat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### -# 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 POINT_STAT_ONCE_PER_FIELD = True -# 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 FCST_VAR1_LEVELS = P750-900 FCST_VAR1_THRESH = <=273, >273 @@ -137,37 +85,46 @@ OBS_VAR3_LEVELS = Z10 OBS_VAR3_THRESH = >=5 -# End of [config] section and start of [dir] section -[dir] -FCST_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst -OBS_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/out/pb2nc +### +# PointStat Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#pointstat +### -# directory containing climatology mean input to PointStat -# Not used in this example -POINT_STAT_CLIMO_MEAN_INPUT_DIR = +#LOG_POINT_STAT_VERBOSITY = 2 -# directory containing climatology mean input to PointStat -# Not used in this example -POINT_STAT_CLIMO_STDEV_INPUT_DIR = +POINT_STAT_CONFIG_FILE ={PARM_BASE}/met_config/PointStatConfig_wrapped +POINT_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = NEAREST -POINT_STAT_OUTPUT_DIR = {OUTPUT_BASE}/point_stat +POINT_STAT_INTERP_TYPE_METHOD = BILIN +POINT_STAT_INTERP_TYPE_WIDTH = 2 +POINT_STAT_OUTPUT_FLAG_SL1L2 = STAT +POINT_STAT_OUTPUT_FLAG_VL1L2 = STAT -# End of [dir] section and start of [filename_templates] section -[filename_templates] +OBS_POINT_STAT_WINDOW_BEGIN = -5400 +OBS_POINT_STAT_WINDOW_END = 5400 -# Template to look for forecast input to PointStat relative to FCST_POINT_STAT_INPUT_DIR -FCST_POINT_STAT_INPUT_TEMPLATE = {valid?fmt=%Y%m%d%H}/nam.t00z.awip1236.tm00.{valid?fmt=%Y%m%d}.grb +POINT_STAT_OFFSETS = 0 -# Template to look for observation input to PointStat relative to OBS_POINT_STAT_INPUT_DIR -OBS_POINT_STAT_INPUT_TEMPLATE = sample_pb.nc +MODEL = WRF +OBTYPE = -# Template to look for climatology input to PointStat relative to POINT_STAT_CLIMO_MEAN_INPUT_DIR -# Not used in this example -POINT_STAT_CLIMO_MEAN_INPUT_TEMPLATE = +#POINT_STAT_DESC = -# Template to look for climatology input to PointStat relative to POINT_STAT_CLIMO_STDEV_INPUT_DIR -# Not used in this example -POINT_STAT_CLIMO_STDEV_INPUT_TEMPLATE = +POINT_STAT_REGRID_TO_GRID = NONE +POINT_STAT_REGRID_METHOD = BILIN +POINT_STAT_REGRID_WIDTH = 2 +#POINT_STAT_OUTPUT_PREFIX = {fcst_name?fmt=%s}_{fcst_level?fmt=%s} +POINT_STAT_OUTPUT_PREFIX = {CURRENT_FCST_NAME}_{CURRENT_FCST_LEVEL} + +#POINT_STAT_OBS_VALID_BEG = {valid?fmt=%Y%m%d_%H} +#POINT_STAT_OBS_VALID_END = {valid?fmt=%Y%m%d_%H} + +POINT_STAT_GRID = DTC165, DTC166 +POINT_STAT_POLY = MET_BASE/poly/LMV.poly + +POINT_STAT_STATION_ID = + +POINT_STAT_MESSAGE_TYPE = ADPUPA, ADPSFC diff --git a/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding.conf b/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding.conf index 7e07e8624..e22eae519 100644 --- a/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding.conf +++ b/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding.conf @@ -1,53 +1,82 @@ [config] -# List of applications to run - only PointStat for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/PointStat/PointStat_python_embedding.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = PointStat -# time looping - options are INIT, VALID, RETRO, and REALTIME + +### +# Time Info +# LOOP_BY 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 = VALID +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of VALID_BEG and VALID_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 +LOOP_BY = VALID VALID_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match VALID_TIME_FMT VALID_BEG = 2020090606 - -# End time for METplus run - must match VALID_TIME_FMT VALID_END = 2020090606 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds VALID_INCREMENT = 1M -# 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 = 0H -# 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 = processes -# Verbosity of MET output - overrides LOG_VERBOSITY for PointStat only + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + +FCST_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/new/point_stat_input/vvwind +FCST_POINT_STAT_INPUT_TEMPLATE = PYTHON_NUMPY + +OBS_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/new/point_stat_input/prepbufr +OBS_POINT_STAT_INPUT_TEMPLATE = gdas.{valid?fmt=%Y%m%d}.t{valid?fmt=%H}z.nc + +POINT_STAT_CLIMO_MEAN_INPUT_DIR = +POINT_STAT_CLIMO_MEAN_INPUT_TEMPLATE = + +POINT_STAT_CLIMO_STDEV_INPUT_DIR = +POINT_STAT_CLIMO_STDEV_INPUT_TEMPLATE = + +POINT_STAT_OUTPUT_DIR = {OUTPUT_BASE}/point_stat_py_embed + + +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### + +POINT_STAT_ONCE_PER_FIELD = False + +SCRIPT_DIR = {PARM_BASE}/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding +FCST_VAR1_NAME = {SCRIPT_DIR}/read_NRL_binary.py {FCST_POINT_STAT_INPUT_DIR}/vvwind_zht_0010.0_0000.0_glob360x181_{init?fmt=%Y%m%d%H}_{lead?fmt=%4H}0000_fcstfld + +OBS_VAR1_NAME = VGRD +OBS_VAR1_LEVELS = Z0 + + +### +# PointStat Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#pointstat +### + #LOG_POINT_STAT_VERBOSITY = 2 -# Location of MET config file to pass to GridStat -# References PARM_BASE which is the location of the parm directory corresponding -# to the ush directory of the master_metplus.py script that is called -# or the value of the environment variable METPLUS_PARM_BASE if set POINT_STAT_CONFIG_FILE ={PARM_BASE}/met_config/PointStatConfig_wrapped POINT_STAT_CLIMO_MEAN_TIME_INTERP_METHOD = NEAREST @@ -58,15 +87,11 @@ POINT_STAT_INTERP_TYPE_WIDTH = 2 POINT_STAT_OUTPUT_FLAG_SL1L2 = STAT POINT_STAT_OUTPUT_FLAG_VL1L2 = STAT -# 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 OBS_POINT_STAT_WINDOW_BEGIN = -5400 OBS_POINT_STAT_WINDOW_END = 5400 -# Optional list of offsets to look for point observation data POINT_STAT_OFFSETS = 0 -# Model/fcst and obs name, e.g. GFS, NAM, GDAS, etc. #MODEL = #POINT_STAT_DESC = NA @@ -77,79 +102,12 @@ POINT_STAT_OFFSETS = 0 POINT_STAT_OUTPUT_PREFIX = -# sets the -obs_valid_beg command line argument (optional) -# not used for this example #POINT_STAT_OBS_VALID_BEG = {valid?fmt=%Y%m%d_%H} - -# sets the -obs_valid_end command line argument (optional) -# not used for this example #POINT_STAT_OBS_VALID_END = {valid?fmt=%Y%m%d_%H} -# Verification Masking regions -# Indicate which grid and polygon masking region, if applicable POINT_STAT_GRID = FULL -# List of full path to poly masking files. NOTE: Only short lists of poly -# files work (those that fit on one line), a long list will result in an -# environment variable that is too long, resulting in an error. For long -# lists of poly masking files (i.e. all the mask files in the NCEP_mask -# directory), define these in the MET point_stat configuration file. POINT_STAT_POLY = 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 = ADPUPA - -# Variables and levels as specified in the field dictionary of the MET -# point_stat configuration file. Specify as FCST_VARn_NAME, FCST_VARn_LEVELS, -# (optional) FCST_VARn_OPTION - -# 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 -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 -SCRIPT_DIR = {PARM_BASE}/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding -FCST_VAR1_NAME = {SCRIPT_DIR}/read_NRL_binary.py {FCST_POINT_STAT_INPUT_DIR}/vvwind_zht_0010.0_0000.0_glob360x181_{init?fmt=%Y%m%d%H}_{lead?fmt=%4H}0000_fcstfld - -OBS_VAR1_NAME = VGRD -OBS_VAR1_LEVELS = Z0 - - -# End of [config] section and start of [dir] section -[dir] -FCST_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/new/point_stat_input/vvwind -OBS_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/new/point_stat_input/prepbufr - -# directory containing climatology mean input to PointStat -# Not used in this example -POINT_STAT_CLIMO_MEAN_INPUT_DIR = - -# directory containing climatology mean input to PointStat -# Not used in this example -POINT_STAT_CLIMO_STDEV_INPUT_DIR = - - -POINT_STAT_OUTPUT_DIR = {OUTPUT_BASE}/point_stat_py_embed - - -# End of [dir] section and start of [filename_templates] section -[filename_templates] - -# Template to look for forecast input to PointStat relative to FCST_POINT_STAT_INPUT_DIR -FCST_POINT_STAT_INPUT_TEMPLATE = PYTHON_NUMPY - -# Template to look for observation input to PointStat relative to OBS_POINT_STAT_INPUT_DIR -OBS_POINT_STAT_INPUT_TEMPLATE = gdas.{valid?fmt=%Y%m%d}.t{valid?fmt=%H}z.nc - -# Template to look for climatology input to PointStat relative to POINT_STAT_CLIMO_MEAN_INPUT_DIR -# Not used in this example -POINT_STAT_CLIMO_MEAN_INPUT_TEMPLATE = - -# Template to look for climatology input to PointStat relative to POINT_STAT_CLIMO_STDEV_INPUT_DIR -# Not used in this example -POINT_STAT_CLIMO_STDEV_INPUT_TEMPLATE = - diff --git a/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding_obs.conf b/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding_obs.conf index 2b0bdfc80..96af438ba 100644 --- a/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding_obs.conf +++ b/parm/use_cases/met_tool_wrapper/PointStat/PointStat_python_embedding_obs.conf @@ -1,9 +1,28 @@ [config] +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/PointStat/PointStat_python_embedding_obs.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = PointStat + ### # Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control ### LOOP_BY = INIT @@ -14,8 +33,10 @@ INIT_INCREMENT = 1M LEAD_SEQ = 36 + ### # File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info ### FCST_POINT_STAT_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst @@ -32,8 +53,10 @@ POINT_STAT_CLIMO_MEAN_INPUT_TEMPLATE = POINT_STAT_CLIMO_STDEV_INPUT_DIR = POINT_STAT_CLIMO_STDEV_INPUT_TEMPLATE = + ### # Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info ### POINT_STAT_ONCE_PER_FIELD = False @@ -62,8 +85,10 @@ OBS_VAR3_NAME = VGRD OBS_VAR3_LEVELS = Z10 OBS_VAR3_THRESH = >=5 + ### -# PointStat +# PointStat Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#pointstat ### #LOG_POINT_STAT_VERBOSITY = 2 diff --git a/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest.conf b/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest.conf index 779d02572..6114202c6 100644 --- a/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest.conf +++ b/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest.conf @@ -1,72 +1,57 @@ -# PyEmbedIngest wrapper example - [config] -# Options are times, processes -# times = run all items in the PROCESS_LIST for a single initialization -# time, then repeat until all times have been evaluated. -# processes = run each item in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST. -LOOP_ORDER = times -# time looping - options are INIT, VALID, RETRO, and REALTIME -LOOP_BY = VALID +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest.html -# Format of VALID_BEG and VALID_END -VALID_TIME_FMT = %Y%m%d%H +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide -# Start time for METplus run -VALID_BEG = 2013022712 +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + +PROCESS_LIST = PyEmbedIngest -# End time for METplus run -VALID_END = 2013022712 -# Increment between METplus runs in seconds. Must be >= 60 +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### + +LOOP_BY = VALID +VALID_TIME_FMT = %Y%m%d%H +VALID_BEG = 2013022712 +VALID_END = 2013022712 VALID_INCREMENT = 21600 -# list of forecast leads to process LEAD_SEQ = 0 -# List of applications to run -PROCESS_LIST = PyEmbedIngest +LOOP_ORDER = times -# 1st INGEST INSTANCE -# python script with optional arguments to run for 1st ingest instance -PY_EMBED_INGEST_1_SCRIPT = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/obs.txt OBS +### +# PyEmbedIngest Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#pyembedingest +### -# type of python input to expect for 1st ingest instance -# valid options: NUMPY, XARRAY -PY_EMBED_INGEST_1_TYPE = NUMPY +PY_EMBED_INGEST_1_OUTPUT_DIR = +PY_EMBED_INGEST_1_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/test.nc -# output grid for 1st ingest instance. Can be a grid definition or file path +PY_EMBED_INGEST_1_SCRIPT = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/obs.txt OBS +PY_EMBED_INGEST_1_TYPE = NUMPY PY_EMBED_INGEST_1_OUTPUT_GRID = G130 -# 2nd INGEST INSTANCE -# python script with optional arguments to run for 2nd ingest instance -PY_EMBED_INGEST_2_SCRIPT = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/fcst.txt FCST +PY_EMBED_INGEST_2_OUTPUT_DIR = +PY_EMBED_INGEST_2_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/regrid_data_plane.nc -# type of python input to expect for 2nd ingest instance -# valid options: NUMPY, XARRAY +PY_EMBED_INGEST_2_SCRIPT = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/fcst.txt FCST PY_EMBED_INGEST_2_TYPE = NUMPY - -# output grid for 2nd ingest instance. Can be a grid definition or file path PY_EMBED_INGEST_2_OUTPUT_GRID = G130 - -[dir] -# output directory for 1st ingest instance -# in this example, the full output path is set in PY_EMBED_INGEST_1_OUTPUT_TEMPLATE -PY_EMBED_INGEST_1_OUTPUT_DIR = - -# output directory for 2nd ingest instance -# in this example, the full output path is set in PY_EMBED_INGEST_2_OUTPUT_TEMPLATE -PY_EMBED_INGEST_2_OUTPUT_DIR = - -[filename_templates] -# output template to use for 1st ingest instance -# can optionally use [dir] PY_EMBED_INGEST_1_OUTPUT_DIR with this value -PY_EMBED_INGEST_1_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/test.nc - -# output template to use for 2nd ingest instance -# can optionally use [dir] PY_EMBED_INGEST_2_OUTPUT_DIR with this value -PY_EMBED_INGEST_2_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/regrid_data_plane.nc diff --git a/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest_multi_field_one_file.conf b/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest_multi_field_one_file.conf index 61e896354..5f432ae4a 100644 --- a/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest_multi_field_one_file.conf +++ b/parm/use_cases/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest_multi_field_one_file.conf @@ -1,78 +1,62 @@ -# PyEmbedIngest wrapper example - [config] -# Options are times, processes -# times = run all items in the PROCESS_LIST for a single initialization -# time, then repeat until all times have been evaluated. -# processes = run each item in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST. -LOOP_ORDER = times -# time looping - options are INIT, VALID, RETRO, and REALTIME -LOOP_BY = VALID +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/PyEmbedIngest/PyEmbedIngest_multi_field_one_file.html -# Format of VALID_BEG and VALID_END -VALID_TIME_FMT = %Y%m%d%H +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide -# Start time for METplus run -VALID_BEG = 2013022712 +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + +PROCESS_LIST = PyEmbedIngest -# End time for METplus run -VALID_END = 2013022712 -# Increment between METplus runs in seconds. Must be >= 60 +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### + +LOOP_BY = VALID +VALID_TIME_FMT = %Y%m%d%H +VALID_BEG = 2013022712 +VALID_END = 2013022712 VALID_INCREMENT = 21600 -# list of forecast leads to process LEAD_SEQ = 0 -# List of applications to run -PROCESS_LIST = PyEmbedIngest +LOOP_ORDER = times -# 1st INGEST INSTANCE -# python script with optional arguments to run for 1st ingest instance -# this ingest instance runs 1 scripts to generate 1 field -PY_EMBED_INGEST_1_SCRIPT_1 = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/fcst.txt FCST +### +# PyEmbedIngest Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#pyembedingest +### -# type of python input to expect for 1st ingest instance -# valid options: NUMPY, XARRAY -PY_EMBED_INGEST_1_TYPE = NUMPY +PY_EMBED_INGEST_1_OUTPUT_DIR = +PY_EMBED_INGEST_1_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/test.nc -# output grid for 1st ingest instance. Can be a grid definition or file path +PY_EMBED_INGEST_1_SCRIPT_1 = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/fcst.txt FCST +PY_EMBED_INGEST_1_TYPE = NUMPY PY_EMBED_INGEST_1_OUTPUT_GRID = G130 -# 2nd INGEST INSTANCE -# python script with optional arguments to run for 2nd ingest instance -# this ingest instance runs 2 scripts to generate 2 fields +PY_EMBED_INGEST_2_OUTPUT_DIR = +PY_EMBED_INGEST_2_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/regrid_data_plane.nc + PY_EMBED_INGEST_2_SCRIPT_1 = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/fcst.txt FCST PY_EMBED_INGEST_2_OUTPUT_FIELD_NAME_1 = Forecast PY_EMBED_INGEST_2_SCRIPT_2 = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/obs.txt OBS PY_EMBED_INGEST_2_OUTPUT_FIELD_NAME_2 = Observation -# type of python input to expect for 2nd ingest instance -# valid options: NUMPY, XARRAY PY_EMBED_INGEST_2_TYPE = NUMPY - -# output grid for 2nd ingest instance. Can be a grid definition or file path PY_EMBED_INGEST_2_OUTPUT_GRID = G130 - -[dir] -# output directory for 1st ingest instance -# in this example, the full output path is set in PY_EMBED_INGEST_1_OUTPUT_TEMPLATE -PY_EMBED_INGEST_1_OUTPUT_DIR = - -# output directory for 2nd ingest instance -# in this example, the full output path is set in PY_EMBED_INGEST_2_OUTPUT_TEMPLATE -PY_EMBED_INGEST_2_OUTPUT_DIR = - -[filename_templates] -# output template to use for 1st ingest instance -# can optionally use [dir] PY_EMBED_INGEST_1_OUTPUT_DIR with this value -PY_EMBED_INGEST_1_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/test.nc - -# output template to use for 2nd ingest instance -# can optionally use [dir] PY_EMBED_INGEST_2_OUTPUT_DIR with this value -PY_EMBED_INGEST_2_OUTPUT_TEMPLATE = {OUTPUT_BASE}/met_tool_wrapper/PyEmbedIngest/regrid_data_plane.nc diff --git a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane.conf b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane.conf index 7a46f4291..d228cd7b6 100644 --- a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane.conf +++ b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane.conf @@ -1,103 +1,81 @@ [config] -# List of applications to run - only RegridDataPlane for this case + +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/RegridDataPlane/RegridDataPlane.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = RegridDataPlane -# time looping - options are INIT, VALID, RETRO, and REALTIME + +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of INIT_BEG and INT_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 +LOOP_BY = INIT INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT INIT_BEG=2005080700 - -# End time for METplus run - must match INIT_TIME_FMT INIT_END=2005080700 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds INIT_INCREMENT = 1M -# 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 = 3H -# 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 -# If True, run regrid_data_plane on observation data + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + OBS_REGRID_DATA_PLANE_RUN = True -# name of input field to process -# if unset, OBS_VAR1_NAME will be used -OBS_REGRID_DATA_PLANE_VAR1_INPUT_FIELD_NAME = APCP +OBS_REGRID_DATA_PLANE_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_obs/ST2ml -# level of input field to process -# if unset, OBS_VAR1_LEVELS will be used -OBS_REGRID_DATA_PLANE_VAR1_INPUT_LEVEL = A01 +OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/regrid_data_plane + +OBS_REGRID_DATA_PLANE_TEMPLATE = ST2ml{valid?fmt=%Y%m%d%H}.Grb_G212 -# name of output field to create -# if unset, OBS_VAR1_NAME and OBS_VAR1_LEVELS will be combined to generate an output field name -OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = APCP_01 -# If running a MET tool comparison tool after RegridDataPlane, one can instead set OBS_VAR1_[NAME/LEVELS] to -# a value that corresponds to the desired name/level to use in the comparison -# this value will be used to determine output name/level to pass to RegridDataPlane as well -#OBS_VAR1_NAME = APCP -#OBS_VAR1_LEVELS = A01 +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### + +OBS_REGRID_DATA_PLANE_VAR1_INPUT_FIELD_NAME = APCP +OBS_REGRID_DATA_PLANE_VAR1_INPUT_LEVEL = A01 +OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = APCP_01 -# If true, process each field individually and write a file for each -# If false, run once per run time passing in all fields specified REGRID_DATA_PLANE_ONCE_PER_FIELD = True -# Name to identify model data in output -MODEL = QPF -# Name to identify observation data in output +### +# RegridDataPlane Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#regriddataplane +### + +MODEL = QPF OBTYPE = QPE -# Used by regrid_data_plane to remap data REGRID_DATA_PLANE_VERIF_GRID={INPUT_BASE}/met_test/data/sample_fcst/2005080700/wrfprs_ruc13_12.tm00_G212 -# method to run regrid_data_plane, not setting this will default to NEAREST REGRID_DATA_PLANE_METHOD = BUDGET -# regridding width used in regrid_data_plane, not setting this will default to 1 REGRID_DATA_PLANE_WIDTH = 2 -# Gaussian filter DX value to add as command line argument - not added if unset or blank REGRID_DATA_PLANE_GAUSSIAN_DX = -# Gaussian filter radius value to add as command line argument - not added if unset or blank REGRID_DATA_PLANE_GAUSSIAN_RADIUS = - -# End of [config] section and start of [dir] section -[dir] -# directory containing observation input to RegridDataPlane -OBS_REGRID_DATA_PLANE_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_obs/ST2ml - -# directory to write observation output from RegridDataPlane -OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/regrid_data_plane - - -# End of [dir] section and start of [filename_templates] section -[filename_templates] -# template to use to read input data and write output data for RegridDataPlane -# if different names for input and output are desired, set OBS_REGRID_DATA_PLANE_INPUT_TEMPLATE -# and OBS_REGRID_DATA_PLANE_OUTPUT_TEMPLATE instead -OBS_REGRID_DATA_PLANE_TEMPLATE = ST2ml{valid?fmt=%Y%m%d%H}.Grb_G212 diff --git a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_multi_file.conf b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_multi_file.conf index e0beea0ab..dff538882 100644 --- a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_multi_file.conf +++ b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_multi_file.conf @@ -1,106 +1,84 @@ [config] -# List of applications to run - only RegridDataPlane for this case + +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_multi_file.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = RegridDataPlane -# time looping - options are INIT, VALID, RETRO, and REALTIME + +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of INIT_BEG and INT_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 +LOOP_BY = INIT INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT INIT_BEG=2005080700 - -# End time for METplus run - must match INIT_TIME_FMT INIT_END=2005080700 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds INIT_INCREMENT = 1M -# 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 = 3H -# 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 -# If True, run regrid_data_plane on observation data + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + OBS_REGRID_DATA_PLANE_RUN = True -# name of input field to process -# if unset, OBS_VAR1_NAME will be used -OBS_REGRID_DATA_PLANE_VAR1_INPUT_FIELD_NAME = APCP -OBS_REGRID_DATA_PLANE_VAR2_INPUT_FIELD_NAME = TMP +OBS_REGRID_DATA_PLANE_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst +OBS_REGRID_DATA_PLANE_INPUT_TEMPLATE = {init?fmt=%Y%m%d%H}/wrfprs_ruc13_{lead?fmt=%2H}.tm00_G212 -# level of input field to process -# if unset, OBS_VAR1_LEVELS will be used -OBS_REGRID_DATA_PLANE_VAR1_INPUT_LEVEL = L0 -OBS_REGRID_DATA_PLANE_VAR2_INPUT_LEVEL = L0 +OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/RegridDataPlane/multi_field_multi_file +OBS_REGRID_DATA_PLANE_OUTPUT_TEMPLATE = {init?fmt=%Y%m%d%H}/wrfprs_{obs_name}_{lead?fmt=%2H}.tm00_G212 -# name of output field to create -# if unset, OBS_VAR1_NAME and OBS_VAR1_LEVELS will be combined to generate an output field name -OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = APCP_01 -# If true, process each field individually and write a file for each -# If false, run once per run time passing in all fields specified +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### + REGRID_DATA_PLANE_ONCE_PER_FIELD = True -# If running a MET tool comparison tool after RegridDataPlane, one can instead set OBS_VAR1_[NAME/LEVELS] to -# a value that corresponds to the desired name/level to use in the comparison -# this value will be used to determine output name/level to pass to RegridDataPlane as well -#OBS_VAR1_NAME = APCP -#OBS_VAR1_LEVELS = A01 +OBS_REGRID_DATA_PLANE_VAR1_INPUT_FIELD_NAME = APCP +OBS_REGRID_DATA_PLANE_VAR1_INPUT_LEVEL = L0 +OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = APCP_01 + +OBS_REGRID_DATA_PLANE_VAR2_INPUT_FIELD_NAME = TMP +OBS_REGRID_DATA_PLANE_VAR2_INPUT_LEVEL = L0 -# Name to identify model data in output -MODEL = QPF -# Name to identify observation data in output +### +# RegridDataPlane Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#regriddataplane +### + +MODEL = QPF OBTYPE = QPE -# Used by regrid_data_plane to remap data REGRID_DATA_PLANE_VERIF_GRID={INPUT_BASE}/met_test/data/sample_obs/ST2ml/ST2ml2005080703.Grb_G212 -# method to run regrid_data_plane, not setting this will default to NEAREST REGRID_DATA_PLANE_METHOD = BUDGET -# regridding width used in regrid_data_plane, not setting this will default to 1 REGRID_DATA_PLANE_WIDTH = 2 -# Gaussian filter DX value to add as command line argument - not added if unset or blank REGRID_DATA_PLANE_GAUSSIAN_DX = -# Gaussian filter radius value to add as command line argument - not added if unset or blank REGRID_DATA_PLANE_GAUSSIAN_RADIUS = - -# End of [config] section and start of [dir] section -[dir] -# directory containing observation input to RegridDataPlane -OBS_REGRID_DATA_PLANE_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst - -# directory to write observation output from RegridDataPlane -OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/RegridDataPlane/multi_field_multi_file - - -# End of [dir] section and start of [filename_templates] section -[filename_templates] -# template to use to read input data and write output data for RegridDataPlane -# if different names for input and output are desired, set OBS_REGRID_DATA_PLANE_INPUT_TEMPLATE -# and OBS_REGRID_DATA_PLANE_OUTPUT_TEMPLATE instead -OBS_REGRID_DATA_PLANE_INPUT_TEMPLATE = {init?fmt=%Y%m%d%H}/wrfprs_ruc13_{lead?fmt=%2H}.tm00_G212 -OBS_REGRID_DATA_PLANE_OUTPUT_TEMPLATE = {init?fmt=%Y%m%d%H}/wrfprs_{obs_name}_{lead?fmt=%2H}.tm00_G212 \ No newline at end of file diff --git a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_one_file.conf b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_one_file.conf index 06ab505ac..f62044060 100644 --- a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_one_file.conf +++ b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_one_file.conf @@ -1,104 +1,84 @@ [config] -# List of applications to run - only RegridDataPlane for this case + +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/RegridDataPlane/RegridDataPlane_multi_field_one_file.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = RegridDataPlane -# time looping - options are INIT, VALID, RETRO, and REALTIME + +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of INIT_BEG and INT_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 +LOOP_BY = INIT INIT_TIME_FMT = %Y%m%d%H - -# Start time for METplus run - must match INIT_TIME_FMT INIT_BEG=2005080700 - -# End time for METplus run - must match INIT_TIME_FMT INIT_END=2005080700 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds INIT_INCREMENT = 1M -# 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 = 3H -# 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 -# If True, run regrid_data_plane on observation data + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + OBS_REGRID_DATA_PLANE_RUN = True -# name of input field to process -# if unset, OBS_VAR1_NAME will be used -OBS_REGRID_DATA_PLANE_VAR1_INPUT_FIELD_NAME = APCP -OBS_REGRID_DATA_PLANE_VAR2_INPUT_FIELD_NAME = TMP +OBS_REGRID_DATA_PLANE_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst -# level of input field to process -# if unset, OBS_VAR1_LEVELS will be used -OBS_REGRID_DATA_PLANE_VAR1_INPUT_LEVEL = L0 -OBS_REGRID_DATA_PLANE_VAR2_INPUT_LEVEL = L0 +OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/RegridDataPlane/multi_field_one_file -# name of output field to create -# if unset, OBS_VAR1_NAME and OBS_VAR1_LEVELS will be combined to generate an output field name -OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = APCP_01 +OBS_REGRID_DATA_PLANE_TEMPLATE = {init?fmt=%Y%m%d%H}/wrfprs_ruc13_{lead?fmt=%2H}.tm00_G212 + + +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### -# If true, process each field individually and write a file for each -# If false, run once per run time passing in all fields specified REGRID_DATA_PLANE_ONCE_PER_FIELD = False -# If running a MET tool comparison tool after RegridDataPlane, one can instead set OBS_VAR1_[NAME/LEVELS] to -# a value that corresponds to the desired name/level to use in the comparison -# this value will be used to determine output name/level to pass to RegridDataPlane as well -#OBS_VAR1_NAME = APCP -#OBS_VAR1_LEVELS = A01 +OBS_REGRID_DATA_PLANE_VAR1_INPUT_FIELD_NAME = APCP +OBS_REGRID_DATA_PLANE_VAR1_INPUT_LEVEL = L0 +OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = APCP_01 -# Name to identify model data in output -MODEL = QPF +OBS_REGRID_DATA_PLANE_VAR2_INPUT_FIELD_NAME = TMP +OBS_REGRID_DATA_PLANE_VAR2_INPUT_LEVEL = L0 -# Name to identify observation data in output + +### +# RegridDataPlane Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#regriddataplane +### + +MODEL = QPF OBTYPE = QPE -# Used by regrid_data_plane to remap data REGRID_DATA_PLANE_VERIF_GRID={INPUT_BASE}/met_test/data/sample_obs/ST2ml/ST2ml2005080703.Grb_G212 -# method to run regrid_data_plane, not setting this will default to NEAREST REGRID_DATA_PLANE_METHOD = BUDGET -# regridding width used in regrid_data_plane, not setting this will default to 1 REGRID_DATA_PLANE_WIDTH = 2 -# Gaussian filter DX value to add as command line argument - not added if unset or blank REGRID_DATA_PLANE_GAUSSIAN_DX = -# Gaussian filter radius value to add as command line argument - not added if unset or blank REGRID_DATA_PLANE_GAUSSIAN_RADIUS = - -# End of [config] section and start of [dir] section -[dir] -# directory containing observation input to RegridDataPlane -OBS_REGRID_DATA_PLANE_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst - -# directory to write observation output from RegridDataPlane -OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/RegridDataPlane/multi_field_one_file - -# End of [dir] section and start of [filename_templates] section -[filename_templates] -# template to use to read input data and write output data for RegridDataPlane -# if different names for input and output are desired, set OBS_REGRID_DATA_PLANE_INPUT_TEMPLATE -# and OBS_REGRID_DATA_PLANE_OUTPUT_TEMPLATE instead -OBS_REGRID_DATA_PLANE_TEMPLATE = {init?fmt=%Y%m%d%H}/wrfprs_ruc13_{lead?fmt=%2H}.tm00_G212 \ No newline at end of file diff --git a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_python_embedding.conf b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_python_embedding.conf index 4f0e6dd08..31b294421 100644 --- a/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_python_embedding.conf +++ b/parm/use_cases/met_tool_wrapper/RegridDataPlane/RegridDataPlane_python_embedding.conf @@ -1,63 +1,76 @@ [config] -# List of applications to run + +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/RegridDataPlane/RegridDataPlane_python_embedding.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = RegridDataPlane -# time looping - options are INIT, VALID, RETRO, and REALTIME -LOOP_BY = INIT -# Format of INIT_BEG and INT_END -INIT_TIME_FMT = %Y%m%d%H +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Start time for METplus run +LOOP_BY = INIT +INIT_TIME_FMT = %Y%m%d%H INIT_BEG=2005080700 - -# End time for METplus run INIT_END=2005080700 - -# Increment between METplus runs in seconds. Must be >= 60 INIT_INCREMENT=43200 -# List of forecast leads to process LEAD_SEQ = 3 -# Options are times, processes -# times = run all items in the PROCESS_LIST for a single initialization -# time, then repeat until all times have been evaluated. -# processes = run each item in the PROCESS_LIST for all times -# specified, then repeat for the next item in the PROCESS_LIST. LOOP_ORDER = times -# run regrid_data_plane on observation data + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + OBS_REGRID_DATA_PLANE_RUN = True -# List of variables to compare -OBS_VAR1_NAME = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/obs.txt OBS +OBS_REGRID_DATA_PLANE_INPUT_DIR = +OBS_REGRID_DATA_PLANE_INPUT_TEMPLATE = PYTHON_NUMPY -OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = OBS +OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/RegridDataPlane/regrid_py +OBS_REGRID_DATA_PLANE_OUTPUT_TEMPLATE = numpy_data.nc + + +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### -# If true, process each field individually and write a file for each -# If false, run once per run time passing in all fields specified REGRID_DATA_PLANE_ONCE_PER_FIELD = True -# Name to identify model data in output -MODEL = FCST +OBS_VAR1_NAME = {INPUT_BASE}/met_test/scripts/python/read_ascii_numpy.py {INPUT_BASE}/met_test/data/python/obs.txt OBS +OBS_REGRID_DATA_PLANE_VAR1_OUTPUT_FIELD_NAME = OBS -# Name to identify observation data in output + +### +# RegridDataPlane Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#regriddataplane +### + +MODEL = FCST OBTYPE = OBS -# Used by regrid_data_plane to remap data REGRID_DATA_PLANE_VERIF_GRID = G130 -# method to run regrid_data_plane, not setting this will default to NEAREST REGRID_DATA_PLANE_METHOD = BUDGET -# regridding width used in regrid_data_plane, not setting this will default to 1 REGRID_DATA_PLANE_WIDTH = 2 - -[dir] -OBS_REGRID_DATA_PLANE_INPUT_DIR = -OBS_REGRID_DATA_PLANE_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/RegridDataPlane/regrid_py - -[filename_templates] -OBS_REGRID_DATA_PLANE_INPUT_TEMPLATE = PYTHON_NUMPY -OBS_REGRID_DATA_PLANE_OUTPUT_TEMPLATE = numpy_data.nc \ No newline at end of file diff --git a/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf b/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf index d8270034e..5d361be2b 100644 --- a/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf +++ b/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.conf @@ -1,11 +1,32 @@ [config] +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = SeriesAnalysis + ### # Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control ### +SERIES_ANALYSIS_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID + LOOP_BY = INIT INIT_TIME_FMT = %Y%m%d%H INIT_BEG=2005080700 @@ -14,7 +35,6 @@ INIT_INCREMENT = 12H LEAD_SEQ = 12, 9, 6 -SERIES_ANALYSIS_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID SERIES_ANALYSIS_RUN_ONCE_PER_STORM_ID = False @@ -22,6 +42,7 @@ SERIES_ANALYSIS_CUSTOM_LOOP_LIST = ### # File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info ### FCST_SERIES_ANALYSIS_INPUT_DIR = {INPUT_BASE}/met_test/data/sample_fcst @@ -45,11 +66,9 @@ SERIES_ANALYSIS_CLIMO_STDEV_INPUT_TEMPLATE = ### # Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info ### -MODEL = WRF -OBTYPE = MC_PCP - #FCST_CAT_THRESH = #OBS_CAT_THRESH = @@ -61,10 +80,15 @@ OBS_VAR1_LEVELS = "(*,*)" BOTH_VAR1_THRESH = gt12.7, gt25.4, gt50.8, gt76.2 + ### -# SeriesAnalysis +# SeriesAnalysis Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#seriesanalysis ### +MODEL = WRF +OBTYPE = MC_PCP + #LOG_SERIES_ANALYSIS_VERBOSITY = 2 SERIES_ANALYSIS_CONFIG_FILE = {PARM_BASE}/met_config/SeriesAnalysisConfig_wrapped @@ -134,7 +158,7 @@ SERIES_ANALYSIS_OUTPUT_STATS_CNT = TOTAL, RMSE, FBAR, OBAR ### -# Plotting +# SeriesAnalysis Plotting ### SERIES_ANALYSIS_GENERATE_PLOTS = no @@ -142,4 +166,3 @@ SERIES_ANALYSIS_GENERATE_PLOTS = no PLOT_DATA_PLANE_TITLE = SERIES_ANALYSIS_GENERATE_ANIMATIONS = no - diff --git a/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis_python_embedding.conf b/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis_python_embedding.conf index 39e943fd5..097267655 100644 --- a/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis_python_embedding.conf +++ b/parm/use_cases/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis_python_embedding.conf @@ -1,24 +1,82 @@ -# SeriesAnalysis using Python Embedding METplus Configuration - [config] +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/SeriesAnalysis/SeriesAnalysis_python_embedding.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = SeriesAnalysis -LOOP_ORDER = processes -LOOP_BY = INIT +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -INIT_TIME_FMT = %Y%m%d%H +SERIES_ANALYSIS_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID +LOOP_BY = INIT +INIT_TIME_FMT = %Y%m%d%H INIT_BEG=2005080700 - INIT_END=2005080700 - INIT_INCREMENT = 12H LEAD_SEQ = 12 -SERIES_ANALYSIS_CUSTOM_LOOP_LIST = +LOOP_ORDER = processes + +SERIES_ANALYSIS_CUSTOM_LOOP_LIST = + + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + +FCST_SERIES_ANALYSIS_INPUT_DIR = {INPUT_BASE}/met_test/data/python +FCST_SERIES_ANALYSIS_INPUT_TEMPLATE = fcst.txt, fcst.txt +FCST_SERIES_ANALYSIS_INPUT_DATATYPE = PYTHON_NUMPY + +OBS_SERIES_ANALYSIS_INPUT_DIR = {INPUT_BASE}/met_test/data/python +OBS_SERIES_ANALYSIS_INPUT_TEMPLATE = obs.txt, obs.txt +OBS_SERIES_ANALYSIS_INPUT_DATATYPE = PYTHON_NUMPY + +SERIES_ANALYSIS_CLIMO_MEAN_INPUT_DIR = +SERIES_ANALYSIS_CLIMO_MEAN_INPUT_TEMPLATE = + +SERIES_ANALYSIS_CLIMO_STDEV_INPUT_DIR = +SERIES_ANALYSIS_CLIMO_STDEV_INPUT_TEMPLATE = + +SERIES_ANALYSIS_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/SeriesAnalysis +SERIES_ANALYSIS_OUTPUT_TEMPLATE = python_sa.nc + + +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### + +FCST_VAR1_NAME = {MET_INSTALL_DIR}/share/met/python/read_ascii_numpy.py MET_PYTHON_INPUT_ARG FCST + +OBS_VAR1_NAME = {MET_INSTALL_DIR}/share/met/python/read_ascii_numpy.py MET_PYTHON_INPUT_ARG OBS + + +### +# SeriesAnalysis Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#seriesanalysis +### SERIES_ANALYSIS_DESC = @@ -36,15 +94,13 @@ SERIES_ANALYSIS_REGRID_WIDTH = SERIES_ANALYSIS_REGRID_VLD_THRESH = SERIES_ANALYSIS_REGRID_SHAPE = -SERIES_ANALYSIS_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID - SERIES_ANALYSIS_RUN_ONCE_PER_STORM_ID = False #LOG_SERIES_ANALYSIS_VERBOSITY = 2 SERIES_ANALYSIS_IS_PAIRED = False -SERIES_ANALYSIS_CONFIG_FILE = {CONFIG_DIR}/SeriesAnalysisConfig_wrapped +SERIES_ANALYSIS_CONFIG_FILE = {PARM_BASE}/met_config/SeriesAnalysisConfig_wrapped SERIES_ANALYSIS_STAT_LIST = TOTAL, RMSE, FBAR, OBAR @@ -52,36 +108,3 @@ MODEL = PYTHON OBTYPE = ANALYS -FCST_SERIES_ANALYSIS_INPUT_DATATYPE = PYTHON_NUMPY - -OBS_SERIES_ANALYSIS_INPUT_DATATYPE = PYTHON_NUMPY - -FCST_VAR1_NAME = {MET_INSTALL_DIR}/share/met/python/read_ascii_numpy.py MET_PYTHON_INPUT_ARG FCST - -OBS_VAR1_NAME = {MET_INSTALL_DIR}/share/met/python/read_ascii_numpy.py MET_PYTHON_INPUT_ARG OBS - -[dir] - -CONFIG_DIR={PARM_BASE}/met_config - -FCST_SERIES_ANALYSIS_INPUT_DIR = {INPUT_BASE}/met_test/data/python - -OBS_SERIES_ANALYSIS_INPUT_DIR = {INPUT_BASE}/met_test/data/python - -SERIES_ANALYSIS_CLIMO_MEAN_INPUT_DIR = - -SERIES_ANALYSIS_CLIMO_STDEV_INPUT_DIR = - -SERIES_ANALYSIS_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/SeriesAnalysis - -[filename_templates] - -FCST_SERIES_ANALYSIS_INPUT_TEMPLATE = fcst.txt, fcst.txt - -OBS_SERIES_ANALYSIS_INPUT_TEMPLATE = obs.txt, obs.txt - -SERIES_ANALYSIS_OUTPUT_TEMPLATE = python_sa.nc - -SERIES_ANALYSIS_CLIMO_MEAN_INPUT_TEMPLATE = - -SERIES_ANALYSIS_CLIMO_STDEV_INPUT_TEMPLATE = diff --git a/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf b/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf index e3ccc5a96..67f5f0b4b 100644 --- a/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf +++ b/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis.conf @@ -1,91 +1,69 @@ -# StatAnalysis 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 StatAnalysis for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/StatAnalysis/StatAnalysis.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = StatAnalysis -# time looping - options are INIT, VALID, RETRO, and REALTIME + +### +# Time Info +# LOOP_BY 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 = VALID +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of INIT_BEG and INT_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 +LOOP_BY = VALID VALID_TIME_FMT = %Y%m%d%H - - -# Start time for METplus run - must match INIT_TIME_FMT VALID_BEG=2005080700 - -# End time for METplus run - must match INIT_TIME_FMT VALID_END=2005080700 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds VALID_INCREMENT = 12H -# 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 = 12 -# 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 - overrides LOG_VERBOSITY for StatAnalysis only -#LOG_STAT_ANALYSIS_VERBOSITY = 2 -# Models to process -# MODELn is the model name to filter for in -# stat files [required] -# MODELn_OBTYPE is the observation name -# to filter for the .stat files -# [required] -# MODELn_STAT_ANALYSIS_LOOKIN_DIR is the directory to search for -# the .stat files in, wildcards (*) -# are okay to search for multiple -# directories and templates like -# {valid?fmt=%Y%m%d%H%M%S} [required] -# MODELn_REFERENCE_NAME is a reference name for MODELn, defaults to -# MODELn, it can be used in the file template names -# [optional] +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + MODEL1 = WRF MODEL1_OBTYPE = ANALYS +MODEL1_STAT_ANALYSIS_LOOKIN_DIR = {INPUT_BASE}/met_test/out/grid_stat +MODEL1_STAT_ANALYSIS_DUMP_ROW_TEMPLATE = {fcst_valid_hour?fmt=%H}Z/{MODEL1}/{MODEL1}_{valid?fmt=%Y%m%d%H}.stat +STAT_ANALYSIS_OUTPUT_DIR = {OUTPUT_BASE}/stat_analysis +STAT_ANALYSIS_OUTPUT_TEMPLATE = job.out -# Location of MET config file to pass to StatAnalysis -# References CONFIG_DIR from the [dir] section -STAT_ANALYSIS_CONFIG_FILE = {CONFIG_DIR}/STATAnalysisConfig_wrapped + +### +# StatAnalysis Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#statanalysis +### + +#LOG_STAT_ANALYSIS_VERBOSITY = 2 + +STAT_ANALYSIS_CONFIG_FILE = {PARM_BASE}/met_config/STATAnalysisConfig_wrapped #STAT_ANALYSIS_HSS_EC_VALUE = -# stat_analysis job info STAT_ANALYSIS_JOB_NAME = filter -# if using -dump_row, put in JOBS_ARGS "-dump_row [dump_row_file]" -# if using -out_stat, put in JOBS_ARGS "-out_stat [out_stat_file]" -# METplus will fill in filename STAT_ANALYSIS_JOB_ARGS = -dump_row [dump_row_file] -# Optional variables for further filtering -# can be blank, single, or multiple values -# if more than one use comma separated list -# -# (FCST)(OBS)_(VALID)(INIT)_HOUR_LIST: HH format (ex. 00, 06, 12) -# (FCST)(OBS)_LEAD_LIST: HH[H][MMSS] format (ex. 00, 06, 120) MODEL_LIST = {MODEL1} DESC_LIST = FCST_LEAD_LIST = @@ -108,35 +86,6 @@ OBS_THRESH_LIST = COV_THRESH_LIST = ALPHA_LIST = LINE_TYPE_LIST = -# how to treat items listed in above _LIST variables -# GROUP_LIST_ITEMS: items listed in a given _LIST variable -# will be grouped together -# LOOP_LIST_ITEMS: items listed in a give _LIST variable -# will be looped over -# if not listed METplus will treat the list as a group + GROUP_LIST_ITEMS = FCST_INIT_HOUR_LIST LOOP_LIST_ITEMS = FCST_VALID_HOUR_LIST, MODEL_LIST - - -MODEL1_STAT_ANALYSIS_LOOKIN_DIR = {INPUT_BASE}/met_test/out/grid_stat - -# Output data directory -STAT_ANALYSIS_OUTPUT_DIR = {OUTPUT_BASE}/stat_analysis - -STAT_ANALYSIS_OUTPUT_TEMPLATE = job.out - -# location of configuration files used by MET applications -CONFIG_DIR = {PARM_BASE}/met_config - - -# Optional settings to create templated directory and file name information -# to save files as stat_analysis output as, this is appended to STAT_ANALYSIS_OUTPUT_DIR -# if no template is provided a default filename set in the code will be used -# Use: -# string templates can be set for all the lists being looped over, just -# use and a lower case version of the list, ex. {fcst_valid_hour?fmt=%H} -# or {fcst_var?fmt=%s} -# For looping over models: -# can set MODELn_STAT_ANALYSIS_[DUMP_ROW/OUT_STAT]_TEMPLATE for individual models -# or STAT_ANALYSIS_[DUMP_ROW/OUT_STAT] with {model?fmt=%s} -MODEL1_STAT_ANALYSIS_DUMP_ROW_TEMPLATE = {fcst_valid_hour?fmt=%H}Z/{MODEL1}/{MODEL1}_{valid?fmt=%Y%m%d%H}.stat diff --git a/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis_python_embedding.conf b/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis_python_embedding.conf index c1daba238..72cfdee34 100644 --- a/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis_python_embedding.conf +++ b/parm/use_cases/met_tool_wrapper/StatAnalysis/StatAnalysis_python_embedding.conf @@ -1,89 +1,65 @@ -# StatAnalysis 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 StatAnalysis for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/StatAnalysis/StatAnalysis_python_embedding.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = StatAnalysis -# time looping - options are INIT, VALID, RETRO, and REALTIME + +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### LOOP_BY = VALID - -# Format of INIT_BEG and INT_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 VALID_TIME_FMT = %Y%m%d%H - - -# Start time for METplus run - must match INIT_TIME_FMT VALID_BEG=2005080700 - -# End time for METplus run - must match INIT_TIME_FMT VALID_END=2005080700 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds VALID_INCREMENT = 12H -# 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 = 12 -# 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 - overrides LOG_VERBOSITY for StatAnalysis only -#LOG_STAT_ANALYSIS_VERBOSITY = 2 +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### -# Models to process -# MODELn is the model name to filter for in -# stat files [required] -# MODELn_OBTYPE is the observation name -# to filter for the .stat files -# [required] -# MODELn_STAT_ANALYSIS_LOOKIN_DIR is the directory to search for -# the .stat files in, wildcards (*) -# are okay to search for multiple -# directories and templates like -# {valid?fmt=%Y%m%d%H%M%S} [required] -# MODELn_REFERENCE_NAME is a reference name for MODELn, defaults to -# MODELn, it can be used in the file template names -# [optional] MODEL1 = WRF MODEL1_OBTYPE = ADPSFC +MODEL1_STAT_ANALYSIS_LOOKIN_DIR = python {INPUT_BASE}/met_test/scripts/python/read_ascii_mpr.py {INPUT_BASE}/met_test/new/point_stat_120000L_20050807_120000V.stat +MODEL1_STAT_ANALYSIS_DUMP_ROW_TEMPLATE = stat_analysis_python_AGGR_MPR_to_SL1L2.stat +MODEL1_STAT_ANALYSIS_OUT_STAT_TEMPLATE = {model?fmt=%s}_{obtype?fmt=%s}_valid{valid?fmt=%Y%m%d}_fcstvalidhour{valid_hour?fmt=%H}0000Z_out_stat.stat + +STAT_ANALYSIS_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/StatAnalysis_python_embedding + +### +# StatAnalysis Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#statanalysis +### + +#LOG_STAT_ANALYSIS_VERBOSITY = 2 -# Location of MET config file to pass to StatAnalysis -# References CONFIG_DIR from the [dir] section -STAT_ANALYSIS_CONFIG_FILE = {CONFIG_DIR}/STATAnalysisConfig_wrapped +STAT_ANALYSIS_CONFIG_FILE = {PARM_BASE}/met_config/STATAnalysisConfig_wrapped -# stat_analysis job info STAT_ANALYSIS_JOB_NAME = aggregate_stat -# if using -dump_row, put in JOBS_ARGS "-dump_row [dump_row_file]" -# if using -out_stat, put in JOBS_ARGS "-out_stat [out_stat_file]" -# METplus will fill in filename STAT_ANALYSIS_JOB_ARGS = -out_line_type sl1l2 -by FCST_VAR -out_stat [out_stat_file] -# Optional variables for further filtering -# can be blank, single, or multiple values -# if more than one use comma separated list -# -# (FCST)(OBS)_(VALID)(INIT)_HOUR_LIST: HH format (ex. 00, 06, 12) -# (FCST)(OBS)_LEAD_LIST: HH[H][MMSS] format (ex. 00, 06, 120) MODEL_LIST = {MODEL1} DESC_LIST = FCST_LEAD_LIST = @@ -106,40 +82,6 @@ OBS_THRESH_LIST = COV_THRESH_LIST = ALPHA_LIST = LINE_TYPE_LIST = MPR -# how to treat items listed in above _LIST variables -# GROUP_LIST_ITEMS: items listed in a given _LIST variable -# will be grouped together -# LOOP_LIST_ITEMS: items listed in a give _LIST variable -# will be looped over -# if not listed METplus will treat the list as a group + GROUP_LIST_ITEMS = FCST_INIT_HOUR_LIST LOOP_LIST_ITEMS = FCST_VALID_HOUR_LIST, MODEL_LIST - - -# End of [config] section and start of [dir] section -[dir] - -MODEL1_STAT_ANALYSIS_LOOKIN_DIR = python {INPUT_BASE}/met_test/scripts/python/read_ascii_mpr.py {INPUT_BASE}/met_test/new/point_stat_120000L_20050807_120000V.stat - -# Output data directory -STAT_ANALYSIS_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/StatAnalysis_python_embedding - -# location of configuration files used by MET applications -CONFIG_DIR = {PARM_BASE}/met_config - - -# End of [dir] section and start of [filename_templates] section -[filename_templates] -# Optional settings to create templated directory and file name information -# to save files as stat_analysis output as, this is appended to STAT_ANALYSIS_OUTPUT_DIR -# if no template is provided a default filename set in the code will be used -# Use: -# string templates can be set for all the lists being looped over, just -# use and a lower case version of the list, ex. {fcst_valid_hour?fmt=%H} -# or {fcst_var?fmt=%s} -# For looping over models: -# can set MODELn_STAT_ANALYSIS_[DUMP_ROW/OUT_STAT]_TEMPLATE for individual models -# or STAT_ANALYSIS_[DUMP_ROW/OUT_STAT] with {model?fmt=%s} -MODEL1_STAT_ANALYSIS_DUMP_ROW_TEMPLATE = stat_analysis_python_AGGR_MPR_to_SL1L2.stat - -MODEL1_STAT_ANALYSIS_OUT_STAT_TEMPLATE = {model?fmt=%s}_{obtype?fmt=%s}_valid{valid?fmt=%Y%m%d}_fcstvalidhour{valid_hour?fmt=%H}0000Z_out_stat.stat diff --git a/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf b/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf index 4fb745601..8d25a7fea 100644 --- a/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf +++ b/parm/use_cases/met_tool_wrapper/TCGen/TCGen.conf @@ -1,33 +1,50 @@ [config] -# Looping by times: steps through each 'task' in the PROCESS_LIST for each -# defined time, and repeats until all times have been evaluated. -LOOP_ORDER = times +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/TCGen/TCGen.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### -# 'Tasks' to be run PROCESS_LIST = TCGen + +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### + LOOP_BY = INIT -# The init time INIT_TIME_FMT = %Y INIT_BEG = 2016 +LEAD_SEQ = -LOG_TC_GEN_VERBOSITY = 2 - -# optional list of strings to loop over and call the tool multiple times -# value of each item can be referenced in filename templates with {custom?fmt=%s} TC_GEN_CUSTOM_LOOP_LIST = +LOOP_ORDER = times + -# I/O Configurations +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### -# Location of input data directory for track data TC_GEN_TRACK_INPUT_DIR = {INPUT_BASE}/met_test/tc_data/genesis/atcf TC_GEN_TRACK_INPUT_TEMPLATE = {init?fmt=%Y}/*.dat -# Location of input data directory for genesis data TC_GEN_GENESIS_INPUT_DIR = {INPUT_BASE}/met_test/tc_data/genesis/suite1 TC_GEN_GENESIS_INPUT_TEMPLATE = {init?fmt=%Y}*/genesis*{init?fmt=%Y}* @@ -37,26 +54,30 @@ TC_GEN_GENESIS_INPUT_TEMPLATE = {init?fmt=%Y}*/genesis*{init?fmt=%Y}* #TC_GEN_SHAPE_INPUT_DIR = #TC_GEN_SHAPE_INPUT_TEMPLATE = - -# directory to write output files generated by tc_gen TC_GEN_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/TCGen TC_GEN_OUTPUT_TEMPLATE = tc_gen_{init?fmt=%Y} -# MET Configurations +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### -TC_GEN_CONFIG_FILE = {PARM_BASE}/met_config/TCGenConfig_wrapped -# The following variables set values in the MET configuration file used by this example -# Leaving these values commented will use the value found in the default MET configuration file -# See the MET documentation for this tool for more information on the settings +### +# TCGen Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#tcgen +### + +#LOG_TC_GEN_VERBOSITY = 2 + +TC_GEN_CONFIG_FILE = {PARM_BASE}/met_config/TCGenConfig_wrapped TC_GEN_INIT_FREQ = 6 TC_GEN_VALID_FREQ = 6 TC_GEN_FCST_HR_WINDOW_BEGIN = 6 - TC_GEN_FCST_HR_WINDOW_END = 120 TC_GEN_MIN_DURATION = 12 @@ -100,9 +121,6 @@ TC_GEN_VALID_END = TC_GEN_INIT_HOUR = -# sets METPLUS_LEAD in the wrapped MET config file -LEAD_SEQ = - TC_GEN_VX_MASK = TC_GEN_BASIN_MASK = diff --git a/parm/use_cases/met_tool_wrapper/TCMPRPlotter/TCMPRPlotter.conf b/parm/use_cases/met_tool_wrapper/TCMPRPlotter/TCMPRPlotter.conf index ccf92158f..38a2046a4 100644 --- a/parm/use_cases/met_tool_wrapper/TCMPRPlotter/TCMPRPlotter.conf +++ b/parm/use_cases/met_tool_wrapper/TCMPRPlotter/TCMPRPlotter.conf @@ -1,35 +1,55 @@ -# -# CONFIGURATION -# [config] -# Loop over each process in the process list (set in PROCESS_LIST) for all times in the time window of -# interest. -LOOP_ORDER = processes +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/TCMPRPlotter/TCMPRPlotter.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### PROCESS_LIST = TCMPRPlotter -# The init time begin and end times, increment + +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### + LOOP_BY = INIT INIT_TIME_FMT = %Y%m INIT_BEG = 201503 INIT_END = 201503 - -# This is the step-size. Increment in seconds from the begin time to the end -# time INIT_INCREMENT = 6H +LOOP_ORDER = processes + + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + TCMPR_PLOTTER_TCMPR_DATA_DIR = {INPUT_BASE}/met_test/tc_pairs/{date?fmt=%Y%m} TCMPR_PLOTTER_PLOT_OUTPUT_DIR = {OUTPUT_BASE}/tcmpr_plots -#TCMPR_PLOTTER_READ_ALL_FILES = True -# Plot_TCMPR options, if left unset, default values that are -# pre-defined in the R utility (packaged with MET) will be used. +### +# TCMPRPlotter Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#tcmprplotter +### + +#TCMPR_PLOTTER_READ_ALL_FILES = True -# Config file used to customize the plot, the tcmpr_customize.conf -# file is used to resize the plot that is produced so that it doesn't -# fill the entire screen. TCMPR_PLOTTER_CONFIG_FILE = {PARM_BASE}/use_cases/met_tool_wrapper/TCMPRPlotter/TCMPRPlotterConfig_Customize TCMPR_PLOTTER_PREFIX = TCMPR_PLOTTER_TITLE = @@ -39,10 +59,9 @@ TCMPR_PLOTTER_YLAB = Your y-label Goes Here TCMPR_PLOTTER_XLIM = TCMPR_PLOTTER_YLIM = TCMPR_PLOTTER_FILTER = -# The tcst data file to be used instead of running the MET tc_stat tool + TCMPR_PLOTTER_FILTERED_TCST_DATA_FILE = -# Comma separated, no whitespace. Default is TK_ERR (track error) unless -# otherwise indicated. + TCMPR_PLOTTER_DEP_VARS = AMSLP-BMSLP,AMAX_WIND-BMAX_WIND,TK_ERR TCMPR_PLOTTER_SCATTER_X = TCMPR_PLOTTER_SCATTER_Y = @@ -51,8 +70,7 @@ TCMPR_PLOTTER_SERIES = TCMPR_PLOTTER_SERIES_CI = TCMPR_PLOTTER_LEGEND = TCMPR_PLOTTER_LEAD = -# Default plot is boxplot, unless otherwise indicated. If box plot is needed -# in addition to other plots, this needs to be indicated. + TCMPR_PLOTTER_PLOT_TYPES = MEAN, MEDIAN TCMPR_PLOTTER_RP_DIFF = TCMPR_PLOTTER_DEMO_YR = @@ -61,7 +79,6 @@ TCMPR_PLOTTER_FOOTNOTE_FLAG = TCMPR_PLOTTER_PLOT_CONFIG_OPTS = TCMPR_PLOTTER_SAVE_DATA = -# TCMPR FLAGS no == (don't set flag), yes == (set flag) TCMPR_PLOTTER_NO_EE = no TCMPR_PLOTTER_NO_LOG = no TCMPR_PLOTTER_SAVE = no diff --git a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf index 255d41c78..593970cce 100644 --- a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf +++ b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.conf @@ -1,22 +1,42 @@ [config] +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/TCPairs/TCPairs_extra_tropical.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = TCPairs + ### # Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control ### LOOP_BY = INIT INIT_TIME_FMT = %Y%m%d%H INIT_BEG = 2014121318 INIT_END = 2014121318 -INIT_INCREMENT = 21600 ;; set to every 6 hours=21600 seconds +INIT_INCREMENT = 21600 TC_PAIRS_RUN_ONCE = True ### # File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info ### TC_PAIRS_ADECK_INPUT_DIR = {INPUT_BASE}/met_test/new/track_data @@ -42,7 +62,8 @@ TC_PAIRS_REFORMAT_TYPE = SBU ### -# TCPairs +# TCPairs Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#tcpairs ### TC_PAIRS_CONFIG_FILE = {PARM_BASE}/met_config/TCPairsConfig_wrapped diff --git a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf index 2812a0cc1..044712728 100644 --- a/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf +++ b/parm/use_cases/met_tool_wrapper/TCPairs/TCPairs_tropical.conf @@ -1,9 +1,28 @@ [config] +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/TCPairs/TCPairs_tropical.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = TCPairs + ### # Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control ### LOOP_BY = INIT @@ -21,6 +40,7 @@ TC_PAIRS_RUN_ONCE = False ### # File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info ### TC_PAIRS_ADECK_INPUT_DIR = {INPUT_BASE}/met_test/new/hwrf/adeck @@ -41,7 +61,8 @@ TC_PAIRS_REFORMAT_DECK = no ### -# TCPairs +# TCPairs Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#tcpairs ### TC_PAIRS_CONFIG_FILE = {PARM_BASE}/met_config/TCPairsConfig_wrapped diff --git a/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf b/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf index 0ff87ebda..e92c2ba53 100644 --- a/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf +++ b/parm/use_cases/met_tool_wrapper/TCRMW/TCRMW.conf @@ -1,33 +1,58 @@ -# -# CONFIGURATION -# [config] -# Looping by times: steps through each 'task' in the PROCESS_LIST for each -# defined time, and repeats until all times have been evaluated. -LOOP_ORDER = times +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/TCRMW/TCRMW.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### -# 'Tasks' to be run PROCESS_LIST = TCRMW -LOOP_BY = INIT -# The init time begin and end times, increment, and last init hour. +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### + +LOOP_BY = INIT INIT_TIME_FMT = %Y%m%d%H INIT_BEG = 2016092900 INIT_END = 2016092900 - -# This is the step-size. Increment in seconds from the begin time to the end time -# set to 6 hours = 21600 seconds INIT_INCREMENT = 21600 -LOG_TC_RMW_VERBOSITY = 2 +LOOP_ORDER = times -TC_RMW_CONFIG_FILE = {CONFIG_DIR}/TCRMWConfig_wrapped -MODEL = fv3 +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + +TC_RMW_DECK_INPUT_DIR = {INPUT_BASE}/met_test/new/tc_data/adeck +TC_RMW_DECK_TEMPLATE = aal14{date?fmt=%Y}_short.dat + +TC_RMW_INPUT_DIR = {INPUT_BASE}/met_test/new/model_data/grib2/gfs_fv3 +TC_RMW_INPUT_TEMPLATE = gfs.subset.t00z.pgrb2.0p25.f* + +TC_RMW_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/TCRMW +TC_RMW_OUTPUT_TEMPLATE = tc_rmw_aal14{date?fmt=%Y}.nc -#TC_RMW_DESC = + +### +# Field Info +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info +### BOTH_VAR1_NAME = PRMSL BOTH_VAR1_LEVELS = L0 @@ -35,10 +60,20 @@ BOTH_VAR1_LEVELS = L0 BOTH_VAR2_NAME = TMP BOTH_VAR2_LEVELS = P1000, P900, P800, P700, P500, P100 -# The following variables set values in the MET -# configuration file used by this example -# Leaving these values commented will use the value -# found in the default MET configuration file + +### +# TCRMW Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#tcrmw +### + +#LOG_TC_RMW_VERBOSITY = 2 + +TC_RMW_CONFIG_FILE = {PARM_BASE}/met_config/TCRMWConfig_wrapped + +MODEL = fv3 + +#TC_RMW_DESC = + #TC_RMW_REGRID_METHOD = NEAREST #TC_RMW_REGRID_WIDTH = 1 #TC_RMW_REGRID_VLD_THRESH = 0.5 @@ -60,29 +95,3 @@ TC_RMW_CYCLONE = 14 #TC_RMW_VALID_INCLUDE_LIST = #TC_RMW_VALID_EXCLUDE_LIST = #TC_RMW_VALID_HOUR_LIST = - -# -# DIRECTORIES -# -[dir] - -# location of configuration files used by MET applications -CONFIG_DIR={PARM_BASE}/met_config - -# Location of input track data directory for DECK data -#TC_RMW_DECK_INPUT_DIR = /d1/projects/MET/MET_test_data/unit_test/tc_data/adeck -TC_RMW_DECK_INPUT_DIR = {INPUT_BASE}/met_test/new/tc_data/adeck - -#TC_RMW_INPUT_DIR = /d1/projects/MET/MET_test_data/unit_test/model_data/grib2/gfs_fv3 -TC_RMW_INPUT_DIR = {INPUT_BASE}/met_test/new/model_data/grib2/gfs_fv3 - -TC_RMW_OUTPUT_DIR = {OUTPUT_BASE}/met_tool_wrapper/TCRMW - -[filename_templates] -#TC_RMW_DECK_TEMPLATE = a{basin?fmt=%s}{cyclone?fmt=%s}{date?fmt=%Y}.dat -TC_RMW_DECK_TEMPLATE = aal14{date?fmt=%Y}_short.dat - -#TC_RMW_INPUT_TEMPLATE = gfs.t00z.pgrb2.0p25.f144 -TC_RMW_INPUT_TEMPLATE = gfs.subset.t00z.pgrb2.0p25.f* - -TC_RMW_OUTPUT_TEMPLATE = tc_rmw_aal14{date?fmt=%Y}.nc diff --git a/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf b/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf index 4fae5a9f7..d791c3ffe 100644 --- a/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf +++ b/parm/use_cases/met_tool_wrapper/TCStat/TCStat.conf @@ -1,75 +1,59 @@ -# -# CONFIGURATION -# [config] -# set looping method to processes-each 'task' in the process list runs to -# completion (for all init times) before the next 'task' is run -LOOP_ORDER = processes -# List of 'tasks' to run +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/TCStat/TCStat.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = TCStat -LOOP_BY = INIT -# The init time begin and end times, increment, and last init hour. +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### + +LOOP_BY = INIT INIT_TIME_FMT = %Y%m%d%H INIT_BEG = 2019103112 INIT_END = 2019103112 - -# This is the step-size. Increment in seconds from the begin time to the end time -# set to 6 hours = 21600 seconds INIT_INCREMENT = 6H -# -# DIRECTORIES -# -# TC-Stat input data (-lookin argument) -# uses output from tc-pairs -TC_STAT_LOOKIN_DIR = {INPUT_BASE}/met_test/tc_pairs +LOOP_ORDER = processes -# TC-Stat output data (creates .tcst ASCII files which can be read or used as -# input to TCMPR_Plotter_wrapper (the Python wrapper to plot_tcmpr.R) to create plots. -TC_STAT_OUTPUT_DIR = {OUTPUT_BASE}/tc_stat -TC_STAT_OUTPUT_TEMPLATE = job.out +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### -# Leave blank or remove to use wrapped config file in parm/met_config -TC_STAT_CONFIG_FILE = {PARM_BASE}/met_config/TCStatConfig_wrapped +TC_STAT_LOOKIN_DIR = {INPUT_BASE}/met_test/tc_pairs +TC_STAT_OUTPUT_DIR = {OUTPUT_BASE}/tc_stat +TC_STAT_OUTPUT_TEMPLATE = job.out -# !!!!!!!IMPORTANT!!!!!! -# Please refer to the README_TC located in ${MET_INSTALL_DIR}/share/met/config -# for details on setting up your analysis jobs. -# For arithmetic expressions such as: -# -column 'ABS(AMSLP-BMSLP)', enclose the expression in ''. Notice that there are no -# whitespaces within the arithmetic expression. White spaces are to be used to -# separate options from values (e.g. -job summary -by AMODEL,LEAD,AMSLP -init_hour 00 -column 'AMSLP-BMSLP'). -# eg. -lookin {OUTPUT_BASE}/tc_pairs -job filter -dump_row {OUTPUT_BASE}/tc_stat_filter.out -basin ML -init_hr 00 -# or -lookin {OUTPUT_BASE}/tc_pairs -job summary -by AMODEL,LEAD -column AMSLP -column AMAX_WIND -column 'ABS(AMAX_WIND-BMAX_WIND)' -out {OUTPUT_BASE}/tc_stat/tc_stat_summary.tcst +### +# TCStat Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#tcstat +### -# Define the job filter via TC_STAT_JOB_ARGS. -# Separate each option and value with whitespace, and each job with a whitespace. -# No whitespace within arithmetic expressions or lists of items -# (e.g. -by AMSLP,AMODEL,LEAD -column '(AMAX_WIND-BMAX_WIND)') -# Enclose your arithmetic expressions with '' and separate each job -# by whitespace: -# -job filter -dump_row /path/to, -job summary -line_type TCMPR -column 'ABS(AMAX_WIND-BMAX_WIND)' -out {OUTPUT_BASE}/tc_stat/file.tcst +TC_STAT_CONFIG_FILE = {PARM_BASE}/met_config/TCStatConfig_wrapped TC_STAT_JOB_ARGS = -job summary -line_type TCMPR -column 'ASPEED' -dump_row {TC_STAT_OUTPUT_DIR}/tc_stat_summary.tcst - -# -# FILL in the following values if running multiple jobs which -# requires a MET tc_stat config file. -# -# These all map to the options in the default TC-Stat config file, except these -# are pre-pended with TC_STAT to avoid clashing with any other similarly -# named options from other MET tools (eg TC_STAT_AMODEL corresponds to the -# amodel option in the default MET tc-stat config file, whereas AMODEL -# corresponds to the amodel option in the MET tc-pairs config file). - -# Stratify by these columns: TC_STAT_AMODEL = TC_STAT_BMODEL = TC_STAT_DESC = @@ -78,16 +62,12 @@ TC_STAT_BASIN = TC_STAT_CYCLONE = TC_STAT_STORM_NAME = -# Stratify by init times via a comma-separate list of init times to -# include or exclude. Time format defined as YYYYMMDD_HH or YYYYMMDD_HHmmss TC_STAT_INIT_BEG = 20150301 TC_STAT_INIT_END = 20150304 TC_STAT_INIT_INCLUDE = TC_STAT_INIT_EXCLUDE = TC_STAT_INIT_HOUR = 00 -# Stratify by valid times via a comma-separate list of valid times to -# include or exclude. Time format defined as YYYYMMDD_HH or YYYYMMDD_HHmmss TC_STAT_VALID_BEG = TC_STAT_VALID_END = TC_STAT_VALID_INCLUDE = @@ -97,58 +77,29 @@ TC_STAT_LEAD_REQ = TC_STAT_INIT_MASK = TC_STAT_VALID_MASK = -# Stratify by the valid time and lead time via comma-separated list of -# times in format HH[MMSS] -TC_STAT_VALID_HOUR = TC_STAT_LEAD = -# Stratify over the watch_warn column in the tcst file. Setting this to -# 'ALL' will match HUWARN, HUWATCH, TSWARN, TSWATCH TC_STAT_TRACK_WATCH_WARN = -# Stratify by applying thresholds to numeric data columns. Specify with -# comma-separated list of column names and thresholds to be applied. -# The length of TC_STAT_COLUMN_THRESH_NAME should be the same as -# TC_STAT_COLUMN_THRESH_VAL. TC_STAT_COLUMN_THRESH_NAME = TC_STAT_COLUMN_THRESH_VAL = -# Stratify by a list of comma-separated columns names and values corresponding -# to non-numeric data columns of the values of interest. TC_STAT_COLUMN_STR_NAME = TC_STAT_COLUMN_STR_VAL = -# Stratify by applying thresholds to numeric data columns only when lead=0. -# If lead=0 and the value does not meet the threshold, discard the entire -# track. The length of TC_STAT_INIT_THRESH_NAME must equal the length of -# TC_STAT_INIT_THRESH_VAL. TC_STAT_INIT_THRESH_NAME = TC_STAT_INIT_THRESH_VAL = -# Stratify by applying thresholds to numeric data columns only when lead = 0. -# If lead = 0 but the value doesn't meet the threshold, discard the entire -# track. TC_STAT_INIT_STR_NAME = TC_STAT_INIT_STR_VAL = -# Excludes any points where distance to land is <=0. When set to TRUE, once land -# is encountered, the remainder of the forecast track is NOT used for the -# verification, even if the track moves back over water. TC_STAT_WATER_ONLY = -# TRUE or FALSE. To specify whether only those track points occurring near -# landfall should be retained. Landfall is the last bmodel track point before -# the distance to land switches from water to land. TC_STAT_LANDFALL = -# Define the landfall retention window, which is defined as the hours offset -# from the time of landfall. Format is in HH[MMSS]. Default TC_STAT_LANDFALL_BEG -# is set to -24, and TC_STAT_LANDFALL_END is set to 00 TC_STAT_LANDFALL_BEG = -24 TC_STAT_LANDFALL_END = 00 -# Specify whether only those track points common to both the ADECK and BDECK -# tracks should be written out TC_STAT_MATCH_POINTS = false #TC_STAT_COLUMN_STR_EXC_NAME = @@ -156,6 +107,3 @@ TC_STAT_MATCH_POINTS = false #TC_STAT_INIT_STR_EXC_NAME = #TC_STAT_INIT_STR_EXC_VAL = - -# IMPORTANT Refer to the README_TC for details on setting up analysis -# jobs (located in {MET_INSTALL_DIR}/share/met/config diff --git a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once.conf b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once.conf index d0484030b..036913a99 100644 --- a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once.conf +++ b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once.conf @@ -1,56 +1,57 @@ -# UserScript wrapper example - [config] -# List of applications to run - only UserScript for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/UserScript/UserScript_run_once.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = UserScript -# time looping - options are INIT, VALID, RETRO, and REALTIME +### +# Time Info +# LOOP_BY 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 = VALID +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of VALID_BEG and VALID_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 -VALID_TIME_FMT = %Y%m%d%H%M%S +USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE -# Start time for METplus run - must match VALID_TIME_FMT +LOOP_BY = VALID +VALID_TIME_FMT = %Y%m%d%H%M%S VALID_BEG = 20141031093015 - -# End time for METplus run - must match VALID_TIME_FMT VALID_END = 20141101093015 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds VALID_INCREMENT = 12H -# 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 = 0H, 12H, 15H, 24H, 120H -# 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 +USER_SCRIPT_CUSTOM_LOOP_LIST = nc + LOOP_ORDER = processes -# list of strings to loop over for each run time. -# value for each item can be referenced in filename templates with {custom?fmt=%s} -USER_SCRIPT_CUSTOM_LOOP_LIST = nc -USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### USER_SCRIPT_INPUT_TEMPLATE = init_{init?fmt=%Y%m%d%H%M%S}_valid_{valid?fmt=%Y%m%d%H%M%S}_lead_{lead?fmt=%3H}.{custom} USER_SCRIPT_INPUT_DIR = {INPUT_BASE}/met_test/new/test + +### +# UserScript Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#userscript +### + USER_SCRIPT_COMMAND = {PARM_BASE}/use_cases/met_tool_wrapper/UserScript/print_file_list.py diff --git a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_for_each.conf b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_for_each.conf index 9e6691ef1..d135fa6be 100644 --- a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_for_each.conf +++ b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_for_each.conf @@ -1,56 +1,57 @@ -# UserScript wrapper example - [config] -# List of applications to run - only UserScript for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/UserScript/UserScript_run_once_for_each.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = UserScript -# time looping - options are INIT, VALID, RETRO, and REALTIME +### +# Time Info +# LOOP_BY 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 = VALID +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of VALID_BEG and VALID_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 -VALID_TIME_FMT = %Y%m%d%H%M%S +USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE_FOR_EACH -# Start time for METplus run - must match VALID_TIME_FMT +LOOP_BY = VALID +VALID_TIME_FMT = %Y%m%d%H%M%S VALID_BEG = 20141031093015 - -# End time for METplus run - must match VALID_TIME_FMT VALID_END = 20141101093015 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds VALID_INCREMENT = 12H -# 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 = 0H, 12H, 24H, 120H -# 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 +USER_SCRIPT_CUSTOM_LOOP_LIST = nc + LOOP_ORDER = processes -# list of strings to loop over for each run time. -# value for each item can be referenced in filename templates with {custom?fmt=%s} -USER_SCRIPT_CUSTOM_LOOP_LIST = nc -USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE_FOR_EACH +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### USER_SCRIPT_INPUT_TEMPLATE = init_{init?fmt=%Y%m%d%H%M%S}_valid_{valid?fmt=%Y%m%d%H%M%S}_lead_{lead?fmt=%3H}.{custom} USER_SCRIPT_INPUT_DIR = {INPUT_BASE}/met_test/new/test + +### +# UserScript Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#userscript +### + USER_SCRIPT_COMMAND = {PARM_BASE}/use_cases/met_tool_wrapper/UserScript/print_file_list.py diff --git a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_init.conf b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_init.conf index 15b484615..dccb808ed 100644 --- a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_init.conf +++ b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_init.conf @@ -1,56 +1,57 @@ -# UserScript wrapper example - [config] -# List of applications to run - only UserScript for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/UserScript/UserScript_run_once_per_init.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = UserScript -# time looping - options are INIT, VALID, RETRO, and REALTIME +### +# Time Info +# LOOP_BY 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 +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# 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%M%S +USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID -# Start time for METplus run - must match VALID_TIME_FMT +LOOP_BY = INIT +INIT_TIME_FMT = %Y%m%d%H%M%S INIT_BEG = 20141031093015 - -# End time for METplus run - must match VALID_TIME_FMT INIT_END = 20141101093015 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds INIT_INCREMENT = 12H -# 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 = 0H, 12H, 24H, 120H -# 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 +USER_SCRIPT_CUSTOM_LOOP_LIST = nc + LOOP_ORDER = processes -# list of strings to loop over for each run time. -# value for each item can be referenced in filename templates with {custom?fmt=%s} -USER_SCRIPT_CUSTOM_LOOP_LIST = nc -USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### USER_SCRIPT_INPUT_TEMPLATE = init_{init?fmt=%Y%m%d%H%M%S}_valid_{valid?fmt=%Y%m%d%H%M%S}_lead_{lead?fmt=%3H}.{custom} USER_SCRIPT_INPUT_DIR = {INPUT_BASE}/met_test/new/test + +### +# UserScript Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#userscript +### + USER_SCRIPT_COMMAND = {PARM_BASE}/use_cases/met_tool_wrapper/UserScript/print_file_list.py diff --git a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_valid.conf b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_valid.conf index 28054b5c7..89092717a 100644 --- a/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_valid.conf +++ b/parm/use_cases/met_tool_wrapper/UserScript/UserScript_run_once_per_valid.conf @@ -1,57 +1,58 @@ -# UserScript wrapper example - [config] -# List of applications to run - only UserScript for this case +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/UserScript/UserScript_run_once_per_valid.html + +# For additional information, please see the METplus Users Guide. +# https://metplus.readthedocs.io/en/latest/Users_Guide + +### +# Processes to run +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list +### + PROCESS_LIST = UserScript -# time looping - options are INIT, VALID, RETRO, and REALTIME +### +# Time Info +# LOOP_BY 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 = VALID +# LEAD_SEQ is the list of forecast leads to process +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#timing-control +### -# Format of VALID_BEG and VALID_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 -VALID_TIME_FMT = %Y%m%d%H%M%S +USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID -# Start time for METplus run - must match VALID_TIME_FMT +LOOP_BY = VALID +VALID_TIME_FMT = %Y%m%d%H%M%S VALID_BEG = 20141031093015 - -# End time for METplus run - must match VALID_TIME_FMT VALID_END = 20141101093015 - -# Increment between METplus runs (in seconds if no units are specified) -# Must be >= 60 seconds VALID_INCREMENT = 12H -# 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 = 0H, 12H, 24H, 120H -# 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 +USER_SCRIPT_CUSTOM_LOOP_LIST = nc + LOOP_ORDER = processes -# list of strings to loop over for each run time. -# value for each item can be referenced in filename templates with {custom?fmt=%s} -USER_SCRIPT_CUSTOM_LOOP_LIST = nc -USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE_PER_INIT_OR_VALID +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### USER_SCRIPT_INPUT_TEMPLATE_LABELS = label0 USER_SCRIPT_INPUT_TEMPLATE = init_{init?fmt=%Y%m%d%H%M%S}_valid_{valid?fmt=%Y%m%d%H%M%S}_lead_{lead?fmt=%3H}.{custom} USER_SCRIPT_INPUT_DIR = {INPUT_BASE}/met_test/new/test + +### +# UserScript Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#userscript +### + USER_SCRIPT_COMMAND = {PARM_BASE}/use_cases/met_tool_wrapper/UserScript/print_file_list.py