uataq.filesystem.groupspaces.lin.AirTrendFile#

class uataq.filesystem.groupspaces.lin.AirTrendFile(path)[source]#

Bases: DataFile

A class for parsing AirTrend data files.

Variables:
  • path (str) – The file path.

  • period (pd.Period) – The period of the data file.

  • logger (str) – The logger name.

  • date_slicer (slice) – A slice object for extracting the date from the file name.

  • file_freq (str) – The file frequency.

  • ext (str) – The file extension.

  • config (dict) – The data configuration.

__init__(path)[source]#

Initialize the DataFile object.

Determines the period of the data file from the file name.

Parameters:

path (str) – The file path.

Methods

parse()

Parse an AirTrend file.