////////////////////////////////////////////////////////////////////////////////
//
// Point-Stat configuration file.
//
// For additional information, please see the MET User's Guide.
//
////////////////////////////////////////////////////////////////////////////////

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

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

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

//
// Verification grid
//
regrid = {
   to_grid    = NONE;
   method     = NEAREST;
   width      = 1;
   vld_thresh = 0.5;
   shape      = SQUARE;
}

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

mpr_column  = [];
mpr_thresh  = [];
cat_thresh  = [ NA ];
cnt_thresh  = [ NA ];
cnt_logic   = UNION;
wind_thresh = [ NA ];
wind_logic  = UNION;
eclv_points = 0.05;

//
// Forecast and observation fields to be verified
//
fcst = {

   cat_thresh = ==0.1;

   field = [
      {
        name = "PROB"; level = "Z2";
        prob = { name = "TMP"; thresh_hi = 273.0; };
      },
      {
        name = "PROB"; level = "Z2";
        prob = { name = "TMP"; thresh_lo = 298.8; };
      },
      {
        name = "PROB"; level = "Z10";
        prob = { name = "WIND"; thresh_lo = 12.89; };
      }
   ];
}

obs = {
   sid_inc         = [];
   sid_exc         = [];
   obs_quality_inc = [];
   obs_quality_exc = [];
   message_type    = [ "ADPSFC" ];

   field = [
      {
        name = "TMP"; level = "Z2";
        cat_thresh = <273.0;
      },
      {
        name = "TMP"; level = "Z2";
        cat_thresh = >298.8;
      },
      {
        name = "WIND"; level = "Z10";
        cat_thresh = >12.89;
      }
   ];
}

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

//
// Climatology mean data
//
climo_mean = obs;
climo_mean = {

   file_name = [ ${CLIMO_MEAN_FILE_LIST} ];

   regrid = {
      method     = BILIN;
      width      = 2;
      vld_thresh = 0.5;
   }

   time_interp_method = DW_MEAN;
   day_interval       = ${DAY_INTERVAL};
   hour_interval      = 6;
}

//
// Climatology standard deviation data
//
climo_stdev = climo_mean;
climo_stdev = {
  file_name = [ ${CLIMO_STDEV_FILE_LIST} ];
}

//
// May be set separately in each "obs.field" entry
//
climo_cdf = {
   cdf_bins    = 11;
   center_bins = TRUE;
   write_bins  = TRUE;
   direct_prob = FALSE;
}

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

//
// Point observation time window
//
obs_window = {
   beg = -5400;
   end =  5400;
}

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

//
// Verification masking regions
//
mask = {
   grid  = [];
   poly  = [ "MET_BASE/poly/CONUS.poly" ];
   sid   = [];
   llpnt = [];
}

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

//
// Confidence interval settings
//
ci_alpha  = [ 0.05 ];

boot = {
   interval = PCTILE;
   rep_prop = 1.0;
   n_rep    = 1000;
   rng      = "mt19937";
   seed     = "1";
}

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

//
// Interpolation methods
//
interp = {
   vld_thresh = 1.0;

   type = [
      {
         method = NEAREST;
         width  = 1;
      }
   ];
}

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

//
// HiRA verification method
//
hira = {
   flag            = FALSE;
   width           = [ 2, 3, 4, 5 ];
   vld_thresh      = 1.0;
   cov_thresh      = [ ==0.25 ];
   shape           = SQUARE;
   prob_cat_thresh = [];
}

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

//
// Statistical output types
//
output_flag = {
   fho    = NONE;
   ctc    = NONE;
   cts    = NONE;
   mctc   = NONE;
   mcts   = NONE;
   cnt    = NONE;
   sl1l2  = NONE;
   sal1l2 = NONE;
   vl1l2  = NONE;
   val1l2 = NONE;
   vcnt   = NONE;
   pct    = BOTH;
   pstd   = BOTH;
   pjc    = BOTH;
   prc    = BOTH;
   ecnt   = NONE;
   orank  = NONE;
   rps    = NONE;
   eclv   = BOTH;
   mpr    = BOTH;
   seeps  = NONE;
   seeps_mpr = NONE;
}

////////////////////////////////////////////////////////////////////////////////
// Threshold for SEEPS p1 (Probability of being dry)

seeps_p1_thresh = NA;

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

duplicate_flag = NONE;
rank_corr_flag = TRUE;
tmp_dir        = "/tmp";
output_prefix  = "${OUTPUT_PREFIX}";
version        = "V11.1.0";

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