Provided by: gmt-manpages_3.4.4-1_all

**NAME**

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

**SYNOPSIS**

grdinfogrdfiles[-C] [-D] [-F] [-L1] [-L2] [-M] [-V]

**DESCRIPTION**

grdinforeads 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 [optionally] the mean, standard deviation, and/or the median, L1 scale of z, and number of nodes set to NaN.grdfileThe name of one or several 2-D grd files.

**OPTIONS**

No space between the option flag and the associated arguments.-CFormats the report using tab-separated fields on a single line. The output iswesnz0z1dxdynxny[x0y0x1y1] [medscale] [meanstdrms] [n_nan]. The data in brackets are output only if the corresponding options-M,-L1,-L2, and-Mareused,respectively.-DReport grid domain and x/y-increments using dd:mm:ss[.fff] notation [Default is decimal]. Does not apply to the-Coption.-FReport grid domain and x/y-increments world mapping format [Default is generic]. Does not apply to the-Coption.-L1Report median and L1 scale of z (L1 scale = 1.4826 * Median Absolute Deviation (MAD)).-L2Report mean and standard deviation of z.-MFind and report the location of min/max z-values, and count and report the number of nodes set to NaN, if any.-VSelects verbose mode, which will send progress reports to stderr [Default runs "silently"].

**EXAMPLES**

To obtain all the information about the data set in file hawaii_topo.grd, try grdinfo-L1-L2-Mhawaii_topo.grd

**SEE** **ALSO**

gmt(1gmt),grd2cpt(1gmt),grd2xyz(1gmt),grdedit(1gmt) 1 Jan 2004 GRDINFO(l)