Go to the documentation of this file.
2 Class to hold data about OBPG data files and allow sorting, etc. of those files.
5 __author__ =
'melliott'
11 A class for holding data about OBPG data files.
13 def __init__(self, fname, ftype, sensr, stime, etime, meta=None):
23 Compares 2 data files by comparing their start times. The file with
24 the earlier start time should be "less" than the other file.
26 self_st = datetime.datetime.strptime(self.
start_time,
'%Y%j%H%M%S')
27 other_st = datetime.datetime.strptime(other.start_time,
'%Y%j%H%M%S')
28 if self_st < other_st:
30 elif self_st == other_st:
def __init__(self, fname, ftype, sensr, stime, etime, meta=None)