Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mgd77path(1gmt) [debian man page]

MGD77PATH(1gmt) 					       Generic Mapping Tools						   MGD77PATH(1gmt)

NAME
mgd77path - Get full pathname for MGD77 files SYNOPSIS
mgd77path NGDC-ids [ -D ] [ -Iignore ] [ -P[-] ] [ -V ] DESCRIPTION
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. NGDC-ids Can be one or more of five kinds of specifiers: 1) 8-character NGDC IDs, e.g., 01010083, JA010010etc., etc. 2) 2-character <agency> codes which will return all cruises from each agency. 3) 4-character <agency><vessel> codes, which will return all cruises from those vessels. 4) =<list>, where <list> is a table with NGDC IDs, one per line. 5) 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]. OPTIONS
No space between the option flag and the associated arguments. -D Instead of cruise listings, just show the directory paths currently used in the search. -I 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]. -P Display the full path to each cruise [Default]. Optionally, append - which will list just the cruise IDs instead. -V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. Reports the total number of cruises found. EXAMPLES
To obtain pathnames for cruises 01010008 and 01010007, run mgd77path 01010008 01010007 To obtain pathnames for cruises 01010008 and 01010007, but only if there are MGD77+ version in netCDF, run mgd77path 01010008 01010007 -Ia -It To see the list of active directories where MGD77 files might be stored, run mgd77path -D SEE ALSO
GMT(1) mgd77info(1) mgd77list(1) mgd77manage(1) mgd77track(1) REFERENCES
Wessel, P., and W. H. F. Smith, 2011, The Generic Mapping Tools (GMT) version 4.5.7 Technical Reference & Cookbook, SOEST/NOAA. Wessel, P., and W. H. F. Smith, 1998, New, Improved Version of Generic Mapping Tools Released, EOS Trans., AGU, 79(47), p. 579. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, EOS Trans., AGU, 76(33), p. 329. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, http://www.agu.org/eos_elec/95154e.html, Copyright 1995 by the American Geophysical Union. Wessel, P., and W. H. F. Smith, 1991, Free Software Helps Map and Display Data, EOS Trans., AGU, 72(41), p. 441. The Marine Geophysical Data Exchange Format - "MGD77", see http://www.ngdc.noaa.gov/mgg/dat/geodas/docs/mgd77.txt GMT 4.5.7 15 Jul 2011 MGD77PATH(1gmt)

Check Out this Related Man Page

MDG77TOGMT(1gmt)					       Generic Mapping Tools						  MDG77TOGMT(1gmt)

NAME
mgd77togmt - Convert an MGD-77 ASCII file to a binary gmt file SYNOPSIS
mgd77togmt [ -Llist ] [ mgd77file ] -Flegid -Ystart_year [ -Ainformation ] [ -Itime_increment ] [-T[<offset>]] [-W[<cable_length>]] [ -V ] DESCRIPTION
mgd77togmt reads an ASCII MGD-77 format file [or standard input] and creates a binary gmt file. The 16 header records specified in the MGD-77 documentation may or may not be present. If two-way travel times are available, mgd77togmt will convert those to corrected depths using the Carter tables. Both old and new (Y2K-compliant) MGD-77 files are supported. -L Name of file with several records of the format mgd77file legid start_year. For multiple files, use this option rather than the -F -Y combination. -Y The year of the first data point in the file. If not provided and -L option not used, it tries to get it from a header file. The header file must be in the same directory of the main file and must have a name equal to the main but with a .h77 extension. OPTIONS
No space between the option flag and the associated arguments. -A Set an optional 10 character information string to be stored in the header [Default is blank]. -F Leg id that will be used in file name (legid.gmt). If not given, it will be constructed from the mgd77file name plus the .gmt exten- sion. -I Used for files where time is missing. The increment is used to calculate fake times. -T Extracts Total field instead of anomaly. Since F does not hold in a 2 byte signed variable we subtract a constant [default = 40000] but you can provide another value in <offset>. -W Take into account that the magnetometer is not at ship's position. <cable> is magnetometer tow distance [default = 200 meters]. If -W only is given (e.g. no <cable>) and like with the -Y option, we try to get the tow distance from the header file. Failing, defaults to 200 meters. Note that this option will throw away the first points whose accumulated. distance since the start of mag- netic acquisition is less than cable. length, and likewise for the end of the mag profile. -V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. EXAMPLES
To create a gmt file from the ASCII file c2104.mgd77, run mgd77togmt c2104.mgd77 -Y1977 To create new gmt files from all the mgd77 files listed in list.d: mgd77togmt -Llist.d -V SEE ALSO
dat2gmt(1), GMT(1) REFERENCES
Wessel, P., and W. H. F. Smith, 2011, The Generic Mapping Tools (GMT) version 4.5.7 Technical Reference & Cookbook, SOEST/NOAA. Wessel, P., and W. H. F. Smith, 1998, New, Improved Version of Generic Mapping Tools Released, EOS Trans., AGU, 79(47), p. 579. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, EOS Trans., AGU, 76(33), p. 329. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, http://www.agu.org/eos_elec/95154e.html, Copyright 1995 by the American Geophysical Union. Wessel, P., and W. H. F. Smith, 1991, Free Software Helps Map and Display Data, EOS Trans., AGU, 72(41), p. 441. MGD77 Task Group, 1977, The Marine Geophysical Data Exchange Format - MGD77, Key to Geophysical Records documentation No. 10, National Geo- physical and Solar-Terrestrial Data Center, Boulder, CO. Carter, D. J. T., Echo Sounding Correction Tables: Formerly Matthews' Tables, 150 pp, Hydrographic Department, Ministry of Defense, Taunton, Somerset, England, 1980. GMT 4.5.7 15 Jul 2011 MDG77TOGMT(1gmt)
Man Page