tapelabel JL6145 dataSource ganglog # ganglog, mt, spectro device /dev/mt/tps4d3nrnsvc # 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 1 LOG 52721 tarfile 2 ASTROGANG 3801 tarfile 3 PHOTOGANG 3801 tarfile 4 ASTROGANG 3802 tarfile 5 PHOTOGANG 3802 tarfile 6 ASTROGANG 3803 tarfile 7 PHOTOGANG 3803 tarfile 8 ASTROGANG 3804 tarfile 9 PHOTOGANG 3804 tarfile 10 ASTROGANG 3805 tarfile 11 PHOTOGANG 3805 tarfile 12 ASTROGANG 3806 tarfile 13 PHOTOGANG 3806 tarfile 14 ASTROGANG 3807 tarfile 15 PHOTOGANG 3807 tarfile 16 SPECTRO 52721 tarfile 17 TPM 52721