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       [-F]  [--fl_fmt=fmt]  [-f]  [--glb  att_name=  att_val]]  [-h]  [--hdf]
11       [--hdr_pad sz_byt][--hpss_try] [-l path] [--no_tmp_fl] [-O] [-o output-
12       file] [-p path] [-R] [-r] [--ram_all]  [-S  script-file][-s  script][-t
13       thr_nbr][--uio][-v var[,...]]  [ input-file ] output-file
14

DESCRIPTION

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

EXAMPLES

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

AUTHOR

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

REPORTING BUGS

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

SEE ALSO

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

HOMEPAGE

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