1NCAP2(1)                    General Commands Manual                   NCAP2(1)
2
3
4

NAME

6       ncap2 - netCDF Arithmetic Processor, Next Generation
7

SYNTAX

9       ncap2  [-3] [-4] [-5] [-6] [-7] [-A] [--bfr sz_byt][-C][-c][-D dbg_lvl]
10       [-d dim,[ min][,[ max]]]  [-F]  [--fl_fmt=fmt]  [-f]  [--glb  att_name=
11       att_val]]   [-h]   [--hdf]  [--hdr_pad  sz_byt][--hpss_try]  [-l  path]
12       [--no_tmp_fl] [-O] [-o output-file] [-p path] [-R] [-r] [--ram_all] [-S
13       script-file][-s  script][-t thr_nbr][--uio][-v var[,...]]  [ input-file
14       ] output-file
15

DESCRIPTION

17       ncap2 supersedes and is backwards-compatible with  ncap  which  is  now
18       deprecated.   Both  operators arithmetically process netCDF files.  The
19       primary  ncap2   documentation   is   currently   the   sample   script
20       <http://nco.sf.net/ncap2.in> The remainder of this manpage is identical
21       to the ncap manpage.
22
23       The processing instructions are contained either in the NCO script file
24       fl.nco  or in a sequence of command line arguments.  The options -s (or
25       long options --spt or --script) are used for in-line scripts and -S (or
26       long  options  --fl_spt or --script-file) are used to provide the file‐
27       name where (usually multiple) scripting commands are pre-stored.  ncap2
28       was  written to perform arbitrary albebraic transformations of data and
29       archive the results as easily as possible.  Missing values are  treated
30       correctly.   The  results of the algebraic manipulations are called de‐
31       rived fields.
32
33       Unlike the other operators, ncap2 does not accept a list  of  variables
34       to be operated on as an argument to -v.  Rather, the -v switch takes no
35       arguments and indicates that  ncap2  should  output  only  user-defined
36       variables.  ncap2 does not accept or understand the -x switch.
37

EXAMPLES

39       Compute the square of variable T
40              ncap2 -s "T2=T*T" in.nc out.nc
41
42

AUTHOR

44       NCO  manual pages written by Charlie Zender and originally formatted by
45       Brian Mays.
46
47

REPORTING BUGS

49       Report bugs to <http://sf.net/bugs/?group_id=3331>.
50
51
53       Copyright © 1995-2018 Charlie Zender
54       This is free software; see the source for copying conditions.  There is
55       NO  warranty;  not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
56       PURPOSE.
57
58

SEE ALSO

60       The full documentation for NCO is maintained as a Texinfo manual called
61       the  NCO Users Guide.  Because NCO is mathematical in nature, the docu‐
62       mentation includes TeX-intensive portions not  viewable  on  character-
63       based  displays.  Hence the only complete and authoritative versions of
64       the NCO Users Guide are the PDF (recommended), DVI, and Postscript ver‐
65       sions  at <http://nco.sf.net/nco.pdf>, <http://nco.sf.net/nco.dvi>, and
66       <http://nco.sf.net/nco.ps>, respectively.  HTML and  XML  versions  are
67       available          at          <http://nco.sf.net/nco.html>         and
68       <http://nco.sf.net/nco.xml>, respectively.
69
70       If the info and NCO programs are properly installed at your  site,  the
71       command
72
73              info nco
74
75       should  give  you access to the complete manual, except for the TeX-in‐
76       tensive portions.
77
78       ncap(1), ncap2(1), ncatted(1), ncbo(1), ncclimo(1), nces(1), ncecat(1),
79       ncflint(1),  ncks(1), nco(1), ncpdq(1), ncra(1), ncrcat(1), ncremap(1),
80       ncrename(1), ncwa(1)
81
82

HOMEPAGE

84       The NCO homepage at <http://nco.sf.net> contains more information.
85
86
87
88                                                                      NCAP2(1)
Impressum