1NCPDQ(1) General Commands Manual NCPDQ(1)
2
3
4
6 ncpdq - netCDF Permute Dimensions Quickly, Pack Data Quietly...
7
9 ncpdq [-3] [-4] [-6] [-A] [-a dim[,...]] [-C] [-c] [-D dbg] [-d dim,[
10 min][,[ max]]] [-F] [-h] [-L dfl_lvl] [-l path] [-M pck_map] [-O] [-o
11 output-file] [-P pck_plc] [-p path] [-R] [-r] [-t thr_nbr] [-v
12 var[,...]] [-X box] [-x] input-file [ output-file ]
13
15 ncpdq packs or re-shapes variables in input-file and stores them in
16 output-file. Which variables to pack/unpack are determined by the
17 packing policy encoded in the pck_plc argument to the -P switch. Valid
18 pck_plc options are all_new, all_xst, xst_new, and upk. The numeric
19 type of variable to pack or re-pack a variable to is determined by the
20 packing map encoded in the pck_map argument to the -M switch. Valid
21 pck_map options are flt_byt, flt_sht, hgh_byt, hgh_sht, and nxt_lsr.
22
23 ncpdq re-shapes variables in input-file by re-ordering and/or reversing
24 dimensions specified in the dimension list. The dimension list is a
25 comma separated list of dimension names, optionally prefixed by nega‐
26 tive signs, that follow the -a switch. To re-order variables by a sub‐
27 set of their dimensions, specify these dimensions in a comma-separated
28 list following -a, e.g., -a lon,lat. To reverse a dimension, prefix
29 its name with a negative sign in the dimension list, e.g., -a -lat.
30 Re-ordering and reversal may be performed simultaneously, e.g., -a
31 lon,-lat,time,-lev.
32
33 Users may specify any permutation of dimensions, including permutations
34 which change the record dimension identity. The record dimension is
35 re-ordered like any other dimension. The record dimension is always
36 the most slowly varying dimension in a record variable. The specified
37 re-ordering will fail if it requires creating more than one record
38 dimension amongst all the output variables.
39
40
42 NCO manual pages written by Charlie Zender and Brian Mays.
43
44
46 Report bugs to <http://sf.net/bugs/?group_id=3331>.
47
48
50 Copyright © 1995-2010 Charlie Zender
51 This is free software; see the source for copying conditions. There is
52 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
53 PURPOSE.
54
55
57 The full documentation for NCO is maintained as a Texinfo manual called
58 the NCO User's Guide. Because NCO is mathematical in nature, the docu‐
59 mentation includes TeX-intensive portions not viewable on character-
60 based displays. Hence the only complete and authoritative versions of
61 the NCO User's Guide are the PDF (recommended), DVI, and Postscript
62 versions at <http://nco.sf.net/nco.pdf>, <http://nco.sf.net/nco.dvi>,
63 and <http://nco.sf.net/nco.ps>, respectively. HTML and XML versions
64 are available at <http://nco.sf.net/nco.html> and
65 <http://nco.sf.net/nco.xml>, respectively.
66
67 If the info and NCO programs are properly installed at your site, the
68 command
69
70 info nco
71
72 should give you access to the complete manual, except for the TeX-
73 intensive portions.
74
75
77 The NCO homepage at <http://nco.sf.net> contains more information.
78
79
80
81 NCPDQ(1)