#!/cvmfs/northgrid.gridpp.ac.uk/simonsobservatory/conda/so-conda-py310-20231215/bin/python import sys from spt3g import core, gcp if len(sys.argv) < 2: print('Usage: %s file.dat [file2.dat]' % sys.argv[0]) print('Validates the internal checksums on one or more ARC files') sys.exit(1) for f in sys.argv[1:]: p = core.G3Pipeline() p.Add(gcp.ARCFileReader, filename=f) p.Run() print('File %s OK' % f)