Skip Navigation Links 
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 -last

wgrib2: -last


The -last FILE option writes the results of last inventory option to FILE. The FILE can be a disk file, temporary file or memory file. If the -last option preceeds any inventory options, then the "grib message number[.submessage number:byte location" will be written to the file.

The -last option was designed for callable wgrib2. This allows calls to wgrib2 to obtain inventory information. Note the -s_out FILE option should be replaced by the more powerful -s -last FILE syntax.


-last FILE
See also: -last0

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: July 1, 2015
Disclaimer Privacy Policy