Standard sequence: save data in an archive file
Purpose: dispose of an observation's file such that it is logged
and archived automatically.
Typical course of events:
-
System renames the observation file (a FITS file) according to its
run number. The final file has the name rn.fit where n is the
run number. Lower case is used and the run number is not padded
to a standard length with leading zeros.
-
System puts the final file in a directory named for the the date
in the format yyyymmdd, e.g. 19980816 for 16th August 1998. The
date for the directory
is the UT date at the start of the night; it changes at noon.
-
The system puts the directory in the general partition
/obsdata on the disk server. This one partition is all
the raw-observation space the telescope is allowed and is assumed
to be large enough to hold at least one night's observations.
Variations:
-
The big partition /obsdata on the disk server is not
available or is full up with old observations. The system uses
an alternative set of disks. Performance may be reduced, but
the system is not rendered useless or unreliable.
-
The observation produced more than one file because there was more
than one readout point. The system assigns a set of contiguous
run numbers. The readout channels map to run numbers in a standard
way which is recorded in the FITS header of each file.