lsst.obs.base
14.0-13-gb064ced
|
Public Member Functions | |
def | __init__ (self, datasetType, policy, registry, root, kwargs) |
def | template (self) |
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 | |
datasetType | |
registry | |
rootStorage | |
keyDict | |
python | |
persistable | |
level | |
tables | |
range | |
columns | |
obsTimeName | |
recipe | |
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 451 of file mapping.py.
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 461 of file mapping.py.
|
inherited |
Returns whether the provided data identifier has all the properties in the provided list. @param properties (list of strings) Properties required @parm dataId (dict) Dataset identifier @return (bool) True if all properties are present
Definition at line 250 of file mapping.py.
|
inherited |
Return the dict of keys and value types required for this mapping.
Definition at line 133 of file mapping.py.
|
inherited |
Look up properties for in a metadata registry given a partial dataset identifier. @param properties (list of strings) @param dataId (dict) Dataset identifier @return (list of tuples) values of properties
Definition at line 177 of file mapping.py.
|
inherited |
Standard implementation of map function. @param mapper (lsst.daf.persistence.Mapper) @param dataId (dict) Dataset identifier @return (lsst.daf.persistence.ButlerLocation)
Definition at line 137 of file mapping.py.
|
inherited |
Ensures all properties in the provided list are present in the data identifier, looking them up as needed. This is only possible for the case where the data identifies a single exposure. @param properties (list of strings) Properties required @param dataId (dict) Partial dataset identifier @return (dict) copy of dataset identifier with enhanced values
Definition at line 261 of file mapping.py.
|
inherited |
Definition at line 126 of file mapping.py.
|
inherited |
Definition at line 121 of file mapping.py.
|
inherited |
Definition at line 89 of file mapping.py.
|
inherited |
Definition at line 100 of file mapping.py.
|
inherited |
Definition at line 115 of file mapping.py.
|
inherited |
Definition at line 122 of file mapping.py.
|
inherited |
Definition at line 112 of file mapping.py.
|
inherited |
Definition at line 111 of file mapping.py.
|
inherited |
Definition at line 120 of file mapping.py.
|
inherited |
Definition at line 123 of file mapping.py.
|
inherited |
Definition at line 90 of file mapping.py.
|
inherited |
Definition at line 91 of file mapping.py.
lsst.obs.base.mapping.DatasetMapping.storage |
Definition at line 472 of file mapping.py.
|
inherited |
Definition at line 117 of file mapping.py.