FileDataset¶
-
class
lsst.daf.butler.
FileDataset
(path: Union[str, lsst.daf.butler.core._butlerUri._butlerUri.ButlerURI], refs: Union[lsst.daf.butler.core.datasets.ref.DatasetRef, List[lsst.daf.butler.core.datasets.ref.DatasetRef]], *, formatter: Union[str, Type[lsst.daf.butler.core.formatter.Formatter], lsst.daf.butler.core.formatter.Formatter, None] = None)¶ Bases:
object
A struct that represents a dataset exported to a file.
Attributes Summary
formatter
A Formatter
class or fully-qualified name.path
Path to the dataset ( str
orButlerURI
).refs
Registry information about the dataset. Attributes Documentation
-
path
¶ Path to the dataset (
str
orButlerURI
).If the dataset was exported with
transfer=None
(i.e. in-place), this is relative to the datastore root (only datastores that have a well-defined root in the local filesystem can be expected to support in-place exports). Otherwise this is relative to the directory passed toDatastore.export
.
-
refs
¶ Registry information about the dataset. (
list
ofDatasetRef
).
-