Skip to content

Commit

Permalink
Per #1918, adding gen_ens_prod unit test to demonstrate using ENS_MEM…
Browse files Browse the repository at this point in the history
…BER_ID to read climo data separately for each member.
  • Loading branch information
JohnHalleyGotway committed Mar 2, 2022
1 parent a2bb93d commit 308b461
Showing 1 changed file with 161 additions and 0 deletions.
161 changes: 161 additions & 0 deletions test/config/GenEnsProdConfig_climo_anom_ens_member_id
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
////////////////////////////////////////////////////////////////////////////////
//
// Gen-Ens-Prod configuration file.
//
// For additional information, please see the MET User's Guide.
//
////////////////////////////////////////////////////////////////////////////////

//
// Output model name to be written
//
model = "CFSv2";

//
// Output description to be written
// May be set separately in each "obs.field" entry
//
desc = "NA";

////////////////////////////////////////////////////////////////////////////////

//
// 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 = [];
normalize = CLIMO_STD_ANOM;
cat_thresh = [];
nc_var_str = "";

//
// Ensemble fields to be processed
//
ens = {
file_type = NETCDF_NCCF;
ens_thresh = 0.3;
vld_thresh = 0.3;

field = [
{
name = "fcst";
level = "(MET_ENS_MEMBER_ID,0,*,*)";
cat_thresh = [ <-0.43, >-0.43&&<=0.43, >0.43 ];
}
];
}

//
// IDs for ensemble members
// Only set if processing a single file with all ensembles
//
ens_member_ids = ["0","1","2"];
control_id = "";

////////////////////////////////////////////////////////////////////////////////

//
// Neighborhood ensemble probabilities
//
nbrhd_prob = {
width = [ 5 ];
shape = CIRCLE;
vld_thresh = 0.0;
}

//
// NMEP smoothing methods
//
nmep_smooth = {
vld_thresh = 0.0;
shape = CIRCLE;
gaussian_dx = 81.27;
gaussian_radius = 120;
type = [
{
method = GAUSSIAN;
width = 1;
}
];
}

////////////////////////////////////////////////////////////////////////////////

//
// Climatology data
//
climo_mean = {

file_name = [ "${CLIMO_MEAN_FILE}" ];
field = [
{
name = "series_cnt_FBAR";
level = "(*,*)";
}
];

regrid = {
method = NEAREST;
width = 1;
vld_thresh = 0.5;
shape = SQUARE;
}

time_interp_method = DW_MEAN;
day_interval = NA;
hour_interval = NA;
}

climo_stdev = {

file_name = [ "${CLIMO_STDEV_FILE}" ];
field = [
{
name = "series_cnt_FSTDEV";
level = "(*,*)";
}
];
}

////////////////////////////////////////////////////////////////////////////////

//
// Ensemble product output types
// May be set separately in each "ens.field" entry
//
ensemble_flag = {
latlon = TRUE;
mean = TRUE;
stdev = TRUE;
minus = FALSE;
plus = FALSE;
min = FALSE;
max = FALSE;
range = FALSE;
vld_count = FALSE;
frequency = TRUE;
nep = FALSE;
nmep = FALSE;
climo = FALSE;
climo_cdp = FALSE;
}

////////////////////////////////////////////////////////////////////////////////

version = "V10.1.0";

////////////////////////////////////////////////////////////////////////////////

0 comments on commit 308b461

Please sign in to comment.