FileDataset¶
-
class
lsst.daf.butler.
FileDataset
(path: str, ref: DatasetRef, *, formatter: Union[None, str, Type[Formatter]] = None)¶ Bases:
object
A struct that represents a dataset exported to a file.
Attributes Summary
A
Formatter
class or fully-qualified name.Path to the dataset (
str
).Registry information about the dataset (
DatasetRef
).Attributes Documentation
-
path
¶ Path to the dataset (
str
).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
.
-
ref
¶ Registry information about the dataset (
DatasetRef
).
-