MET Online Tutorial for METv8.0 | Regridding > Regrid-Data-Plane

The MET grid-to-grid tools (i.e. Grid-Stat, MODE, Wavelet-Stat, Ensemble-Stat, Series-Analysis, and so on) require that their input data be placed on a common grid prior to processing. Users may either interpolate to a common grid prior to calling the tools or utilize the automated regridding feature within the MET tools. The latter is controlled by the regrid section of the MET configuration files. In this section we discuss options for regridding prior to calling the MET grid-to-grid tools using the Regrid-Data-Plane tool, copygb for GRIB1 data, or wgrib2 for GRIB2 data.

Regrid-Data-Plane Functionality

The Regrid-Data-Plane tool reads one or more fields from any gridded data file that MET supports. It defines the output grid as a named grid, the path to a gridded data file, or an explicit grid specification string. It regrids the input data to the output grid applying the user-specified interpolation options. It writes regridded data to an output NetCDF file. Regrid-Data-Plane calls exactly the same library code that is used during the automated regridding step in the MET grid-to-grid tools. It is just a stand-alone regridding utility.

Regrid-Data-Plane Usage

View the usage statement for Regrid-Data-Plane by simply typing the following:

regrid_data_plane

At a minimum, the input_filename, output_filename, output to_grid grid specification, and at least one -field of data must be defined. You may use -field multiple times to process multiple fields of data, but there is no way to process ALL data. The -method and -width options define the regridding method to be applied.