tapelabel JL5847 dataSource ganglog # ganglog, mt, spectro device /dev/mt/tps3d6nrnsvc # tape drive typedef enum { ASTROGANG, # GANG files for a single imaging run PHOTOGANG, # GANG files for a single imaging run LOG, # log files for a single imaging night MT, # all files for a single MT night SPECTRO, # all files for a single spectro night TPM # all TPM files for a single night } TARCONTENTS; typedef struct { int filemarks; # number of filemakrs to skip to get here TARCONTENTS contents; # GANG, LOG, SPECTRO, MT int id; # mjd for logs, run number for gangs } TARFILE; tarfile 0 LOG 52639 tarfile 1 ASTROGANG 3554 tarfile 2 PHOTOGANG 3554 tarfile 3 ASTROGANG 3557 tarfile 4 PHOTOGANG 3557 tarfile 5 ASTROGANG 3559 tarfile 6 PHOTOGANG 3559 tarfile 7 ASTROGANG 3560 tarfile 8 PHOTOGANG 3560 tarfile 9 ASTROGANG 3562 tarfile 10 PHOTOGANG 3562 tarfile 11 ASTROGANG 3563 tarfile 12 PHOTOGANG 3563 tarfile 13 SPECTRO 52639 tarfile 14 TPM 52639