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

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

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

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

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

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

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 = {
   sid_inc         = [];
   sid_exc         = [];
   obs_quality_inc = [];
   obs_quality_exc = [];
   cat_thresh      = [];
   message_type    = [ "ADPSFC" ];

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

   field = [
      {
        desc = "NO_MPR_THRESH";
      },
      {
        mpr_column = [ "OBS-FCST" ];
        mpr_thresh = [ >=-5&&<=5  ];
        desc       = "OBS_FCST_DIFF";
      },
      {
        mpr_column = [ "ABS(OBS-FCST)" ];
        mpr_thresh = [ <=5             ];
        desc       = "ABS_OBS_FCST_DIFF";
      },
      { 
        mpr_column = [ "ABS(OBS-CLIMO_MEAN)" ];
        mpr_thresh = [ <=5                   ];
        desc       = "ABS_OBS_CLIMO_MEAN_DIFF";
      },
      { 
        mpr_column = [ "CLIMO_CDF" ];
        mpr_thresh = [ >=0.25&&<=0.75 ];
        desc       = "CLIMO_CDF_IQR";
      }
   ];
}
obs = fcst;

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

//
// Climatology mean data
//
climo_mean = fcst;
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      = ${HOUR_INTERVAL};
}

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    = 1;
   center_bins = FALSE;
   write_bins  = TRUE;
   direct_prob = FALSE;
}

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

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

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

//
// Verification masking regions
//
mask = {
   grid  = [ "FULL" ];
   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  = STAT;
   sal1l2 = NONE;
   vl1l2  = NONE;
   val1l2 = NONE;
   vcnt   = NONE;
   pct    = NONE;
   pstd   = NONE;
   pjc    = NONE;
   prc    = NONE;
   ecnt   = NONE;
   orank  = NONE;
   rps    = NONE;
   eclv   = NONE;
   mpr    = NONE;
   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";

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