tapelabel JL4418 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 52170 tarfile 2 LOG 52169 tarfile 3 ASTROGANG 2561 tarfile 4 PHOTOGANG 2561 tarfile 5 ASTROGANG 2562 tarfile 6 PHOTOGANG 2562 tarfile 7 ASTROGANG 2563 tarfile 8 PHOTOGANG 2563 tarfile 9 ASTROGANG 2564 tarfile 10 PHOTOGANG 2564 tarfile 11 ASTROGANG 2565 tarfile 12 PHOTOGANG 2565 tarfile 13 ASTROGANG 2566 tarfile 14 PHOTOGANG 2566 tarfile 15 ASTROGANG 2567 tarfile 16 PHOTOGANG 2567 tarfile 17 ASTROGANG 2568 tarfile 18 PHOTOGANG 2568 tarfile 19 ASTROGANG 2569 tarfile 20 PHOTOGANG 2569 tarfile 21 ASTROGANG 2570 tarfile 22 PHOTOGANG 2570 tarfile 23 TPM 52170