lsst.obs.base  13.0-42-g52e9227+3
Public Member Functions | Public Attributes | List of all members
lsst.obs.base.mapping.DatasetMapping Class Reference
Inheritance diagram for lsst.obs.base.mapping.DatasetMapping:
lsst.obs.base.mapping.Mapping

Public Member Functions

def __init__ (self, datasetType, policy, registry, root, kwargs)
 
- Public Member Functions inherited from lsst.obs.base.mapping.Mapping
def __init__ (self, datasetType, policy, registry, rootStorage, provided=None)
 
def keys (self)
 
def map (self, mapper, dataId, write=False)
 
def lookup (self, properties, dataId)
 
def have (self, properties, dataId)
 
def need (self, properties, dataId)
 

Public Attributes

 storage
 
- Public Attributes inherited from lsst.obs.base.mapping.Mapping
 datasetType
 
 registry
 
 rootStorage
 
 template
 
 keyDict
 
 python
 
 persistable
 
 storage
 
 level
 
 tables
 
 range
 
 columns
 
 obsTimeName
 

Detailed Description

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.  

Definition at line 431 of file mapping.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.obs.base.mapping.DatasetMapping.__init__ (   self,
  datasetType,
  policy,
  registry,
  root,
  kwargs 
)
Constructor for DatasetMapping class.
@param[in,out] mapper (lsst.daf.persistence.Mapper) Mapper object
@param policy         (daf_persistence.Policy, or pexPolicy.Policy (only for backward compatibility))
              Mapping Policy
@param datasetType    (string)
@param registry       (lsst.obs.base.Registry) Registry for metadata lookups
@param root           (string) Path of root directory

Definition at line 441 of file mapping.py.

Member Data Documentation

◆ storage

lsst.obs.base.mapping.DatasetMapping.storage

Definition at line 452 of file mapping.py.


The documentation for this class was generated from the following file: