NAME

     grdinfo - Get information about the contents of  a  2-D  grd
     file


SYNOPSIS

     grdinfo grdfiles [ -L1 ] [ -L2 ] [ -M ]


DESCRIPTION

     grdinfo reads a 2-D binary  grd  file  and  reports  various
     statistics  for the (x,y,z) data in the grdfile.  The output
     information contains the minimum/maximum values  for  x,  y,
     and  z,  where  the  min/max  of  z  occur,  the  x-  and y-
     increments, and the number of x and y  nodes,  and  [option-
     ally]  the  mean,  standard deviation, and/or the median, L1
     scale of z, and number of nodes set to NaN.

     grdfile
          The name of one or several 2-D grd files.



OPTIONS

     No space between the option flag and  the  associated  argu-
     ments.

     -L1   Report median and L1 scale of z (L1 scale =  1.4826  *
          Median Absolute Deviation (MAD)).

     -L2   Report mean and standard deviation of z.

     -M    Search for and  report  the  location  of  min/max  z-
          values, and count and report the number of nodes set to
          NaN, if any.


EXAMPLES

     To obtain all the information about the  data  set  in  file
     hawaii_topo.grd, try

     grdinfo -L1 -L2 -M hawaii_topo.grd


SEE ALSO

     gmt, grd2cpt, grd2xyz, grdedit


REFERENCES

     Wessel, P., and W. H. F. Smith, 1995,  The  Generic  Mapping
     Tools  (GMT)  version  3.0  Technical  Reference & Cookbook,
     SOEST/NOAA.
     Wessel, P., and W. H. F. Smith, 1995,  New  Version  of  the
     Generic Mapping Tools Released, EOS Trans. AGU, 76, p. 329.
     Wessel, P., and W. H. F. Smith, 1995,  New  Version  of  the
     Generic           Mapping           Tools          Released,
     http://www.agu.org/eos_elec/95154e.html, Copyright  1995  by
     the American Geophysical Union.
     Wessel, P., and W. H. F. Smith, 1991,  Free  Software  Helps
     Map and Display Data, EOS Trans. AGU, 72, p. 441.