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
|
<HTML>
<HEAD>
<TITLE>grdcut</TITLE>
</HEAD>
<BODY>
<H1>grdcut</H1>
<HR>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
grdcut - Extract a subregion out of a <I>.grd</I> file
</PRE>
<H2>SYNOPSIS</H2><PRE>
<B>grdcut</B> <I>input</I><B>_</B><I>file.grd</I> <B>-G</B><I>output</I><B>_</B><I>file.grd</I>
<B>-R</B><I>west/east/south/north</I>[<B>r</B>] [ <B>-V</B> ]
</PRE>
<H2>DESCRIPTION</H2><PRE>
<B>grdcut</B> will produce a new <I>output</I><B>_</B><I>file.grd</I> file which is a
subregion of <I>input</I><B>_</B><I>file.grd</I>. The subregion is specified
with <B>-R</B><I>west/east/south/north</I> as in other programs; the
specified range must not exceed the range of
<I>input</I><B>_</B><I>file.grd</I>. If in doubt, run <B><A HREF="grdinfo.html">grdinfo</A></B> to check range.
Complementary to <B>grdcut</B> there is <B><A HREF="grdpaste.html">grdpaste</A></B>, which will join
together two grdfiles along a common edge.
<I>input</I><B>_</B><I>file.grd</I>
this is the input <I>.grd</I> format file.
<B>-G</B><I>output</I><B>_</B><I>file.grd</I>
this is the output <I>.grd</I> format file.
<B>-R</B> <I>west,</I> <I>east,</I> <I>south,</I> and <I>north</I> specify the Region of
interest. To specify boundaries in degrees and min
utes [and seconds], use the dd:mm[:ss] format.
Append <B>r</B> if lower left and upper right map coordi
nates are given instead of wesn. This defines the
subregion to be cut out.
</PRE>
<H2>OPTIONS</H2><PRE>
<B>-V</B> Selects verbose mode, which will send progress
reports to stderr [Default runs "silently"].
</PRE>
<H2>EXAMPLES</H2><PRE>
Suppose you have used <B><A HREF="surface.html">surface</A></B> to grid ship gravity in the
region between 148E - 162E and 8N - 32N, and you do not
trust the gridding near the edges, so you want to keep
only the area between 150E - 160E and 10N - 30N, then:
grdcut grav_148_162_8_32.grd <B>-G</B>grav_150_160_10_30.grd
<B>-R</B>150/160/10/30 <B>-V</B>
</PRE>
<H2>SEE ALSO</H2><PRE>
<I><A HREF="grdpaste.html">grdpaste</A></I>(l), <I><A HREF="grdinfo.html">grdinfo</A></I>(l), <I>gmt</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">
|