MET Online Tutorial for METv3.0

Grid-Stat Tool: Run

Next, we'll run Grid-Stat twice on the command line using the following two commands:

    bin/grid_stat \
    tutorial/out/pcp_combine/sample_fcst_24L_2005080800V_12A.nc \
    tutorial/out/pcp_combine/sample_obs_2005080800V_12A.nc \
    tutorial/config/GridStatConfig_APCP_12 \
    -outdir tutorial/out/grid_stat \
    -v 2


    bin/grid_stat \
    data/sample_fcst/2005080312/pop5km_2005080312F096.grib_G212 \
    tutorial/out/pcp_combine/sample_obs_2005080800V_12A.nc \
    tutorial/config/GridStatConfig_POP_12 \
    -outdir tutorial/out/grid_stat \
    -v 2

With the bootstrap confidence intervals turned off, these Grid-Stat commands should run very quickly - in a matter of seconds.

In the first command, which verifies a precipitation forecast, Grid-Stat performs 28 verification tasks. The 28 tasks are a result of: (1 field (APCP at 12-hours) * 4 masking regions) + (1 field * 2 neighborhood sizes * 3 raw thresholds * 4 masking regions)

In the second command, which verifies a probability of precipitation forecast, Grid-Stat performs only 4 verification tasks. The 4 tasks are a result of: (1 field (APCP at 12-hours) * 4 masking regions). Note that the neighborhood verification methods are not applied to probability forecasts.

The output file names from these two commands are of the form:

    For the first command:
    ls tutorial/out/grid_stat/grid_stat_240000L_20050808_000000V*

    For the second command:
    ls tutorial/out/grid_stat/grid_stat_1080000L_20050808_000000V*

Note how similar these output filenames are. Since they're both verified against the same observation file, the valid times listed (20050808_000000V) are the same. The only difference is in the forecast lead times, 24 hours for the first command and 108 hours for the second command. If you'd like to differentiate these output file names in a more descriptive way, you could set the output_prefix parameter in the configuration files. For example, setting the output_prefix parameter to APCP in the first configuration file and POP in the second configuration file would result in the following naming conventions:

    grid_stat_APCP_240000L_20050808_000000V* for the first command
    grid_stat_POP_1080000L_20050808_000000V* for the second command