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

wgrib2: -fix_ncep


-fix_ncep is a "set" option that replaces certain NCEP-defined time ranges by the WMO equivalents. The current (7/2008) wgrib2 needs this option in order to correctly print out the time ranges for NCEP-defined time ranges.

The -fix_ncep option changes the memory image of the grib message. Therefore, if you want the NCEP time range, you must have the -grib or -grib_out option before the -fix_ncep option. Otherwise you will get the WMO time range.

Caution: expect this option to change as more NCEP time ranges are added




wgrib2 -fix_ncep in_grib -grib out_grib
The above line replaces NCEP time ranges by the WMO equivalents and writes out the new grib data into out_grib.

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: May 15, 2005
Disclaimer Privacy Policy