-
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 #2547, added unit tests to process WRF out data with plot_data_pl…
…ane and grid_stat
- Loading branch information
1 parent
a0a53a8
commit 357bd51
Showing
3 changed files
with
389 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,288 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Grid-Stat configuration file. | ||
// | ||
// For additional information, please see the MET User's Guide. | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Output model name to be written | ||
// | ||
model = "FCST"; | ||
|
||
// | ||
// Output description to be written | ||
// May be set separately in each "obs.field" entry | ||
// | ||
desc = "NA"; | ||
|
||
// | ||
// Output observation type to be written | ||
// | ||
obtype = "ANALYS"; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Verification grid | ||
// May be set separately in each "field" entry | ||
// | ||
regrid = { | ||
to_grid = NONE; | ||
method = NEAREST; | ||
width = 1; | ||
vld_thresh = 0.5; | ||
shape = SQUARE; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// May be set separately in each "field" entry | ||
// | ||
censor_thresh = []; | ||
censor_val = []; | ||
mpr_column = []; | ||
mpr_thresh = []; | ||
cat_thresh = []; | ||
cnt_thresh = [ NA ]; | ||
cnt_logic = UNION; | ||
wind_thresh = [ NA ]; | ||
wind_logic = UNION; | ||
eclv_points = 0.05; | ||
nc_pairs_var_name = ""; | ||
nc_pairs_var_suffix = ""; | ||
hss_ec_value = NA; | ||
rank_corr_flag = FALSE; | ||
|
||
// | ||
// Forecast and observation fields to be verified | ||
// | ||
fcst = { | ||
|
||
field = [ | ||
{ | ||
name = "U_PL"; | ||
level = [ "(0,2,*,*)" ]; | ||
cat_thresh = [ >=0.0, >=2.5 ]; | ||
} | ||
]; | ||
|
||
} | ||
obs = { | ||
|
||
field = [ | ||
{ | ||
name = "U_PL"; | ||
level = [ "(0,@50000,*,*)" ]; | ||
cat_thresh = [ >=0.0, >=2.5 ]; | ||
} | ||
]; | ||
|
||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Climatology data | ||
// | ||
climo_mean = { | ||
|
||
file_name = []; | ||
field = []; | ||
|
||
regrid = { | ||
method = NEAREST; | ||
width = 1; | ||
vld_thresh = 0.5; | ||
shape = SQUARE; | ||
} | ||
|
||
time_interp_method = DW_MEAN; | ||
day_interval = 31; | ||
hour_interval = 6; | ||
} | ||
|
||
climo_stdev = climo_mean; | ||
climo_stdev = { | ||
file_name = []; | ||
} | ||
|
||
// | ||
// May be set separately in each "obs.field" entry | ||
// | ||
climo_cdf = { | ||
cdf_bins = 1; | ||
center_bins = FALSE; | ||
write_bins = TRUE; | ||
direct_prob = FALSE; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Verification masking regions | ||
// May be set separately in each "obs.field" entry | ||
// | ||
mask = { | ||
grid = [ "FULL" ]; | ||
poly = []; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Confidence interval settings | ||
// May be set separately in each "obs.field" entry | ||
// | ||
ci_alpha = [ 0.05 ]; | ||
|
||
boot = { | ||
interval = PCTILE; | ||
rep_prop = 1.0; | ||
n_rep = 0; | ||
rng = "mt19937"; | ||
seed = ""; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Data smoothing methods | ||
// May be set separately in each "obs.field" entry | ||
// | ||
interp = { | ||
field = BOTH; | ||
vld_thresh = 1.0; | ||
shape = SQUARE; | ||
|
||
type = [ | ||
{ | ||
method = NEAREST; | ||
width = 1; | ||
} | ||
]; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Neighborhood methods | ||
// May be set separately in each "obs.field" entry | ||
// | ||
nbrhd = { | ||
field = BOTH; | ||
vld_thresh = 1.0; | ||
shape = SQUARE; | ||
width = [ 1 ]; | ||
cov_thresh = [ >=0.5 ]; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Fourier decomposition | ||
// May be set separately in each "obs.field" entry | ||
// | ||
fourier = { | ||
wave_1d_beg = []; | ||
wave_1d_end = []; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Gradient statistics | ||
// May be set separately in each "obs.field" entry | ||
// | ||
gradient = { | ||
dx = [ 1 ]; | ||
dy = [ 1 ]; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Distance Map statistics | ||
// May be set separately in each "obs.field" entry | ||
// | ||
distance_map = { | ||
baddeley_p = 2; | ||
baddeley_max_dist = NA; | ||
fom_alpha = 0.1; | ||
zhu_weight = 0.5; | ||
beta_value(n) = n * n / 2.0; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Threshold for SEEPS p1 (Probability of being dry) | ||
// | ||
seeps_p1_thresh = >=0.1&&<=0.85; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Statistical output types | ||
// May be set separately in each "obs.field" entry | ||
// | ||
output_flag = { | ||
fho = STAT; | ||
ctc = STAT; | ||
cts = STAT; | ||
mctc = STAT; | ||
mcts = STAT; | ||
cnt = STAT; | ||
sl1l2 = STAT; | ||
sal1l2 = NONE; | ||
vl1l2 = NONE; | ||
val1l2 = NONE; | ||
vcnt = NONE; | ||
pct = NONE; | ||
pstd = NONE; | ||
pjc = NONE; | ||
prc = NONE; | ||
eclv = NONE; | ||
nbrctc = NONE; | ||
nbrcts = NONE; | ||
nbrcnt = NONE; | ||
grad = NONE; | ||
dmap = NONE; | ||
seeps = NONE; | ||
} | ||
|
||
// | ||
// NetCDF matched pairs output file | ||
// May be set separately in each "obs.field" entry | ||
// | ||
nc_pairs_flag = { | ||
latlon = TRUE; | ||
raw = TRUE; | ||
diff = TRUE; | ||
climo = TRUE; | ||
climo_cdp = FALSE; | ||
seeps = FALSE; | ||
weight = FALSE; | ||
nbrhd = FALSE; | ||
fourier = FALSE; | ||
gradient = FALSE; | ||
distance_map = FALSE; | ||
apply_mask = TRUE; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
ugrid_dataset = ""; | ||
ugrid_max_distance_km = 30; | ||
ugrid_coordinates_file = ""; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
grid_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