MGD77PATH(1gmt) | GMT | MGD77PATH(1gmt) |
mgd77path - Return paths to MGD77 cruises and directories
mgd77path NGDC-ids [ -A[-] ] [ -D ] [ -Iignore ] [ -V[level] ]
Note: No space is allowed between the option flag and the associated arguments.
mgd77path returns the full pathname to one or more MGD77 files. The pathname returned for a given cruise may change with time due to reshuffling of disks/subdirectories.
(See mgd77info -L for agency and vessel codes). If no file extension is given then we search for files with one of the four known extensions. The search order (and the extensions) tried is MGD77+ (".nc"), MGD77T (".m77t"), MGD77 (".mgd77" ) and plain text file (".dat"). Use -I to ignore one or more of these 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].
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
gmt mgd77info mgd77list mgd77manage mgd77track
The Marine Geophysical Data Exchange Format - MGD77, see *http://www.ngdc.noaa.gov/mgg/dat/geodas/docs/mgd77.txt*.
2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
May 21, 2019 | 5.4.5 |