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

count
 
HOME > Monitoring_and_Data > Oceanic and Atmospheric Data > Reanalysis: Atmospheric Data > wgrib2-cout
 

wgrib2: -grid_changes

Introduction

The -grid_changes option is a safety option. Normally we don't expect the grid to change within a file. Many programs would fail if the grid did change. This option prints to stderr, the number of times the grid changed within the file.

Usage

-grid_changes

Example

$ wgrib2 fcst.grb2 -bin fcst.bin -grid_changes -count
-sh-3.00$ wgrib2 fcst.grb2 -bin fcst.bin -grid_changes
1:4:d=2007032600:HGT:1000 mb:anl:
2:422561:d=2007032600:HGT:1000 mb:3 hour fcst:
Good: only one grid
number of records: 2
In the above example, we converted the file to binary. It consisted of a single grid and two records.

See also: count


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