Skip to content

Commit

Permalink
rename use case and update configuration to read data from appropriat…
Browse files Browse the repository at this point in the history
…e directories
  • Loading branch information
georgemccabe committed Apr 23, 2024
1 parent 0a09fe1 commit 5862565
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,27 @@ PROCESS_LIST = UserScript, GenVxMask, GridStat

USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE_FOR_EACH

LOOP_BY = VALID
VALID_TIME_FMT = %Y%m%d%H
VALID_LIST = 2018060120, 2018060215, 2018060300
LOOP_BY = INIT
INIT_TIME_FMT = %Y%m%d%H
INIT_BEG = 2018060116
INIT_END = 2018060116
INIT_INCREMENT = 1d

LEAD_SEQ = 4H, 23H, 32H

#LOOP_BY = VALID
#VALID_TIME_FMT = %Y%m%d%H
#VALID_LIST = 2018060120, 2018060215, 2018060300


###
# File I/O
# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#directory-and-filename-template-info
###

SCRIPT_DIR = {PARM_BASE}/use_cases/model_applications/short_range/GridStat_fire

USER_SCRIPT_INPUT_DIR = {INPUT_BASE}
#USER_SCRIPT_INPUT_DIR = /d1/projects/METplus/METplus_Data/development/amanda_fire/input
SCRIPT_DIR = {PARM_BASE}/use_cases/model_applications/short_range/GridStat_fcstWRF_obsMMA_fire_perimeter

USER_SCRIPT_INPUT_DIR = {INPUT_BASE}/model_applications/short_range/GridStat_fcstWRF_obsMMA_fire_perimeter/mma
USER_SCRIPT_OUTPUT_DIR = {OUTPUT_BASE}/poly


Expand All @@ -48,7 +54,7 @@ GEN_VX_MASK_INPUT_MASK_TEMPLATE = {USER_SCRIPT_OUTPUT_DIR}/fire_perim_{valid?fmt
GEN_VX_MASK_OUTPUT_DIR =
GEN_VX_MASK_OUTPUT_TEMPLATE = {OUTPUT_BASE}/mask/fire_perim_{valid?fmt=%Y%m%d_%H}_mask.nc


FCST_GRID_STAT_INPUT_DIR = {INPUT_BASE}/model_applications/short_range/GridStat_fcstWRF_obsMMA_fire_perimeter/wrf
FCST_GRID_STAT_INPUT_TEMPLATE = PYTHON_NUMPY

OBS_GRID_STAT_INPUT_TEMPLATE = {GEN_VX_MASK_OUTPUT_TEMPLATE}
Expand Down Expand Up @@ -83,7 +89,7 @@ GEN_VX_MASK_OPTIONS = -type poly
MODEL = WRF_FIRE
OBTYPE = FIRE_PERIM_KML

FCST_VAR1_NAME = {SCRIPT_DIR}/read_wrfout_fire.py {USER_SCRIPT_INPUT_DIR} {valid?fmt=%Y%m%d_%H%M%S}
FCST_VAR1_NAME = {SCRIPT_DIR}/read_wrfout_fire.py {FCST_GRID_STAT_INPUT_DIR}/{init?fmt=%Y%m%d_%H} {valid?fmt=%Y%m%d_%H%M%S}
FCST_VAR1_LEVELS = L0
FCST_VAR1_THRESH = >0.5

Expand Down

0 comments on commit 5862565

Please sign in to comment.