HDF5 files produced by the Strip electronics sometimes containg samples tagged with wrong timestamps (usually 1970-01-01).
This PR patches the DataFile class so that it skips these timestamps when calculating the DataFile.mjd_range field (a 2-element tuple containing the minimum and maximum timestamp in the file), which is used by hdf5db.py to build a database of HDF5 files.
HDF5 files produced by the Strip electronics sometimes containg samples tagged with wrong timestamps (usually
1970-01-01
).This PR patches the
DataFile
class so that it skips these timestamps when calculating theDataFile.mjd_range
field (a 2-element tuple containing the minimum and maximum timestamp in the file), which is used byhdf5db.py
to build a database of HDF5 files.