LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst.daf.butlerUtils.mapping.DatasetMapping Class Reference
Inheritance diagram for lsst.daf.butlerUtils.mapping.DatasetMapping:
lsst.daf.butlerUtils.mapping.Mapping

Public Member Functions

def __init__
 
- Public Member Functions inherited from lsst.daf.butlerUtils.mapping.Mapping
def __init__
 
def keys
 
def map
 
def lookup
 
def have
 
def need
 

Public Attributes

 storage
 
- Public Attributes inherited from lsst.daf.butlerUtils.mapping.Mapping
 datasetType
 
 registry
 
 root
 
 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 350 of file mapping.py.

Constructor & Destructor Documentation

def lsst.daf.butlerUtils.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         (lsst.pex.policy.Policy) Mapping policy
@param datasetType    (string)
@param registry       (lsst.daf.butlerUtils.Registry) Registry for metadata lookups
@param root           (string) Path of root directory

Definition at line 360 of file mapping.py.

361  def __init__(self, datasetType, policy, registry, root, **kwargs):
362  """Constructor for DatasetMapping class.
363  @param[in,out] mapper (lsst.daf.persistence.Mapper) Mapper object
364  @param policy (lsst.pex.policy.Policy) Mapping policy
365  @param datasetType (string)
366  @param registry (lsst.daf.butlerUtils.Registry) Registry for metadata lookups
367  @param root (string) Path of root directory"""
368  Mapping.__init__(self, datasetType, policy, registry, root, **kwargs)
369  self.storage = policy.getString("storage") # Storage type

Member Data Documentation

lsst.daf.butlerUtils.mapping.DatasetMapping.storage

Definition at line 368 of file mapping.py.


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