1GRDPASTE(1)                           GMT                          GRDPASTE(1)
2
3
4

NAME

6       grdpaste - Join two grids along their common edge
7

SYNOPSIS

9       grdpaste file_a.nc file_b.nc  -Goutfile.nc [  -V[level] ] [ -fflags ]
10
11       Note:  No  space  is allowed between the option flag and the associated
12       arguments.
13

DESCRIPTION

15       grdpaste will combine file_a.nc and file_b.nc into outfile.nc by  past‐
16       ing  them  together  along  their  common  edge.  Files  file_a.nc  and
17       file_b.nc must have the same dx, dy and have one edge in common. If  in
18       doubt,  check with grdinfo and use grdcut and/or grdsample if necessary
19       to prepare the edge joint. Note: For geographical grids, you  may  have
20       to  use  -f  to  handle  periodic longitudes unless the input grids are
21       properly recognized as such via their meta-data.
22

REQUIRED ARGUMENTS

24       file_a.nc
25              One of two files to be pasted together.
26
27       file_b.nc
28              The other of two files to be pasted together.
29
30       -Goutfile.nc
31              The name for the combined output.
32

OPTIONAL ARGUMENTS

34       -V[level] (more ...)
35              Select verbosity level [c].
36
37       -f[i|o]colinfo (more ...)
38              Specify data types of input and/or output columns.
39
40       -^ or just -
41              Print a short message about the  syntax  of  the  command,  then
42              exits (NOTE: on Windows just use -).
43
44       -+ or just +
45              Print  an extensive usage (help) message, including the explana‐
46              tion of any module-specific  option  (but  not  the  GMT  common
47              options), then exits.
48
49       -? or no arguments
50              Print a complete usage (help) message, including the explanation
51              of all options, then exits.
52

GRID FILE FORMATS

54       By default GMT  writes  out  grid  as  single  precision  floats  in  a
55       COARDS-complaint  netCDF  file  format. However, GMT is able to produce
56       grid files in many other commonly  used  grid  file  formats  and  also
57       facilitates  so  called  "packing" of grids, writing out floating point
58       data as 1- or 2-byte integers. (more ...)
59

EXAMPLES

61       Suppose file_a.nc is 150E - 180E and 0 - 30N, and file_b.nc is  150E  -
62       180E,  -30S  -  0, then you can make outfile.nc which will be 150 - 180
63       and -30S - 30N by:
64
65              gmt grdpaste file_a.nc file_b.nc -Goutfile.nc -V -fg
66

SEE ALSO

68       gmt, grdblend, grdclip, grdcut, grdinfo, grdsample
69
71       2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
72
73
74
75
765.4.5                            Feb 24, 2019                      GRDPASTE(1)
Impressum