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

wgrib2: -stats, -max, -min

Introduction

The -stats option writes a statistical summary of the field into the inventory. The -max option writes the maximum value and the -min option writes the minimum. These option are useful for quickly determining if the field has reasonable numbers.

Usage

-stats
-max
-min

Example

$ wgrib2 test.grb2 -stats
1:0:ndata=65160:undef=0:mean=83.8696:min=-428.1:max=317.8

ndata = number of grid points
undef = number of grid points with an undefined value
mean = grid point average (not area weighted)
min = minimum value
max = maximum value

$ wgrib2 test.grb2 -max
1:0:max=317.8

$ wgrib2 test.grb2 -min
1:0:min=-428.1

See also: -undefine


NOAA/ National Weather Service
National Centers for Environmental Prediction
Climate Prediction Center
5200 Auth Road
Camp Springs, Maryland 20746
Climate Prediction Center Web Team
Page last modified: May 15, 2005

See also: -undefine


NOAA/ National Weather Service
National Centers for Environmental Prediction
Climate Prediction Center
5200 Auth Road
Camp Springs, Maryland 20746
Climate Prediction Center Web Team
Page last modified: May 15, 2005
Disclaimer Privacy Policy