-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Per #2893, add obtype_as_obs_message_type_flag option for Point-Stat and Ensemble-Stat that applies when writing MPR, SEEPS_MPR, and ORANK line types. If true, write the input observation message type to the OBTYPE output column rather than the name of the group. * Per #2893, add option to default config files and fix compilation errors. * Per #2893, change the name from obtype_as_obs_message_type_flag to obtype_as_group_val_flag. * Per #2893, add docs ci-run-unit * Per #2893, add obtype_as_group_val_flag entry for all config files that already include the message_type_group_map entry. * Per #2893, modify existing PointStatConfig_WINDS config file to have it write MPR output with obtype_as_group_val_flag = TRUE. Note that I switched the message types from ADPSFC, SFCSHP, USERSF to just USERSF. The original reason for the 3 was to prove that the counts for ADPSFC + SFCSHP = USERSF. * Per #2893, update commit history for ensemble_stat and point_stat * Per #2893, revert back PointStatConfig_WINDS to minimize diffs * Per #2893, add a Point-Stat unit test to demonstrate setting the obtype_as_group_val_flag option. * Per #2893, need to reset the obtype after writing all MPR, SEEPS_MPR, and ORANK line types in Point-Stat * Per #2893, tweak Point-Stat configuration to also write HIRA ORANK and PCT outputs.
- Loading branch information
1 parent
7b73439
commit e8a2cf4
Showing
29 changed files
with
340 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Point-Stat configuration file. | ||
// | ||
// For additional information, please see the MET User's Guide. | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
model = "FCST"; | ||
|
||
// | ||
// Output description to be written | ||
// May be set separately in each "obs.field" entry | ||
// | ||
desc = "NA"; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
regrid = { | ||
to_grid = NONE; | ||
method = NEAREST; | ||
width = 1; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
obs_window = { | ||
beg = ${BEG_DS}; | ||
end = ${END_DS}; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
mpr_column = []; | ||
mpr_thresh = []; | ||
cnt_thresh = [ NA ]; | ||
cnt_logic = UNION; | ||
wind_thresh = [ NA ]; | ||
wind_logic = UNION; | ||
eclv_points = 0.05; | ||
|
||
// | ||
// Mapping of message type group name to comma-separated list of values. | ||
// | ||
message_type_group_map = [ | ||
{ key = "SURFACE"; val = "ADPSFC,SFCSHP,MSONET"; }, | ||
{ key = "ANYAIR"; val = "AIRCAR,AIRCFT"; }, | ||
{ key = "ANYSFC"; val = "ADPSFC,SFCSHP,ADPUPA,PROFLR,MSONET"; }, | ||
{ key = "ONLYSF"; val = "ADPSFC,SFCSHP"; }, | ||
{ key = "LANDSF"; val = "ADPSFC,MSONET"; }, | ||
{ key = "WATERSF"; val = "SFCSHP"; } | ||
]; | ||
|
||
obtype_as_group_val_flag = TRUE; | ||
|
||
fcst = { | ||
sid_inc = []; | ||
sid_exc = []; | ||
obs_quality_inc = []; | ||
obs_quality_exc = []; | ||
|
||
message_type = [ "SURFACE" ]; | ||
|
||
field = [ | ||
{ name = "TMP"; level = "Z2"; } | ||
]; | ||
|
||
} | ||
obs = fcst; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
climo_mean = fcst; | ||
climo_mean = { | ||
file_name = [ ${CLIMO_FILE} ]; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
mask = { | ||
grid = [ "FULL" ]; | ||
poly = []; | ||
sid = []; | ||
llpnt = []; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
ci_alpha = [ 0.05 ]; | ||
|
||
boot = { | ||
interval = PCTILE; | ||
rep_prop = 1.0; | ||
n_rep = 200; | ||
rng = "mt19937"; | ||
seed = "1"; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
interp = { | ||
vld_thresh = 1.0; | ||
|
||
type = [ | ||
{ | ||
method = NEAREST; | ||
width = 1; | ||
} | ||
]; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
hira = { | ||
flag = TRUE; | ||
width = [ 3 ]; | ||
vld_thresh = 1.0; | ||
cov_thresh = [ ==0.25 ]; | ||
shape = SQUARE; | ||
prob_cat_thresh = [ >273 ]; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
output_flag = { | ||
fho = NONE; | ||
ctc = NONE; | ||
cts = NONE; | ||
mctc = NONE; | ||
mcts = NONE; | ||
cnt = STAT; | ||
sl1l2 = STAT; | ||
sal1l2 = STAT; | ||
vl1l2 = NONE; | ||
val1l2 = NONE; | ||
vcnt = NONE; | ||
pct = STAT; | ||
pstd = NONE; | ||
pjc = NONE; | ||
prc = NONE; | ||
ecnt = STAT; | ||
rps = NONE; | ||
orank = STAT; | ||
eclv = NONE; | ||
mpr = STAT; | ||
seeps = NONE; | ||
seeps_mpr = NONE; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
// Threshold for SEEPS p1 (Probability of being dry) | ||
|
||
seeps_p1_thresh = NA; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
duplicate_flag = NONE; | ||
rank_corr_flag = TRUE; | ||
|
||
point_weight_flag = NONE; | ||
|
||
tmp_dir = "/tmp"; | ||
output_prefix = "${OUTPUT_PREFIX}"; | ||
version = "V12.0.0"; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.