uataq.errors#

Custom exceptions and warnings for UATAQ.

Exceptions

DataFileInitializationError

Raised when a data file cannot be set up.

DroppedPollutantWarning

Warned when a read of several pollutants leaves one out for want of data.

EmptyResultWarning

Warned when a read finds files for the range but no data in them.

InactiveInstrumentError

Raised when the requested time range misses the instrument's installation.

InstrumentNotFoundError

Raised when a site does not have the requested instrument.

InvalidGroupError

Raised when a research group cannot read the instrument.

ParserError

Raised when a data file's contents cannot be parsed.

PollutantNotMeasured

Raised when a site measures none of the requested pollutants.

ReaderError

Base class for failures to read data.