SquashMetadataTask¶
SquashMetadataTask
modifies a Job
object to contain metadata that is required for SQuaSH upload.
It is both the default for the metadataAdder
subtask and its reference implementation.
Processing summary¶
SquashMetadataTask
currently adds the following metadata:
"instrument"
: the name of the instrument that took the data- the individual keys of the provided data ID (each
Job
produced byMetricsControllerTask
is associated with one data ID, which may be partial)
Python API summary¶
from lsst.verify.gen2tasks.metadataTask import SquashMetadataTask
-
class
(config: Optional[Config] = None, name: Optional[str] = None, parentTask: Optional[Task] = None, log: Optional[Union[logging.Logger, lsst.utils.logging.LsstLogAdapter]] = None)SquashMetadataTask
A Task for adding SQuaSH-required metadata to a Job
...
-
attribute
config
Access configuration fields and retargetable subtasks.
See also
See the SquashMetadataTask
API reference for complete details.
Retargetable subtasks¶
No subtasks.
Configuration fields¶
No configuration fields.