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 -last0

wgrib2: -last0


The -last0 FILE option writes the results of last inventory option to the beginning of 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 -last0 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.


-last0 FILE
See also: -last

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: September 12, 2017
Disclaimer Privacy Policy