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

wgrib2: -nxny


The -nxny option prints the size of a "rectangular" grid. Of course not all grids are rectangular.

$ ./wgrib2 test.grb2 -s -nxny -d 1
1:0:d=2005090200:HGT:1000 mb:60 hour fcst:(720 x 361)
The above grid is a 0.5 x 0.5 degree global grid.
$ ./wgrib2 ../ecmwf/gaussian_reduced.grib2 -s -nxny -d 1
1:0:d=2006081712:var discipline=0 master_table=4 parmcat=0 parm=0:500 mb:12 hour 
fcst:(-1 x 800)
Here, the thinned Gaussian grid has 800 latitudes and a varying number of longitude points.


See also: -npts

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