mgd77path (1) - Linux Man Pages
mgd77path: Return paths to MGD77 cruises and directories
NAMEmgd77path - Return paths to MGD77 cruises and directories
mgd77path NGDC-ids [ [-] ] [ ] [ ignore ] [ [level] ]
- Can be one or more of five kinds of specifiers:
- 8-character NGDC IDs, e.g., 01010083, JA010010etc., etc.
- 2-character <agency> codes which will return all cruises from each agency.
- 4-character <agency><vessel> codes, which will return all cruises from those vessels.
- =<list>, where <list> is a table with NGDC IDs, one per line.
If nothing is specified we return all cruises in the data base.
(See mgd77info -L for agency and vessel codes). The ".mgd77" or ".nc" extensions will automatically be appended, if needed (use -I to ignore certain file types). Cruise files will be looked for first in the current directory and second in all directories listed in $MGD77_HOME/mgd77_paths.txt [If $MGD77_HOME is not set it will default to $GMT_SHAREDIR/mgd77].
- Display the full path to each cruise [Default]. Optionally, append - which will list just the cruise IDs instead.
- Instead of cruise listings, just show the directory paths currently used in the search.
- Ignore certain data file formats from consideration. Append a|c|t to ignore MGD77 ASCII, MGD77+ netCDF, or plain tab-separated ASCII table files, respectively. The option may be repeated to ignore more than one format. [Default ignores none].
- -V[level] (more ...)
- Select verbosity level [c]. Reports the total number of cruises found.
- -^ or just -
- Print a short message about the syntax of the command, then exits (NOTE: on Windows use just -).
- -+ or just +
- Print an extensive usage (help) message, including the explanation of any module-specific option (but not the GMT common options), then exits.
- -? or no arguments
- Print a complete usage (help) message, including the explanation of options, then exits.
- Print GMT version and exit.
- Print full path to GMT share directory and exit.
To obtain pathnames for cruises 01010008 and 01010007, run
gmt mgd77path 01010008 01010007
To obtain pathnames for cruises 01010008 and 01010007, but only if there are MGD77+ version in netCDF, run
gmt mgd77path 01010008 01010007 -Ia -It
To see the list of active directories where MGD77 files might be stored, run
gmt mgd77path -D
The Marine Geophysical Data Exchange Format - MGD77, see *http://www.ngdc.noaa.gov/mgg/dat/geodas/docs/mgd77.txt*.
COPYRIGHT2015, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe