.\" Man page generated from reStructuredText. . .TH "MGD77PATH" "1gmt" "October 29, 2016" "5.3.1" "GMT" .SH NAME mgd77path \- Return paths to MGD77 cruises and directories . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBmgd77path\fP \fINGDC\-ids\fP [ \fB\-A\fP[\fB\-\fP] ] [ \fB\-D\fP ] [ \fB\-I\fP\fIignore\fP ] [ \fB\-V\fP[\fIlevel\fP] ] .sp \fBNote:\fP No space is allowed between the option flag and the associated arguments. .SH DESCRIPTION .sp \fBmgd77path\fP 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. .SH REQUIRED ARGUMENTS .INDENT 0.0 .TP .B \fINGDC\-ids\fP Can be one or more of five kinds of specifiers: .INDENT 7.0 .IP 1. 3 8\-character NGDC IDs, e.g., 01010083, JA010010etc., etc. .IP 2. 3 2\-character codes which will return all cruises from each agency. .IP 3. 3 4\-character codes, which will return all cruises from those vessels. .IP 4. 3 =, where is a table with NGDC IDs, one per line. .IP 5. 3 If nothing is specified we return all cruises in the data base. .UNINDENT .sp (See mgd77info \fB\-L\fP for agency and vessel codes). The ".mgd77" or ".nc" extensions will automatically be appended, if needed (use \fB\-I\fP to ignore certain file types). Cruise files will be looked for first in the current directory and second in all directories listed in \fB$MGD77_HOME\fP/mgd77_paths.txt [If \fB$MGD77_HOME\fP is not set it will default to \fB$GMT_SHAREDIR\fP/mgd77]. .UNINDENT .SH OPTIONAL ARGUMENTS .INDENT 0.0 .TP .B \fB\-A\fP[\fB\-\fP] Display the full path to each cruise [Default]. Optionally, append \fB\-\fP which will list just the cruise IDs instead. .UNINDENT .INDENT 0.0 .TP .B \fB\-D\fP Instead of cruise listings, just show the directory paths currently used in the search. .UNINDENT .INDENT 0.0 .TP .B \fB\-I\fP\fIignore\fP Ignore certain data file formats from consideration. Append \fBa|c|m|t\fP to ignore MGD77 ASCII, MGD77+ netCDF, MGD77 t ASCII, or plain tab\-separated ASCII table files, respectively. The option may be repeated to ignore more than one format. [Default ignores none]. .UNINDENT .INDENT 0.0 .TP .B \fB\-V\fP[\fIlevel\fP] \fI(more ...)\fP Select verbosity level [c]. Reports the total number of cruises found. .UNINDENT .INDENT 0.0 .TP .B \fB\-^\fP or just \fB\-\fP Print a short message about the syntax of the command, then exits (NOTE: on Windows use just \fB\-\fP). .TP .B \fB\-+\fP or just \fB+\fP Print an extensive usage (help) message, including the explanation of any module\-specific option (but not the GMT common options), then exits. .TP .B \fB\-?\fP or no arguments Print a complete usage (help) message, including the explanation of options, then exits. .UNINDENT .SH EXAMPLES .sp To obtain pathnames for cruises 01010008 and 01010007, run .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt mgd77path 01010008 01010007 .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp To obtain pathnames for cruises 01010008 and 01010007, but only if there are MGD77+ version in netCDF, run .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt mgd77path 01010008 01010007 \-Ia \-It .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp To see the list of active directories where MGD77 files might be stored, run .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt mgd77path \-D .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBgmt\fP \fBmgd77info\fP \fBmgd77list\fP \fBmgd77manage\fP \fBmgd77track\fP .SH REFERENCES .sp The Marine Geophysical Data Exchange Format \- MGD77, see \fI\%*http://www.ngdc.noaa.gov/mgg/dat/geodas/docs/mgd77.txt*.\fP .SH COPYRIGHT 2016, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe .\" Generated by docutils manpage writer. .