FileDescriptor

class lsst.daf.butler.FileDescriptor(location: Location, storageClass: StorageClass, readStorageClass: StorageClass | None = None, component: str | None = None, parameters: Mapping[str, Any] | None = None)

Bases: object

Describes a particular file.

Parameters:
locationLocation

Storage location.

storageClassStorageClass

StorageClass associated with this file when it was stored.

readStorageClassStorageClass, optional

Storage class associated with reading the file. Defines the Python type that the in memory Dataset will have. Will default to the storageClass if not specified.

componentstr or None

Component associated with this file. Will only be set for disassembled composites. Will be None for standard composites.

parametersdict, optional

Additional parameters that can be used for reading and writing.

Attributes Summary

component

location

parameters

readStorageClass

Storage class to use when reading.

storageClass

Attributes Documentation

component
location
parameters
readStorageClass

Storage class to use when reading. (StorageClass).

Will default to storageClass if none specified.

storageClass