CompositesMap¶
-
class
lsst.daf.butler.CompositesMap(config, *, universe)¶ Bases:
objectDetermine whether a specific datasetType or StorageClass should be disassembled.
Parameters: - config :
str,ButlerConfig, orCompositesConfig Configuration to control composites disassembly.
- universe :
DimensionUniverse Set of all known dimensions, used to expand and validate any used in lookup keys.
Methods Summary
shouldBeDisassembled(entity)Given some choices, indicate whether the entity should be disassembled. Methods Documentation
-
shouldBeDisassembled(entity)¶ Given some choices, indicate whether the entity should be disassembled.
Parameters: - entity :
StorageClassorDatasetTypeorDatasetRef Thing to test against the configuration. The
nameproperty is used to determine a match. ADatasetTypewill first check its name, before checking itsStorageClass. If there are no matches the default will be returned. If the associatedStorageClassis not a composite, will always returnFalse.
Returns: Raises: - ValueError
The supplied argument is not understood.
- entity :
- config :