1NCECAT(1) General Commands Manual NCECAT(1)
2
3
4
6 ncecat - netCDF Ensemble Concatenator
7
9 ncecat [-3] [-4] [-6] [-A] [-C] [-c] [-D dbg] [-d dim,[ min][,[ max]]]
10 [-F] [-h] [-L dfl_lvl] [-l path] [-M] [-n loop] [-O] [-p path] [-R]
11 [-r] [-t thr_nbr] [-u ulm_nm] [-v var[,...]] [-X box] [-x] input-files
12 output-file
13
15 ncecat concatenates an arbitrary number of input files into a single
16 output file. Input files are glued together by creating a record
17 dimension in the output file. Input files must be the same size. Each
18 input file is stored consecutively as a single record in the output
19 file. Each variable (except coordinate variables) in each input file
20 becomes one record in the same variable in the output file. Coordinate
21 variables are not concatenated, they are instead simply copied from the
22 first input file to the output-file. Thus, the size of the output file
23 is the sum of the sizes of the input files.
24
25 Consider five realizations, 85a.nc, 85b.nc,... 85e.nc of 1985 predic‐
26 tions from the same climate model. Then ncecat 85?.nc 85_ens.nc glues
27 the individual realizations together into the single file, 85_ens.nc.
28 If an input variable was dimensioned [ lat, lon], it will have dimen‐
29 sions [ record, lat, lon] in the output file. A restriction of ncecat
30 is that the hyperslabs of the processed variables must be the same from
31 file to file. Normally this means all the input files are the same
32 size, and contain data on different realizations of the same variables.
33
35 Consider a model experiment which generated five realizations of one
36 year of data, say 1985. You can imagine that the experimenter slightly
37 perturbs the initial conditions of the problem before generating each
38 new solution. Assume each file contains all twelve months (a seasonal
39 cycle) of data and we want to produce a single file containing all the
40 seasonal cycles. Here the numeric filename suffix denotes the experi‐
41 ment number (not the month):
42 ncecat 85_01.nc 85_02.nc 85_03.nc 85_04.nc 85_05.nc 85.nc
43 ncecat 85_0[1-5].nc 85.nc
44 ncecat -n 5,2,1 85_01.nc 85.nc
45 These three commands produce identical answers. The output file,
46 85.nc, is five times the size as a single input-file. It contains 60
47 months of data (which might or might not be stored in the record dimen‐
48 sion, depending on the input files).
49
50
52 NCO manual pages written by Charlie Zender and Brian Mays.
53
54
56 Report bugs to <http://sf.net/bugs/?group_id=3331>.
57
58
60 Copyright © 1995-2010 Charlie Zender
61 This is free software; see the source for copying conditions. There is
62 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
63 PURPOSE.
64
65
67 The full documentation for NCO is maintained as a Texinfo manual called
68 the NCO User's Guide. Because NCO is mathematical in nature, the docu‐
69 mentation includes TeX-intensive portions not viewable on character-
70 based displays. Hence the only complete and authoritative versions of
71 the NCO User's Guide are the PDF (recommended), DVI, and Postscript
72 versions at <http://nco.sf.net/nco.pdf>, <http://nco.sf.net/nco.dvi>,
73 and <http://nco.sf.net/nco.ps>, respectively. HTML and XML versions
74 are available at <http://nco.sf.net/nco.html> and
75 <http://nco.sf.net/nco.xml>, respectively.
76
77 If the info and NCO programs are properly installed at your site, the
78 command
79
80 info nco
81
82 should give you access to the complete manual, except for the TeX-
83 intensive portions.
84
85
87 The NCO homepage at <http://nco.sf.net> contains more information.
88
89
90
91 NCECAT(1)