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

//
// Filtering input STAT lines by the contents of each column
//
model = [];
desc  = [];

fcst_lead = [];
obs_lead  = [];

fcst_valid_beg  = "";
fcst_valid_end  = "";
fcst_valid_inc  = [];
fcst_valid_exc  = [];
fcst_valid_hour = [];

obs_valid_beg   = "";
obs_valid_end   = "";
obs_valid_inc   = [];
obs_valid_exc   = [];
obs_valid_hour  = [];

fcst_init_beg   = "";
fcst_init_end   = "";
fcst_init_inc   = [];
fcst_init_exc   = [];
fcst_init_hour  = [];

obs_init_beg    = "";
obs_init_end    = "";
obs_init_inc    = [];
obs_init_exc    = [];
obs_init_hour   = [];

fcst_var = [ "APCP_24" ];
obs_var  = [];

fcst_lev = [];
obs_lev  = [];

obtype = [];

vx_mask = [];

interp_mthd = [];

interp_pnts = [];

fcst_thresh = [];
obs_thresh  = [];
cov_thresh  = [];

alpha = [];

line_type = [];

column = [];

weight = [];

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

//
// Array of STAT-Analysis jobs to be performed on the filtered data
//
jobs = [
   "-job aggregate -line_type PCT \
    -by INTERP_MTHD,INTERP_PNTS \
    -out_stat ${OUTPUT_DIR}/stat_analysis_CONFIG_HIRA_agg_pct_out.stat",

   "-job aggregate_stat -line_type MPR -out_line_type CTC -interp_mthd NBRHD_SQUARE \
    -by INTERP_PNTS,FCST_THRESH \
    -out_fcst_thresh ge0.5 -out_obs_thresh gt0 \
    -out_stat ${OUTPUT_DIR}/stat_analysis_CONFIG_HIRA_agg_stat_mpr_ctc_out.stat"
];

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

//
// Confidence interval settings
//
out_alpha = 0.05;

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

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

//
// Skill score index options
//
ss_index_name       = "SS_INDEX";
ss_index_vld_thresh = 1.0;

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

hss_ec_value   = NA;
rank_corr_flag = TRUE;
vif_flag       = FALSE;
tmp_dir        = "/tmp";
version        = "V11.1.0";

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