A chain of **ccdslice** has to be applied if the first (x)
or second (y) axis needs to be reduced but the ordering of the cube coordinates
to remain the same (see EXAMPLES below), see also *ccdsub(1NEMO)*
for a better
alternative.

*ccdfits(1NEMO)*
can also remove redundant ("dummy") axes when
writing out a *fits(5NEMO)*
file.

**in=**- Input filename, in
*image(5NEMO)*format. [no default] **out=**- Output filename [no default]
**zvar=x|y|z**- Slice variable
(x, y, or z), along which axis the cube is sliced. This axis will then become
the 3rd axis. [
**z**]. **zrange=**- Slices to select. Multiple planes can be selected,
but must be in the range 1..N
**zvaR**. If none given, all planes will be selected. Any*nemoinp(1NEMO)*expression can be given, but only regular ranges will result in a correct coordinate system. Default: the whole*zvar*axis is extracted.

ccdslice cube.in cube.out z 2here is a cube which is re-oriented in YZX:

ccdslice cube.in cube.out xand here a somewhat cumbersome three-step process to select a subset of the X axis, but leaving the cube intact:

ccdslice cube.in - x 2:10:2 | ccdslice - - x | ccdslice - cube.out xand the same for selecting a subset of the Y axis, now in two steps: ccdslice cube.in - y 2:10:2 | ccdslice - cube.out y

The coordinate
system description of the new *zvar* axis can easily be corrupted by choosing
an irregular layout with **xrange=**.

6-May-95V1.0 Created PJT