Dataset¶
- class lsst.ap.verify.Dataset(datasetId)¶
Bases:
object
A dataset supported by
ap_verify
.Any object of this class is guaranteed to represent a ready-for-use ap_verify dataset, barring concurrent changes to the file system or EUPS operations. Constructing a Dataset does not create a compatible output repository(ies), which can be done by calling
makeCompatibleRepo
.- Parameters:
- datasetId
str
The name of the dataset package. A tag identifying the dataset is also accepted, but this usage is deprecated.
- datasetId
- Raises:
- RuntimeError
Raised if
datasetId
exists, but is not correctly organized or incomplete- ValueError
Raised if
datasetId
could not be loaded.
Attributes Summary
The directory containing configs that can be used to process the data (
str
, read-only).The parent directory containing everything related to the ap_verify dataset (
str
, read-only).The Gen 3 instrument associated with this data (
lsst.obs.base.Instrument
, read-only).The directory containing pipelines that can be used to process the data in Gen 3 (
str
, read-only).The directory containing the "raw" input data (
str
, read-only).Methods Summary
makeCompatibleRepoGen3
(repoDir[, ...])Set up a directory as a Gen 3 repository compatible with this ap_verify dataset.
Attributes Documentation
- configLocation¶
The directory containing configs that can be used to process the data (
str
, read-only).
- datasetRoot¶
The parent directory containing everything related to the ap_verify dataset (
str
, read-only).
- instrument¶
The Gen 3 instrument associated with this data (
lsst.obs.base.Instrument
, read-only).
- pipelineLocation¶
The directory containing pipelines that can be used to process the data in Gen 3 (
str
, read-only).
Methods Documentation
- makeCompatibleRepoGen3(repoDir, sasquatchNamespace=None, sasquatchRestProxyUrl=None, extra=None)¶
Set up a directory as a Gen 3 repository compatible with this ap_verify dataset.
If the repository already exists, this call has no effect.
- Parameters:
- repoDir
str
The directory where the output repository will be created.
- sasquatchNamespace
str
, optional The namespace to which to upload analysis_tools metrics. If omitted, no metrics are uploaded.
- sasquatchRestProxyUrl
str
, optional The server to which to upload analysis_tools metrics. Must be provided if
sasquatchNamespace
is.- extra
dict
, optional Extra parameters needed to post ap_verify metrics. Should be provided if
sasquatchNamespace
is.
- repoDir