MET Practical Sessions, January 2012

Wavelet-Stat Tool: General

Wavelet-Stat Functionality

The Wavelet-Stat tool provides a flexible method for decomposing spatial fields into different scales. Once decomposed, verification measures at each physical scale can be examined and compared. This allows the user to evaluate the scale on which the greatest skill or error occurs.

Wavelet-Stat Usage

View the usage statement for Wavelet-Stat by simply typing the following:

    bin/wavelet_stat
Usage: wavelet_stat  
  fcst_file Input forecast file in either GRIB or NetCDF format containing the field(s) to be verified.
  obs_file Input observation file in either GRIB or NetCDF format containing the verifying field(s).
  config_file WaveletStatConfig file containing the desired configuration settings.
  [-fcst_valid time] For forecast files with multiple output times, set the time to be verified in YYYYMMDD[_HH[MMSS]] format (optional).
  [-fcst_lead time] For forecast files with multiple lead times, set the lead time to be verified in HH[MMSS] format (optional).
  [-obs_valid time] For observation files with multiple output times, set the time to be verified in YYYYMMDD[_HH[MMSS]] format (optional).
  [-obs_lead time] For observation files with multiple lead times, set the lead time to be verified in HH[MMSS] format (optional).
  [-outdir path] Overrides the default output directory (optional).
  [-log file] Outputs log messages to the specified file (optional).
  [-ps] Disables the PostScript output file (optional).
  [-nc] Disables the NetCDF output files (optional).
  [-v level] Level of logging (optional).

NOTE: The forecast and observation fields must be on the same grid.

At a minimum, the input fcst_file in GRIB or NetCDF format (from PCP-Combine), the input obs_file in GRIB or NetCDF format (from PCP-Combine), and the configuration config_file must be passed in on the command line. The forecast and observation fields must be interpolated to a common grid prior to running the Wavelet-Stat tool. The copygb utility is recommended for regridding files in GRIB format.