.\" Man page generated from reStructuredText. . .TH "GRDPASTE" "1gmt" "Jan 10, 2019" "5.4.5" "GMT" .SH NAME grdpaste \- Join two grids along their common edge . .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 \fBgrdpaste\fP \fIfile_a.nc file_b.nc\fP \fB\-G\fP\fIoutfile.nc\fP [ \fB\-V\fP[\fIlevel\fP] ] [ \fB\-f\fPflags ] .sp \fBNote:\fP No space is allowed between the option flag and the associated arguments. .SH DESCRIPTION .sp \fBgrdpaste\fP will combine \fIfile_a.nc\fP and \fIfile_b.nc\fP into \fIoutfile.nc\fP by pasting them together along their common edge. Files \fIfile_a.nc\fP and \fIfile_b.nc\fP must have the same dx, dy and have one edge in common. If in doubt, check with grdinfo and use grdcut and/or grdsample if necessary to prepare the edge joint. Note: For geographical grids, you may have to use \fB\-f\fP to handle periodic longitudes unless the input grids are properly recognized as such via their meta\-data. .SH REQUIRED ARGUMENTS .INDENT 0.0 .TP .B \fIfile_a.nc\fP One of two files to be pasted together. .TP .B \fIfile_b.nc\fP The other of two files to be pasted together. .UNINDENT .INDENT 0.0 .TP \fB\-G\fP\fIoutfile.nc\fP The name for the combined output. .UNINDENT .SH OPTIONAL ARGUMENTS .INDENT 0.0 .TP \fB\-V\fP[\fIlevel\fP] (more ...) Select verbosity level [c]. .UNINDENT .INDENT 0.0 .TP \fB\-f\fP[\fBi\fP|\fBo\fP]\fIcolinfo\fP (more ...) Specify data types of input and/or output columns. .UNINDENT .INDENT 0.0 .TP \fB\-^\fP or just \fB\-\fP Print a short message about the syntax of the command, then exits (NOTE: on Windows just use \fB\-\fP). .TP \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 \fB\-?\fP or no arguments Print a complete usage (help) message, including the explanation of all options, then exits. .UNINDENT .SH GRID FILE FORMATS .sp By default GMT writes out grid as single precision floats in a COARDS\-complaint netCDF file format. However, GMT is able to produce grid files in many other commonly used grid file formats and also facilitates so called "packing" of grids, writing out floating point data as 1\- or 2\-byte integers. (more ...) .SH EXAMPLES .sp Suppose file_a.nc is 150E \- 180E and 0 \- 30N, and file_b.nc is 150E \- 180E, \-30S \- 0, then you can make outfile.nc which will be 150 \- 180 and \-30S \- 30N by: .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt grdpaste file_a.nc file_b.nc \-Goutfile.nc \-V \-fg .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .SH SEE ALSO .sp gmt, grdblend, grdclip, grdcut, grdinfo, grdsample .SH COPYRIGHT 2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe .\" Generated by docutils manpage writer. .