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
|