From 0897d646014e87b97ed49c14f2016f63401772c2 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Wed, 21 Dec 2022 11:28:12 -0700 Subject: [PATCH] per #1977, create a use case conf that runs ASCII2NC and PlotPointObs on the ARGO data to test that everything is set up properly to run the use case in the automated tests --- .../ASCII2NC_obsArgo_netCDF_temp_sali.conf | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 parm/use_cases/model_applications/marine_and_cryosphere/ASCII2NC_obsArgo_netCDF_temp_sali.conf diff --git a/parm/use_cases/model_applications/marine_and_cryosphere/ASCII2NC_obsArgo_netCDF_temp_sali.conf b/parm/use_cases/model_applications/marine_and_cryosphere/ASCII2NC_obsArgo_netCDF_temp_sali.conf new file mode 100644 index 0000000000..04d7d5492e --- /dev/null +++ b/parm/use_cases/model_applications/marine_and_cryosphere/ASCII2NC_obsArgo_netCDF_temp_sali.conf @@ -0,0 +1,94 @@ +[config] + +# Documentation for this use case can be found at +# https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/ASCII2NC/ASCII2NC_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 = ASCII2NC, PlotPointObs + + +### +# 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 +VALID_BEG = 20221214 +VALID_END = 20221214 +VALID_INCREMENT = 1d + +LEAD_SEQ = 0 + + +### +# File I/O +# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info +### + +PY_EMBED_SCRIPT = {PARM_BASE}/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstRTOFS_obsArgo_netCDF_temp_sali/read_argo_metplus.py + +ARGO_BASIN = atlantic_ocean + +INPUT_FILE = {INPUT_BASE}/model_applications/marine_and_cryosphere/PointStat_fcstRTOFS_obsArgo_netCDF_temp_sali/argo/{ARGO_BASIN}/{valid?fmt=%Y/%m/%Y%m%d}_prof.nc + +ASCII2NC_INPUT_DIR = +ASCII2NC_INPUT_TEMPLATE = {PY_EMBED_SCRIPT} {INPUT_FILE} + +ASCII2NC_OUTPUT_DIR = +ASCII2NC_OUTPUT_TEMPLATE = {OUTPUT_BASE}/ascii2nc/{valid?fmt=%Y%m%d}_{ARGO_BASIN}_temp_salinity.nc + +ASCII2NC_SKIP_IF_OUTPUT_EXISTS = False + +ASCII2NC_FILE_WINDOW_BEGIN = 0 +ASCII2NC_FILE_WINDOW_END = 0 + +PLOT_POINT_OBS_INPUT_TEMPLATE = PYTHON_NUMPY={PY_EMBED_SCRIPT} {INPUT_FILE} + +PLOT_POINT_OBS_OUTPUT_TEMPLATE = {OUTPUT_BASE}/plot_point_obs/{valid?fmt=%Y%m%d}_{ARGO_BASIN}_temp_salinity.ps + +### +# ASCII2NC Settings +# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#ascii2nc +### + +#LOG_ASCII2NC_VERBOSITY = 1 +#ASCII2NC_CONFIG_FILE = + +ASCII2NC_WINDOW_BEGIN = 0 +ASCII2NC_WINDOW_END = 0 + +ASCII2NC_INPUT_FORMAT = python + +ASCII2NC_MASK_GRID = +ASCII2NC_MASK_POLY = +ASCII2NC_MASK_SID = + +ASCII2NC_TIME_SUMMARY_FLAG = False +ASCII2NC_TIME_SUMMARY_RAW_DATA = False +ASCII2NC_TIME_SUMMARY_BEG = 000000 +ASCII2NC_TIME_SUMMARY_END = 235959 +ASCII2NC_TIME_SUMMARY_STEP = 300 +ASCII2NC_TIME_SUMMARY_WIDTH = 600 +ASCII2NC_TIME_SUMMARY_GRIB_CODES = 11, 204, 211 +ASCII2NC_TIME_SUMMARY_VAR_NAMES = +ASCII2NC_TIME_SUMMARY_TYPES = min, max, range, mean, stdev, median, p80 +ASCII2NC_TIME_SUMMARY_VALID_FREQ = 0 +ASCII2NC_TIME_SUMMARY_VALID_THRESH = 0.0 + +[user_env_vars] + +PYTHONPATH={MET_INSTALL_DIR}/share/met/python