DatasetMapping

class lsst.obs.base.DatasetMapping(datasetType, policy, registry, root, **kwargs)

Bases: lsst.obs.base.Mapping

DatasetMapping is a Mapping subclass for non-Exposure datasets that can be retrieved by the standard daf_persistence mechanism.

The differences are that the Storage type must be specified and no Exposure standardization is performed.

The “storage” entry in the Policy is mandatory; the “tables” entry is optional; no “level” entry is allowed.

Parameters:
datasetType : str

Butler dataset type to be mapped.

policy : daf_persistence.Policy pexPolicy.Policy

Mapping Policy. (pexPolicy only for backward compatibility)

registry : lsst.obs.base.Registry

Registry for metadata lookups

root : str

Path of root directory