WorkspaceGen3¶
- class lsst.ap.verify.WorkspaceGen3(location)¶
Bases:
WorkspaceA directory used by
ap_verifyto handle data.Any object of this class represents a working directory containing subdirectories for a repository and for non-repository files. Constructing a WorkspaceGen3 does not initialize its repository, as this requires external information.
- Parameters:
- location
str The location on disk where the workspace will be set up. Will be created if it does not already exist.
- location
- Raises:
- EnvironmentError
Raised if
locationis not readable or not writeable
Attributes Summary
The absolute location of an output directory for persisted alert packets (
str, read-only).A Butler that can read from a Gen 3 repository with outputs (
lsst.daf.butler.Butler, read-only).The absolute location of a directory containing custom Task config files for use with the data (
str, read-only).The default absolute location of the source association database to be created or updated by the pipeline (
str, read-only).The absolute location of a directory containing custom pipeline files for use with the data (
str, read-only).The absolute path/URI to a Butler repo for AP pipeline processing (
str, read-only).A Butler that can read and write to a Gen 3 repository (
lsst.daf.butler.Butler, read-only).The absolute location of the workspace as a whole (
str, read-only).Methods Summary
mkdir(directory)Create a directory for the workspace.
Attributes Documentation
- alertLocation¶
- analysisButler¶
A Butler that can read from a Gen 3 repository with outputs (
lsst.daf.butler.Butler, read-only).Notes
Assumes
repohas been initialized.
- configDir¶
The absolute location of a directory containing custom Task config files for use with the data (
str, read-only).
- dbLocation¶
- pipelineDir¶
The absolute location of a directory containing custom pipeline files for use with the data (
str, read-only).
- workButler¶
A Butler that can read and write to a Gen 3 repository (
lsst.daf.butler.Butler, read-only).Notes
Assumes
repohas been initialized.
Methods Documentation