uataq.filesystem.groupspaces.lin.LinGroup.get_datafiles#

LinGroup.get_datafiles(SID, instrument, lvl, logger, time_range, pattern=None)[source]#

Return the lin data files overlapping the time range.

See get_datafiles(). Raw files need extra handling: lgr_ugga file names do not line up with their contents, so the range is widened by a day on each side, only the day folders that overlap it are listed, and only the files whose name falls in it have their header read. A range that starts before the end of LGR_UGGA_File.utc_clock_switch starts earlier still, by LGR_UGGA_File.max_utc_shift: converted to UTC, a file of Mountain times can hold rows of the day after the next. GPS defaults to the gpgga sentence files.

Return type:

list[DataFile]