RawFileData#

class lsst.obs.base.RawFileData(datasets: list[RawFileDatasetInfo], filename: ResourcePath, FormatterClass: type[Formatter], instrument: Instrument | None)#

Bases: object

Information about a single raw file, used during ingest.

Attributes Summary

FormatterClass

Formatter class that should be used to ingest this file (type; as subclass of Formatter).

datasets

The information describing each dataset within this raw file.

filename

URI of the file this information was extracted from (str).

instrument

The Instrument instance associated with this file.

Attributes Documentation

FormatterClass: type[Formatter] = <dataclasses._MISSING_TYPE object>#

Formatter class that should be used to ingest this file (type; as subclass of Formatter).

datasets: list[RawFileDatasetInfo] = <dataclasses._MISSING_TYPE object>#

The information describing each dataset within this raw file. (list of RawFileDatasetInfo)

filename: ResourcePath = <dataclasses._MISSING_TYPE object>#

URI of the file this information was extracted from (str).

This is the path prior to ingest, not the path after ingest.

instrument: Instrument | None = <dataclasses._MISSING_TYPE object>#

The Instrument instance associated with this file. Can be None if datasets is an empty list.