Skip to content

Commit

Permalink
Use case config file from @briannen.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielAdriaansen committed Dec 11, 2024
1 parent 75476cd commit b1d74fe
Showing 1 changed file with 193 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
[config]

###
# Processes to run
# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#process-list
###

PROCESS_LIST = Point2Grid(ACHTF), Point2Grid(CTPC), GridStat(ACHTF), GridStat(CTPC)

###
# 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 = 2024030700
INIT_END = 2024030700
INIT_INCREMENT = 6H

LEAD_SEQ = 6, 12, 18

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

OBSOURCE = goes16
#OBSOURCE = goes18

POINT2GRID_OUTPUT_DIR = {OUTPUT_BASE}/Point2Grid/{OBSOURCE}
POINT2GRID_OUTPUT_TEMPLATE = OR_ABI-L2-{OBTYPE}_s{valid?fmt=%Y%m%d%H}.nc

POINT2GRID_FILE_WINDOW_BEGIN = 0
POINT2GRID_FILE_WINDOW_END = 0

FCST_GRID_STAT_INPUT_DIR = {INPUT_BASE}/GFS_0.25
FCST_GRID_STAT_INPUT_TEMPLATE = {init?fmt=%Y%m%d%H}/gfs.0p25.{init?fmt=%Y%m%d%H}.f{lead?fmt=%HHH}.grib2

OBS_GRID_STAT_INPUT_DIR = {POINT2GRID_OUTPUT_DIR}
OBS_GRID_STAT_INPUT_TEMPLATE = {POINT2GRID_OUTPUT_TEMPLATE}

GRID_STAT_OUTPUT_DIR = {OUTPUT_BASE}/GridStat/{OBSOURCE}

###
# Field Info
# https://metplus.readthedocs.io/en/latest/Users_Guide/systemconfiguration.html#field-info
###

MODEL = GFS

###
# Point2Grid Settings
# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#point2grid
###

POINT2GRID_REGRID_TO_GRID = G212
POINT2GRID_REGRID_METHOD = MAX

POINT2GRID_ADP =

POINT2GRID_GAUSSIAN_DX = 81.271
POINT2GRID_GAUSSIAN_RADIUS = 120

POINT2GRID_PROB_CAT_THRESH =

POINT2GRID_VLD_THRESH =

###
# GridStat Settings
# https://metplus.readthedocs.io/en/latest/Users_Guide/wrappers.html#gridstat
###

MODEL = GFS

GRID_STAT_CONFIG_FILE = {PARM_BASE}/met_config/GridStatConfig_wrapped

GRID_STAT_REGRID_TO_GRID = FCST
GRID_STAT_REGRID_METHOD = BILIN
GRID_STAT_REGRID_WIDTH = 2

GRID_STAT_DESC =

FCST_GRID_STAT_FILE_WINDOW_BEGIN = 0
FCST_GRID_STAT_FILE_WINDOW_END = 0
OBS_GRID_STAT_FILE_WINDOW_BEGIN = 0
OBS_GRID_STAT_FILE_WINDOW_END = 0

GRID_STAT_NEIGHBORHOOD_WIDTH = 1
GRID_STAT_NEIGHBORHOOD_SHAPE = SQUARE

GRID_STAT_NEIGHBORHOOD_COV_THRESH = >=0.5

GRID_STAT_ONCE_PER_FIELD = False

FCST_IS_PROB = false

FCST_GRID_STAT_PROB_THRESH = ==0.1

OBS_IS_PROB = false

OBS_GRID_STAT_PROB_THRESH = ==0.1

GRID_STAT_OUTPUT_PREFIX = {MODEL}_to_{OBTYPE}_F{lead?fmt=%H}_CloudHgts

GRID_STAT_OUTPUT_FLAG_FHO = STAT
GRID_STAT_OUTPUT_FLAG_CTC = BOTH
GRID_STAT_OUTPUT_FLAG_CTS = BOTH
GRID_STAT_OUTPUT_FLAG_CNT = STAT
GRID_STAT_OUTPUT_FLAG_SL1L2 = STAT
GRID_STAT_OUTPUT_FLAG_GRAD = STAT

GRID_STAT_NC_PAIRS_FLAG_LATLON = TRUE
GRID_STAT_NC_PAIRS_FLAG_RAW = TRUE
GRID_STAT_NC_PAIRS_FLAG_DIFF = TRUE
GRID_STAT_NC_PAIRS_FLAG_CLIMO = FALSE
GRID_STAT_NC_PAIRS_FLAG_GRADIENT = TRUE
GRID_STAT_NC_PAIRS_FLAG_APPLY_MASK = TRUE

###
## Settings for Cloud Top Temp
###

[ACHTF]

###
## File I/O
###

POINT2GRID_INPUT_DIR = {INPUT_BASE}/noaa-{OBSOURCE}/ABI-L2-ACHTF/{valid?fmt=%Y}/{valid?fmt=%j}/{lead?fmt=%H}
POINT2GRID_INPUT_TEMPLATE = OR_ABI-L2-{OBTYPE}-M6_*_s{valid?fmt=%Y%j}{lead?fmt=%H}00*.nc

###
## Point2Grid Settings
###

POINT2GRID_INPUT_FIELD = TEMP
POINT2GRID_INPUT_LEVEL = (*,*)

###
## Field Info
###

OBTYPE = ACHTF

FCST_VAR1_NAME = TMP
FCST_VAR1_LEVELS = R647, R648, R649
FCST_VAR1_THRESH = gt0, lt180.0, ge190.0, ge200.0, ge210.0, ge220.0, ge230.0, ge240.0, ge250.0, ge260.0, ge270.0, ge280.0

OBS_VAR1_NAME = TEMP
OBS_VAR1_LEVELS = (*,*), (*,*), (*,*)
OBS_VAR1_THRESH = gt0, lt180.0, ge190.0, ge200.0, ge210.0, ge220.0, ge230.0, ge240.0, ge250.0, ge260.0, ge270.0, ge280.0

###
## Settings for Cloud Top Pres
###

[CTPC]

###
## File I/O
###

POINT2GRID_INPUT_DIR = {INPUT_BASE}/noaa-{OBSOURCE}/ABI-L2-CTPC/{valid?fmt=%Y}/{valid?fmt=%j}/{lead?fmt=%H}
POINT2GRID_INPUT_TEMPLATE = OR_ABI-L2-{OBTYPE}-M6_*_s{valid?fmt=%Y%j}{lead?fmt=%H}01*.nc

###
## Point2Grid Settings
###

POINT2GRID_INPUT_FIELD = PRES
POINT2GRID_INPUT_LEVEL = (*,*)

###
## Field Info
###

OBTYPE = CTPC

FCST_VAR1_NAME = PRES
FCST_VAR1_LEVELS = R644, R645, R646
FCST_VAR1_THRESH = gt0, lt10.0, ge10.0, ge20.0, ge30.0, ge40.0, ge50.0, ge60.0, ge70.0, ge80.0, ge90.0
FCST_VAR1_OPTIONS = convert(x)=x*0.01;

OBS_VAR1_NAME = PRES
OBS_VAR1_LEVELS = (*,*), (*,*), (*,*)
OBS_VAR1_THRESH = gt0, lt10.0, ge10.0, ge20.0, ge30.0, ge40.0, ge50.0, ge60.0, ge70.0, ge80.0, ge90.0

0 comments on commit b1d74fe

Please sign in to comment.