Filename conventions for pipeline:

Want to achieve something like: expId.state.classId.ext

where expId is the unique exposure identifier;
      state is the state of processing for that file;
      classId is the class identifier, specifying a particular component of the exposure; and
      ext is an extension indicating the type of file (e.g., fits).

Constraint: classId cannot split components known only by the caller
(pmFPAfile groups all of these into the {OUTPUT} variable).

This constraint does not hinder us, since having the classId as the
last element before the extension makes it simple to get all
components of an exposure at a particular processing state.

Some realisations:

Input is typically:	expId.classId.fits

Detrend processed:	expId.detproc.detID.classId.fits
Detrend stats:		expId.detproc.detID.classId.stats
Processed list, bin 1:	expId.detproc.detID.b1.list
Processed list, bin 2:	expId.detproc.detID.b2.list
Processed JPEG, bin 1:	expId.detproc.detID.b1.jpg
Processed JPEG, bin 2:	expId.detproc.detID.b2.jpg
Stacked detrend:	camera.detType.detId.iter.classId.fits
Stacked stats:		camera.detType.detId.iter.classId.fits
Normalised stack:	camera.detType.norm.detId.iter.classId.fits
Detrend residual:	expId.detresid.detId.iter.classId.fits
Residual stats:		expId.detresid.detId.iter.classId.stats
Residual, bin 1:	expId.detresid.detId.iter.classId.b1.fits
Residual, bin 2:	expId.detresid.detId.iter.classId.b2.fits
Residual list, bin 1:	expId.detresid.detId.iter.b1.list
Residual list, bin 2:	expId.detresid.detId.iter.b2.list
Residual JPEG, bin 1:	expId.detresid.detId.iter.b1.jpg
Residual JPEG, bin 1:	expId.detresid.detId.iter.b2.jpg

Requirements:

Explain PPIMAGE.OUTPUT, PPIMAGE.BIN1, PPIMAGE.BIN2, etc.

#
#  NEW CONVENTION
#

Naming convention
--
Files that are the result of IPP processing steps are to be named as follows:

dir:
    $exp_id/

filename:
    $exp_id.$step$seq.$chipname.fits

Where $step is the 2 letter abbreviations for the step.
    gyd  -> guide star/guidetool
    chp  -> chip level processing/chiptool
    cam  -> camera level processing/camtool
    wrp  -> warp to sky/warptool
    dif  -> image differencing/difftool
    stk  -> image combination/stacktool

Where $seq is the unique ID number provided by the [foo]tool at each step in
the processing.

Example
--

./oi4411o0021/oi4411o0021.ch0000001.ccd1.fits
