1MGD77TRACK(1)                Generic Mapping Tools               MGD77TRACK(1)
2
3
4

NAME

6       mgd77track - A shiptrack plotting program
7

SYNOPSIS

9       mgd77track    NGDC-ids    -Rwest/east/south/north[r]   -Jparameters   [
10       -A[c][size][,spacing] ]  [ -B[p|s]parameters ] [ -Cf|g|e ] [  -Dastart‐
11       date  ]  [  -Dbstopdate  ]  [  -F  ] [ -Gd|tgap ] [ -Iignore ] [ -K ] [
12       -Ltrackticks ] [ -O ] [ -P ] [ -Sastartdist[u] ] [ -Sbstopdist[u]  ]  [
13       -TT|t|dms,mc,mfs,mf,mfc ] [ -U[just/dx/dy/][c|label] ] [ -V ] [ -Wpen ]
14       [ -X[a|c|r][x-shift[u]] ] [ -Y[a|c|r][y-shift[u]] ] [ -ccopies ]
15

DESCRIPTION

17       mgd77track reads NGDC MGD77 cruises and creates  PostScript  code  that
18       will  plot one or more ship tracks on a map using the specified projec‐
19       tion.  The PostScript code is written to standard output.
20
21       NGDC-ids
22              Can be one or more of five kinds of specifiers:
23              1) 8-character NGDC IDs, e.g., 01010083, JA010010etc., etc.
24              2) 2-character <agency> codes which will return all cruises from
25              each agency.
26              3)  4-character  <agency><vessel>  codes,  which will return all
27              cruises from those vessels.
28              4) =<list>, where <list> is a table with NGDC IDs, one per line.
29              5) If nothing is specified we return all  cruises  in  the  data
30              base.
31              (See mgd77info -L for agency and vessel codes).  The ".mgd77" or
32              ".nc" extensions will automatically be appended, if needed  (use
33              -I  to  ignore certain file types).  Cruise files will be looked
34              for first in the current directory and second in all directories
35              listed in $MGD77_HOME/mgd77_paths.txt [If $MGD77_HOME is not set
36              it will default to $GMT_SHAREDIR/mgd77].
37
38       -J     Selects the map projection. Scale is  UNIT/degree,  1:xxxxx,  or
39              width  in  UNIT  (upper case modifier).  UNIT is cm, inch, or m,
40              depending on the MEASURE_UNIT setting in .gmtdefaults4, but this
41              can be overridden on the command line by appending c, i, or m to
42              the scale/width  value.   When  central  meridian  is  optional,
43              default  is  center  of  longitude  range on -R option.  Default
44              standard parallel is the equator.  For map  height,  max  dimen‐
45              sion,  or min dimension, append h, +, or - to the width, respec‐
46              tively.
47              More details can be found in the psbasemap man pages.
48
49              CYLINDRICAL PROJECTIONS:
50
51              -Jclon0/lat0/scale (Cassini)
52              -Jcyl_stere/[lon0/[lat0/]]scale (Cylindrical Stereographic)
53              -Jj[lon0/]scale (Miller)
54              -Jm[lon0/[lat0/]]scale (Mercator)
55              -Jmlon0/lat0/scale (Mercator - Give meridian and standard paral‐
56              lel)
57              -Jo[a]lon0/lat0/azimuth/scale  (Oblique  Mercator  -  point  and
58              azimuth)
59              -Jo[b]lon0/lat0/lon1/lat1/scale (Oblique Mercator - two points)
60              -Joclon0/lat0/lonp/latp/scale  (Oblique  Mercator  -  point  and
61              pole)
62              -Jq[lon0/[lat0/]]scale (Cylindrical Equidistant)
63              -Jtlon0/[lat0/]scale (TM - Transverse Mercator)
64              -Juzone/scale (UTM - Universal Transverse Mercator)
65              -Jy[lon0/[lat0/]]scale (Cylindrical Equal-Area)
66
67              CONIC PROJECTIONS:
68
69              -Jblon0/lat0/lat1/lat2/scale (Albers)
70              -Jdlon0/lat0/lat1/lat2/scale (Conic Equidistant)
71              -Jllon0/lat0/lat1/lat2/scale (Lambert Conic Conformal)
72              -Jpoly/[lon0/[lat0/]]scale ((American) Polyconic)
73
74              AZIMUTHAL PROJECTIONS:
75
76              -Jalon0/lat0[/horizon]/scale (Lambert Azimuthal Equal-Area)
77              -Jelon0/lat0[/horizon]/scale (Azimuthal Equidistant)
78              -Jflon0/lat0[/horizon]/scale (Gnomonic)
79              -Jglon0/lat0[/horizon]/scale (Orthographic)
80              -Jglon0/lat0/altitude/azimuth/tilt/twist/Width/Height/scale
81              (General Perspective).
82              -Jslon0/lat0[/horizon]/scale (General Stereographic)
83
84              MISCELLANEOUS PROJECTIONS:
85
86              -Jh[lon0/]scale (Hammer)
87              -Ji[lon0/]scale (Sinusoidal)
88              -Jkf[lon0/]scale (Eckert IV)
89              -Jk[s][lon0/]scale (Eckert VI)
90              -Jn[lon0/]scale (Robinson)
91              -Jr[lon0/]scale (Winkel Tripel)
92              -Jv[lon0/]scale (Van der Grinten)
93              -Jw[lon0/]scale (Mollweide)
94
95              NON-GEOGRAPHICAL PROJECTIONS:
96
97              -Jp[a]scale[/origin][r|z] (Polar coordinates (theta,r))
98              -Jxx-scale[d|l|ppow|t|T][/y-scale[d|l|ppow|t|T]]  (Linear,  log,
99              and power scaling)
100
101       -R     west, east, south, and north specify the Region of interest, and
102              you   may   specify   them   in   decimal    degrees    or    in
103              [+-]dd:mm[:ss.xxx][W|E|S|N]  format.  Append r if lower left and
104              upper right map coordinates are given instead of  w/e/s/n.   The
105              two  shorthands  -Rg  and -Rd stand for global domain (0/360 and
106              -180/+180 in longitude respectively, with -90/+90 in  latitude).
107              Alternatively, specify the name of an existing grid file and the
108              -R settings (and grid spacing, if applicable)  are  copied  from
109              the grid.
110

OPTIONS

112       No space between the option flag and the associated arguments.
113
114       -A     Append c to annotate using the MGD77 cruise ID [Default uses the
115              filename prefix].  Optional size is the  font  size  in  points.
116              The  leg  annotation  font  is  controlled  by  LABEL_FONT.   By
117              default, each leg is annotated every  time  it  enters  the  map
118              region. Alternatively, append ,spacing to place this label every
119              spacing units apart along the track.  Append one of the units  k
120              (km), n (nautical mile), d (day), or h (hour).
121
122       -B     Sets  map  boundary  annotation  and tickmark intervals; see the
123              psbasemap man page for all the details.
124
125       -C     Select procedure for along-track distance calculation:
126                   f Flat Earth distances.
127                   g Great circle distances [Default].
128                   e Geodesic distances on current GMT ellipsoid.
129
130       -Da    Do  not  plot  data   collected   before   startdate   (yyyy-mm-
131              ddT[hh:mm:ss])  [Default is first day].
132
133       -Db    Do   not   plot   data   collected   after   stopdate  (yyyy-mm-
134              ddT[hh:mm:ss]). [Default is last day].
135
136       -F     Do not apply the error bit flags if present  in  a  MGD77+  file
137              [Default will apply these flags upon reading the data].
138
139       -G     Let  successive  point  separations  exceeding dgap (km) or tgap
140              (minutes) indicate a break in the track where we should not draw
141              a  line  [no  gaps recognized].  Repeat to use both types of gap
142              checking.
143
144       -I     Ignore certain data  file  formats  from  consideration.  Append
145              a|c|t  to  ignore  MGD77  ASCII,  MGD77+  netCDF, or plain table
146              files, respectively. The option may be repeated to  ignore  more
147              than one format.  [Default ignores none].
148
149       -K     More  PostScript code will be appended later [Default terminates
150              the plot system].
151
152       -L     To put time/distance log-marks on the track.  E.g.  a500ka24ht6h
153              means  (a)nnotate  every 500 km (k) and 24 h(ours), with (t)ick‐
154              marks every 500 km and 6 hours.  Alternatively you may  use  the
155              modifiers d (days) and n (nautical miles).
156
157       -O     Selects  Overlay  plot mode [Default initializes a new plot sys‐
158              tem].
159
160       -P     Selects Portrait plotting mode [Default is Landscape, see gmtde‐
161              faults to change this].
162
163       -Sa    Do  not plot data that are less than startdist meter along track
164              from port of departure.  Append k for km, m for miles, or n  for
165              nautical miles [Default is 0 meters].
166
167       -Sb    Do  not  plot data that are more than stopdist meter along track
168              from port of departure.  Append k for km, m for miles, or n  for
169              nautical miles [Default is end of track].
170
171       -T     Controls the attributes of the three kinds of markers (T for the
172              first time marker in a new day, t for additional time markers in
173              the  same  day,  and d for distance markers).  For each of these
174              you can specify the  5  comma-separated  attributes  markersize,
175              markercolor,  markerfontsize,  markerfont,  and markerfontcolor.
176              Repeat the -T option for each marker type.
177
178       -U     Draw Unix System time stamp on plot.  By adding just/dx/dy/, the
179              user  may  specify  the justification of the stamp and where the
180              stamp should fall on the page relative to lower left  corner  of
181              the  plot.  For example, BL/0/0 will align the lower left corner
182              of the time stamp with  the  lower  left  corner  of  the  plot.
183              Optionally,  append  a  label, or c (which will plot the command
184              string.).  The  GMT  parameters  UNIX_TIME,  UNIX_TIME_POS,  and
185              UNIX_TIME_FORMAT  can affect the appearance; see the gmtdefaults
186              man page for details.  The time string will be in the locale set
187              by the environment variable TZ (generally local time).
188
189       -W     Append  pen  used  for  the trackline. [Default is 0.25p,black].
190              [Default is solid].
191
192       -X -Y  Shift plot origin relative to the current origin by  (x-shift,y-
193              shift)  and optionally append the length unit (c, i, m, p).  You
194              can prepend a to shift the origin back to the original  position
195              after  plotting,  or  prepend   r [Default] to reset the current
196              origin to the new location.  If -O is used then the default  (x-
197              shift,y-shift)  is  (0,0), otherwise it is (r1i, r1i) or (r2.5c,
198              r2.5c).  Alternatively, give c to align the center coordinate (x
199              or  y)  of the plot with the center of the page based on current
200              page size.
201
202       -V     Selects verbose mode, which will send progress reports to stderr
203              [Default runs "silently"].
204
205       -c     Specifies the number of plot copies. [Default is 1].
206

EXAMPLES

208       To  generate a Mercator plot of the track of the cruise 01010007 in the
209       area 70W to 20E, 40S to 20N, using a Mercator scale of  0.1inch/degree,
210       label  the  tracks  with  10 points characters, annotate the boundaries
211       every 10 degrees, draw gridlines every 5 degrees, and  mark  the  track
212       every  day  and  1000 km, with ticks every 6 hours and 250 km, and send
213       the plot to the default printer, enter the following command:
214
215       mgd77track    01010007    -R70W/20E/40S/20N    -Jm0.1    -B10g5    -A10
216       -La1da1000kf6hf250k | lpr
217

SEE ALSO

219       mgd77info(1), psbasemap(1) mgd77list(1)
220

REFERENCES

222       Wessel,  P.,  and W. H. F. Smith, 2009, The Generic Mapping Tools (GMT)
223       version 4.5.0 Technical Reference & Cookbook, SOEST/NOAA.
224       Wessel, P., and W. H. F. Smith, 1998, New, Improved Version of  Generic
225       Mapping Tools Released, EOS Trans., AGU, 79 (47), p. 579.
226       Wessel,  P.,  and W. H. F. Smith, 1995, New Version of the Generic Map‐
227       ping Tools Released, EOS Trans., AGU, 76 (33), p. 329.
228       Wessel, P., and W. H. F. Smith, 1995, New Version of the  Generic  Map‐
229       ping Tools Released, http://www.agu.org/eos_elec/95154e.html, Copyright
230       1995 by the American Geophysical Union.
231       Wessel, P., and W. H. F. Smith, 1991, Free Software Helps Map and  Dis‐
232       play Data, EOS Trans., AGU, 72 (41), p. 441.
233       The   Marine   Geophysical   Data   Exchange   Format  -  "MGD77",  see
234       http://www.ngdc.noaa.gov/mgg/dat/geodas/docs/mgd77.txt
235
236
237
238GMT 4.5.6                         10 Mar 2011                    MGD77TRACK(1)
Impressum