Skip Navigation Links www.nws.noaa.gov 
NOAA logo - Click to go to the NOAA home page National Weather Service   NWS logo - Click to go to the NWS home page
Climate Prediction Center
 
 

 
About Us
   Our Mission
   Who We Are

Contact Us
   CPC Information
   CPC Web Team

 
HOME > Monitoring_and_Data > Oceanic and Atmospheric Data > Reanalysis: Atmospheric Data > wgrib2-Match_inv
 

wgrib2: -Match_inv

Introduction

The -Match_inv option is identical to -match_inv except the "d=YYYYMMDDHH" and "D=YYYYMMDDHHmmss" fields are swapped in the inventories. The wgrib2api uses -Match_inv option to create its inventories.

Wgrib2 inventories can be used as index files and as metadata to create grib files. For index files, the -match_inv makes a fine index file as it exposes a number of important parameters that you may want to search upon. The problem with using these files for metadata for creating grib files is that it uses a reference time of "d=YYYYMMDDHH". Some applications require a reference time that includes minutes (mm). The -Match_inv option uses a reference time of "D=YYYYMMDDmmss" which solves this problem.

Usage

-Match_inv
See also: -match_inv, -set_metadata,

NOAA/ National Weather Service
National Centers for Environmental Prediction
Climate Prediction Center
5830 University Research Court
College Park, Maryland 20740
Climate Prediction Center Web Team
Page last modified: Aug 11, 2017
Disclaimer Privacy Policy