Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ncecat(1) [debian man page]

NCECAT(1)						      General Commands Manual							 NCECAT(1)

NAME
ncecat - netCDF Ensemble Concatenator SYNTAX
ncecat [-3] [-4] [-6] [-A] [-C] [-c] [-D dbg] [-d dim,[ min][,[ max]]] [-F] [-h] [-L dfl_lvl] [-l path] [-M] [-n loop] [-O] [-p path] [-R] [-r] [-t thr_nbr] [-u ulm_nm] [-v var[,...]] [-X box] [-x] input-files output-file DESCRIPTION
ncecat concatenates an arbitrary number of input files into a single output file. Input files are glued together by creating a record dimension in the output file. Input files must be the same size. Each input file is stored consecutively as a single record in the output file. Each variable (except coordinate variables) in each input file becomes one record in the same variable in the output file. Coordi- nate variables are not concatenated, they are instead simply copied from the first input file to the output-file. Thus, the size of the output file is the sum of the sizes of the input files. Consider five realizations, 85a.nc, 85b.nc,... 85e.nc of 1985 predictions from the same climate model. Then ncecat 85?.nc 85_ens.nc glues the individual realizations together into the single file, 85_ens.nc. If an input variable was dimensioned [ lat, lon], it will have dimensions [ record, lat, lon] in the output file. A restriction of ncecat is that the hyperslabs of the processed variables must be the same from file to file. Normally this means all the input files are the same size, and contain data on different realizations of the same variables. EXAMPLES
Consider a model experiment which generated five realizations of one year of data, say 1985. You can imagine that the experimenter slightly perturbs the initial conditions of the problem before generating each new solution. Assume each file contains all twelve months (a seasonal cycle) of data and we want to produce a single file containing all the seasonal cycles. Here the numeric filename suffix denotes the experiment number (not the month): ncecat 85_01.nc 85_02.nc 85_03.nc 85_04.nc 85_05.nc 85.nc ncecat 85_0[1-5].nc 85.nc ncecat -n 5,2,1 85_01.nc 85.nc These three commands produce identical answers. The output file, 85.nc, is five times the size as a single input-file. It contains 60 months of data (which might or might not be stored in the record dimension, depending on the input files). AUTHOR
NCO manual pages written by Charlie Zender and Brian Mays. REPORTING BUGS
Report bugs to <http://sf.net/bugs/?group_id=3331>. COPYRIGHT
Copyright (C) 1995-2010 Charlie Zender This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for NCO is maintained as a Texinfo manual called the NCO User's Guide. Because NCO is mathematical in nature, the documentation includes TeX-intensive portions not viewable on character-based displays. Hence the only complete and authoritative versions of the NCO User's Guide are the PDF (recommended), DVI, and Postscript versions at <http://nco.sf.net/nco.pdf>, <http://nco.sf.net/nco.dvi>, and <http://nco.sf.net/nco.ps>, respectively. HTML and XML versions are available at <http://nco.sf.net/nco.html> and <http://nco.sf.net/nco.xml>, respectively. If the info and NCO programs are properly installed at your site, the command info nco should give you access to the complete manual, except for the TeX-intensive portions. HOMEPAGE
The NCO homepage at <http://nco.sf.net> contains more information. NCECAT(1)

Check Out this Related Man Page

NCAP(1) 						      General Commands Manual							   NCAP(1)

NAME
ncap - netCDF Arithmetic Processor SYNTAX
ncap [-3] [-4] [-6] [-A] [-C] [-c] [-D dbg] [-F] [-f] [-h] [-L dfl_lvl] [-l path] [-O] [-o output-file] [-p path] [-R] [-r] [-S script- file][-s script][-v var[, ... ]] input-file [ output-file ] DESCRIPTION
ncap arithmetically processes a netCDF file. However, in about 2008 ncap was deprecated in favor of ncap2 which far surpasses its capbili- ties. ncap will eventually be completely removed from NCO. It is currently retained only because it provides an easier-to-build arith- metic operator than ncap2. The processing instructions are contained either in the NCO script file fl.nco or in a sequence of command line arguments. The options -s (or long options --spt or --script) are used for in-line scripts and -S (or long options --fl_spt or --script-file) are used to provide the filename where (usually multiple) scripting commands are pre-stored. ncap was written to perform arbitrary albebraic transformations of data and archive the results as easily as possible. Missing values are treated correctly. The results of the algebraic manipulations are called derived fields. Unlike the other operators, ncap does not accept a list of variables to be operated on as an argument to -v. Rather, the -v switch takes no arguments and indicates that ncap should output only user-defined variables. ncap does not accept or understand the -x switch. EXAMPLES
Compute the square of variable T ncap -s "T2=T*T" in.nc out.nc AUTHOR
NCO manual pages written by Charlie Zender and Brian Mays. REPORTING BUGS
Report bugs to <http://sf.net/bugs/?group_id=3331>. COPYRIGHT
Copyright (C) 1995-2010 Charlie Zender This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for NCO is maintained as a Texinfo manual called the NCO User's Guide. Because NCO is mathematical in nature, the documentation includes TeX-intensive portions not viewable on character-based displays. Hence the only complete and authoritative versions of the NCO User's Guide are the PDF (recommended), DVI, and Postscript versions at <http://nco.sf.net/nco.pdf>, <http://nco.sf.net/nco.dvi>, and <http://nco.sf.net/nco.ps>, respectively. HTML and XML versions are available at <http://nco.sf.net/nco.html> and <http://nco.sf.net/nco.xml>, respectively. If the info and NCO programs are properly installed at your site, the command info nco should give you access to the complete manual, except for the TeX-intensive portions. HOMEPAGE
The NCO homepage at <http://nco.sf.net> contains more information. NCAP(1)
Man Page