tapelabel JL7726 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 53243 tarfile 2 ASTROGANG 4792 tarfile 3 PHOTOGANG 4792 tarfile 4 ASTROGANG 4793 tarfile 5 PHOTOGANG 4793 tarfile 6 ASTROGANG 4794 tarfile 7 PHOTOGANG 4794 tarfile 8 ASTROGANG 4795 tarfile 9 PHOTOGANG 4795 tarfile 10 ASTROGANG 4796 tarfile 11 PHOTOGANG 4796 tarfile 12 ASTROGANG 4797 tarfile 13 PHOTOGANG 4797 tarfile 14 ASTROGANG 4798 tarfile 15 PHOTOGANG 4798 tarfile 16 ASTROGANG 4799 tarfile 17 PHOTOGANG 4799 tarfile 18 ASTROGANG 4800 tarfile 19 PHOTOGANG 4800 tarfile 20 ASTROGANG 4801 tarfile 21 PHOTOGANG 4801 tarfile 22 SPECTRO 53243 tarfile 23 TPM 53243