MET Online Tutorial for METv3.0

Stat-Analysis Tool: Run

Next, run Stat-Analysis on the command line using the following command:

    bin/stat_analysis \
    -lookin tutorial/out/point_stat \
    -out tutorial/out/stat_analysis/stat_analysis.out \
    -config tutorial/config/STATAnalysisConfig_tutorial \
    -v 2

Stat-Analysis is now performing the analysis jobs we requested in the configuration file. It is writing the output of our four jobs to the file we specified using the -out command line argument. It should run in only a couple of seconds since we're analyzing such a small sample of STAT data. In general though, Stat-Analysis can be used to process very large amounts of data, a whole season's worth, in a relatively short amount of time.

Next, we'll run a fifth job on the probabilistic output from the Grid-Stat tool, but this time using command line options rather than supplying a configuration file:

    bin/stat_analysis \
    -lookin tutorial/out/grid_stat \
    -job aggregate_stat \
    -dump_row tutorial/out/stat_analysis/job5_aggr_stat_pstd.stat \
    -vx_mask EAST -vx_mask WEST \
    -line_type PCT \
    -out_line_type PSTD \
    -v 2

The output of this Stat-Analysis job is printed to the screen since we didn't redirect the output to a file using the -out command line option. This job has aggregated two probability contingency table count (PCT) STAT lines, one for the EAST and one for the WEST, and it has written out the corresponding statistics (PSTD) STAT line. The output for this job includes the following 3 lines:

  • The JOB_LIST line lists the job command options that were used to perform this job.
  • The COL_NAME line consists of the column names for the statistics listed in the next line.
  • The PSTD line consists of the output for the probabilistic statistics (PSTD) STAT line. However, only the columns that appear after the LINE_TYPE column are shown.

Lastly, we'll run a sixth job to look at verification of wind direction in the output of the Point-Stat tool. Just as we did above, we'll use the EAST and WEST verification regions to aggregate the vector partial sums (VL1L2) for winds and look at errors in the wind direction. Run the following job on the command line:

    bin/stat_analysis \
    -lookin tutorial/out/point_stat \
    -job aggregate_stat \
    -dump_row tutorial/out/stat_analysis/job6_aggr_stat_wdir.stat \
    -vx_mask EAST -vx_mask WEST \
    -interp_pnts 25 \
    -fcst_thresh ge1.0 \
    -line_type VL1L2 \
    -out_line_type WDIR \
    -v 2

The output of this Stat-Analysis job includes the following 4 lines: the JOB_LIST, COL_NAME, ROW_MEAN_WDIR, and AGGR_WDIR. See the MET Users Guide for details on these output lines.