Skip Navigation Links www.nws.noaa.gov 
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-small_grib
 

wgrib2: -small_grib

Introduction

The -small_grib option writes the grid values to a grib2 file with the same grid spacing but a smaller domain. The grid point locations are unchanged. This option is used to make a regional subset and only works for certain grids such as the lat-lon and Lambert conformal.

Usage

-small_grib LonW:LonE LatS:LatN file_name
For west longitudes and south latitudes, use negative values. The file_name is the output file.

Example

$ wgrib2 fcst.grb2 -small_grib 10:20 -20:20 small.grb
1:0:d=2007032600:HGT:1000 mb:anl:

$ wgrib2 small.grb -grid
1:0:grid_template=0:
        lat-lon grid:(21 x 81) units 1e-06 input WE:SN output WE:SN res 48
        lat -20.000000 to 20.000000 by 0.500000
        lon 10.000000 to 20.000000 by 0.500000 #points=1701
The first line writes a small grib file from 10E-20E and 20S-20N.

See also: -undefine, -ijsmall_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