uataq.instruments.Instrument.read_data#

Instrument.read_data(group, lvl=None, time_range=None, num_processes=1, file_pattern=None)[source]#

Read and parse data files for the given level and time range.

Uses multiple processes if specified.

Parameters:
Returns:

A concatenated DataFrame containing the parsed data from files.

Return type:

DataFrame

Raises:
  • ValueError – If lvl is not one of the data levels in uataq.filesystem.lvls.

  • ReaderError – If the group has no such level for the instrument (the message says which levels it has), or no file is in the time range.