1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
<HTML>
<HEAD>
<TITLE>grdinfo</TITLE>
</HEAD>
<BODY>
<H1>grdinfo</H1>
<HR>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
grdinfo - Get information about the contents of a 2-D grd
file
</PRE>
<H2>SYNOPSIS</H2><PRE>
<B>grdinfo</B> <I>grdfiles</I> [ <B>-C</B> ] [ <B>-D</B> ] [ <B>-F</B> ] [ <B>-L1</B> ] [ <B>-L2</B> ] [ <B>-M</B>
] [ <B>-V</B> ]
</PRE>
<H2>DESCRIPTION</H2><PRE>
<B>grdinfo</B> 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-incre
ments, 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.
<I>grdfile</I>
The name of one or several 2-D grd files.
</PRE>
<H2>OPTIONS</H2><PRE>
No space between the option flag and the associated argu
ments.
<B>-C</B> Formats the report using tab-separated fields on a
single line. The output is <I>w</I> <I>e</I> <I>s</I> <I>n</I> <I>z0</I> <I>z1</I> <I>dx</I> <I>dy</I> <I>nx</I>
<I>ny</I> [ <I>x0</I> <I>y0</I> <I>x1</I> <I>y1</I> ] [ <I>med</I> <I>scale</I> ] [ <I>mean</I> <I>std</I> <I>rms</I>]
[<I>n</I><B>_</B><I>nan</I>]. The data in brackets are output only if
the corresponding options <B>-M,</B> <B>-L1</B>, <B>-L2</B>, and <B>-M</B> <B>are</B>
<B>used,</B> <B>respectively.</B>
<B>-D</B> Report grid domain and x/y-increments using
dd:mm:ss[.fff] notation [Default is decimal]. Does
not apply to the <B>-C</B> option.
<B>-F</B> Report grid domain and x/y-increments world mapping
format [Default is generic]. Does not apply to the
<B>-C</B> option.
<B>-L1</B> Report median and L1 scale of z (L1 scale = 1.4826
* Median Absolute Deviation (MAD)).
<B>-L2</B> Report mean and standard deviation of z.
<B>-M</B> Find and report the location of min/max z-values,
and count and report the number of nodes set to
NaN, if any.
<B>-V</B> Selects verbose mode, which will send progress
reports to stderr [Default runs "silently"].
</PRE>
<H2>EXAMPLES</H2><PRE>
grdinfo <B>-L1</B> <B>-L2</B> <B>-M</B> hawaii_topo.grd
</PRE>
<H2>SEE ALSO</H2><PRE>
<I>gmt</I>(l), <I><A HREF="grd2cpt.html">grd2cpt</A></I>(l), <I><A HREF="grd2xyz.html">grd2xyz</A></I>(l), <I><A HREF="grdedit.html">grdedit</A></I>(l)
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
<body bgcolor="#ffffff">
|