-
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.
Co-authored-by: John Halley Gotway <johnhg@ucar.edu> Co-authored-by: Dave Albo <dave@seneca.rap.ucar.edu>
- Loading branch information
1 parent
e7f7b97
commit 9f9b4cd
Showing
48 changed files
with
5,537 additions
and
3,076 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
269 changes: 269 additions & 0 deletions
269
internal/test_unit/config/MODEConfig_multivar_fake_data_with_intensities
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,269 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// MODE configuration file. | ||
// | ||
// For additional information, please see the MET User's Guide. | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Output model name to be written | ||
// | ||
model = "WRF"; | ||
|
||
// | ||
// Output description to be written | ||
// | ||
desc = "NA"; | ||
|
||
// | ||
// Output observation type to be written | ||
// | ||
obtype = "PRECIP"; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Verification grid | ||
// | ||
regrid = { | ||
to_grid = NONE; | ||
method = NEAREST; | ||
width = 1; | ||
vld_thresh = 0.5; | ||
shape = SQUARE; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Approximate grid resolution (km) | ||
// | ||
grid_res = 20; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Run all permutations of radius and threshold | ||
// | ||
quilt = FALSE; | ||
|
||
// | ||
// MODE Multivar boolean combination logic | ||
// | ||
multivar_logic = "#1 && #2 && #3"; | ||
|
||
// | ||
// MODE Multivar intensity logic | ||
// | ||
multivar_intensity_flag = [TRUE, TRUE, TRUE]; | ||
|
||
// | ||
// Forecast and observation fields to be verified | ||
// | ||
fcst = { | ||
|
||
field = [ | ||
|
||
{ | ||
name = "ALPHA"; | ||
level = "(*,*)"; | ||
merge_flag = NONE; | ||
}, | ||
|
||
{ | ||
name = "BETA"; | ||
level = "(*,*)"; | ||
merge_flag = NONE; | ||
}, | ||
|
||
{ | ||
name = "GAMMA"; | ||
level = "(*,*)"; | ||
merge_flag = NONE; | ||
} | ||
|
||
]; | ||
|
||
conv_radius = 2; // in grid squares | ||
conv_thresh = >=5.0; | ||
vld_thresh = 0.5; | ||
filter_attr_name = []; | ||
filter_attr_thresh = []; | ||
merge_thresh = >=3.5; | ||
merge_flag = NONE; | ||
multivar_name = "Super"; | ||
multivar_level = "LO"; | ||
} | ||
obs = fcst; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Handle missing data | ||
// | ||
mask_missing_flag = NONE; | ||
|
||
// | ||
// Match objects between the forecast and observation fields | ||
// | ||
match_flag = MERGE_BOTH; | ||
|
||
// | ||
// Maximum centroid distance for objects to be compared | ||
// | ||
max_centroid_dist = 800.0; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Verification masking regions | ||
// | ||
mask = { | ||
grid = ""; | ||
grid_flag = NONE; // Apply to NONE, FCST, OBS, or BOTH | ||
poly = ""; | ||
poly_flag = NONE; // Apply to NONE, FCST, OBS, or BOTH | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Fuzzy engine weights | ||
// | ||
weight = { | ||
centroid_dist = 2.0; | ||
boundary_dist = 4.0; | ||
convex_hull_dist = 0.0; | ||
angle_diff = 1.0; | ||
aspect_diff = 0.0; | ||
area_ratio = 1.0; | ||
int_area_ratio = 2.0; | ||
curvature_ratio = 0.0; | ||
complexity_ratio = 0.0; | ||
inten_perc_ratio = 0.0; | ||
inten_perc_value = 50; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Fuzzy engine interest functions | ||
// | ||
interest_function = { | ||
|
||
centroid_dist = ( | ||
( 0.0, 1.0 ) | ||
( 60.0/grid_res, 1.0 ) | ||
( 600.0/grid_res, 0.0 ) | ||
); | ||
|
||
boundary_dist = ( | ||
( 0.0, 1.0 ) | ||
( 400.0/grid_res, 0.0 ) | ||
); | ||
|
||
convex_hull_dist = ( | ||
( 0.0, 1.0 ) | ||
( 400.0/grid_res, 0.0 ) | ||
); | ||
|
||
angle_diff = ( | ||
( 0.0, 1.0 ) | ||
( 30.0, 1.0 ) | ||
( 90.0, 0.0 ) | ||
); | ||
|
||
aspect_diff = ( | ||
( 0.00, 1.0 ) | ||
( 0.10, 1.0 ) | ||
( 0.75, 0.0 ) | ||
); | ||
|
||
corner = 0.8; | ||
ratio_if = ( | ||
( 0.0, 0.0 ) | ||
( corner, 1.0 ) | ||
( 1.0, 1.0 ) | ||
); | ||
|
||
area_ratio = ratio_if; | ||
|
||
int_area_ratio = ( | ||
( 0.00, 0.00 ) | ||
( 0.10, 0.50 ) | ||
( 0.25, 1.00 ) | ||
( 1.00, 1.00 ) | ||
); | ||
|
||
curvature_ratio = ratio_if; | ||
|
||
complexity_ratio = ratio_if; | ||
|
||
inten_perc_ratio = ratio_if; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Total interest threshold for determining matches | ||
// | ||
total_interest_thresh = 0.7; | ||
|
||
// | ||
// Interest threshold for printing output pair information | ||
// | ||
print_interest_thresh = 0.0; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Plotting information | ||
// | ||
met_data_dir = "MET_BASE"; | ||
|
||
fcst_raw_plot = { | ||
color_table = "MET_BASE/colortables/met_default.ctable"; | ||
plot_min = 0.0; | ||
plot_max = 25.4; | ||
} | ||
|
||
obs_raw_plot = { | ||
color_table = "MET_BASE/colortables/met_default.ctable"; | ||
plot_min = 0.0; | ||
plot_max = 25.4; | ||
} | ||
|
||
object_plot = { | ||
color_table = "MET_BASE/colortables/mode_obj.ctable"; | ||
} | ||
|
||
// | ||
// Boolean for plotting on the region of valid data within the domain | ||
// | ||
plot_valid_flag = FALSE; | ||
|
||
// | ||
// Plot polyline edges using great circle arcs instead of straight lines | ||
// | ||
plot_gcarc_flag = FALSE; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// NetCDF matched pairs, PostScript, and contingency table output files | ||
// | ||
ps_plot_flag = TRUE; | ||
nc_pairs_flag = TRUE; | ||
ct_stats_flag = TRUE; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
shift_right = 0; // grid squares | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
output_prefix = ""; | ||
version = "V11.1.0"; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// |
Oops, something went wrong.