////////////////////////////////////////////////////////////////////////////////
//
// Gen-Ens-Prod 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
// 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     = NONE;
cat_thresh    = [];
nc_var_str    = "";

//
// Ensemble fields to be processed
//
ens = {
   ens_thresh = 0.80;
   vld_thresh = 1.0;

   name  = "TMP";
   level = "Z2";

   field = [
      { normalize  = NONE;                                          },
      { normalize  = CLIMO_ANOM;     nc_var_str = "CLIMO_ANOM";     }, 
      { normalize  = CLIMO_STD_ANOM; nc_var_str = "CLIMO_STD_ANOM"; },
      { normalize  = FCST_ANOM;      nc_var_str = "FCST_ANOM";      },
      { normalize  = FCST_STD_ANOM;  nc_var_str = "FCST_STD_ANOM";  }
   ];
}

//
// IDs for ensemble members
// Only set if processing a single file with all ensembles
//
ens_member_ids = [];
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 = ens;
climo_mean = {

   file_name = [ "${CLIMO_MEAN_FILE}" ];

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

   time_interp_method = DW_MEAN;
   day_interval       = 1;
   hour_interval      = 6;
}

climo_stdev = climo_mean;
climo_stdev = {
   file_name = [ "${CLIMO_STDEV_FILE}" ];
}

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

//
// 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       = TRUE;
   max       = TRUE;
   range     = FALSE;
   vld_count = FALSE;
   frequency = FALSE;
   nep       = FALSE;
   nmep      = FALSE;
   climo     = TRUE;
   climo_cdp = TRUE;
}

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

version = "V11.1.0";

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