MET Online Tutorial for METv3.0

MODE Tool: Configure

The behavior of MODE is controlled by the contents of the configuration file passed to it on the command line. The default MODE configuration file may be found in the METv3.0/data/config/WrfModeConfig_default file. The configurations used by the test scripts may be found in the METv3.0/data/config/WrfModeConfig* files. Prior to modifying the configuration file, users are advised to make a copy of the default:

    cp data/config/WrfModeConfig_default tutorial/config/WrfModeConfig_tutorial

The configuration items for MODE are used to specify how the object-based verification approach is to be performed. Whereas in Point-Stat and Grid-Stat you may only compare the same type of forecast and observation fields, in MODE you may compare any two fields. When necessary, the items in the configuration file are specified separately for the forecast and observation fields. In most cases though, users will be comparing the same forecast and observation fields. The configurable items include specifications for the following:

  • The forecast and observation fields and vertical levels or accumulation intervals to be compared.
  • Options to mask out a portion of or threshold the raw fields.
  • The forecast and observation object definition parameters.
  • Options to filter out objects that don't meet a size or intensity criteria.
  • Flags to control the logic for matching/merging.
  • Weights to be applied for the fuzzy engine matching/merging algorithm.
  • Interest functions to be used for the fuzzy engine matching/merging algorithm.
  • Total interest threshold for matching/merging.
  • Various plotting options.

While the MODE configuration file contains many options, beginning users will typically only need to modify a few of them. You may find a complete description of the configurable items in the MET Users Guide or in the comments of the configuration file itself. Please take some time to review them.

For this tutorial, we'll configure MODE to verify the same 12-hour accumulated precipitation output of PCP-Combine that we used for Grid-Stat. MODE can read either GRIB files or the NetCDF output of PCP-Combine. Whereas Grid-Stat and Point-Stat may be used to compare multiple fields in one run, MODE compares a single forecast field to a single observation field.

Open up the the tutorial/config/WrfModeConfig_tutorial file for editing with the text editor of your choice and edit it as follows:

  • Set grid_res = 40;
    To set the nominal grid spacing to 40km for this grid. The grid_res parameter is used further down in the config file in defining interest functions.
  • Set fcst_field = "APCP_12(*,*)";
    Set obs_field = "APCP_12(*,*)";
    To select the forecast and observation fields of 12-hour rainfall total accumulation from the input NetCDF files.
  • Set fcst_conv_radius = 5; and obs_conv_radius = 5;
    To specify a convolution smoothing radius of 5 grid units. These parameters may be set explicity, as we're doing now, or relative to another value, like the grid_res parameter which was set above.
  • Set fcst_conv_thresh = "ge5.0"; and obs_conv_thresh = "ge5.0";
    To threshold the convolved fields and define objects. The ge portion indicates that the thresholding should be performed as greater than or equal to.
  • Set fcst_merge_flag = 0; and obs_merge_flag = 0;
    To disable the additional forecast and observation merging methods.
  • Set match_flag = 1;
    To use the one-step matching/merging method.

Save and close this file.