ParseTask

Python API summary

from lsst.pipe.tasks.ingest import ParseTask
classParseTask(config: Optional[Config] = None, name: Optional[str] = None, parentTask: Optional[Task] = None, log: Optional[Union[logging.Logger, lsst.utils.logging.LsstLogAdapter]] = None)

Task that will parse the filename and/or its contents to get the required information for putting the file in the correct location and populating the registry...

attributeconfig

Access configuration fields and retargetable subtasks.

See also

See the ParseTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

defaults

Default
{}
Field type
DictField
Key type
str
Value type
str
Default values if header is not present

extnames

Default
[]
Field type
str ListField
Extension names to search for

hdu

Default
-2147483648
Field type
int Field
HDU to read for metadata

translation

Default
{}
Field type
DictField
Key type
str
Value type
str
Translation table for property –> header

translators

Default
{}
Field type
DictField
Key type
str
Value type
str
Properties and name of translator method