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

wgrib2: -ncep_uv


Operatinal NCEP grib files often have the U and corresponding V fields in the same grib message. (U and V are submessages.) Typically wgrib2 converts all the submessages into individual messages. In order to combine the U and V fields together, you replace the -grib option with -ncep_uv. Options like -grib_out and -new_grid do not have the capability to combine the U and V fields. For theses cases, you run the output through wgrib2.


-ncep_uv output_file


$ wgrib2 test.grb2 -match ":500 mb:" -ncep_uv output.grb

$ wgrib2 test.grb2 -inv /dev/null -new_grid_winds earth -new_grid ncep grid 221 - | wgrib2 - -ncep_uv output.grb

See also: -tosubmsg -submsg -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