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

wgrib2: -new_grid_vectors


The -new_grid_winds option selects the wind rotation/orientation for the -new_grid option. This orientation should apply to all vector quantities. However, the grib format doesn't have a flag specifying which fields are vector fields. Sometimes you like to treat vector quanties as scalars because it makes interpolation easier (for example a time series of tropical U fields). Another complication is that one often wants to duplicate the default action of copygb which is to only treat U and V as vectors.

The -new_grid_vectors option allows you to select which fields will be interpolated as vectors. The options are,

  1. none              -all fields are interpolated as scalars
  2. UGRD:VGRD  -only UGRD and VGRD are interpolated as vectors (like default copygbfault behavior)
  3. default (2.0.1 and prior)     -UGRD,VGRD,UVCSH,VVCSH,UFLX,VFLX,UGUST, VGRUT,USTM,VSTM,VDFUA,VDFVA,UOGRD,VOGRD are interpolated as vectors
  4. default (2.0.2)         -UGRD,VGRD,UVCSH,VVCSH,UFLX,VFLX,UGUST, VGRUT,USTM,VSTM,VDFUA,VDFVA,UOGRD,VOGRD,MAXUW,MAXVW are interpolated as vectors


-new_grid_vectors X
    X = none, default, UGRD:VGRD, UV list
    example UV list:   "UGRD:VGRD:UICE:VICE"
See also: -new_grid, -new_grid_interpolation

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 2, 2010
Disclaimer Privacy Policy