FileDataset¶
- class lsst.daf.butler.FileDataset(path: str | ParseResult | ResourcePath | Path, refs: DatasetRef | list[lsst.daf.butler.core.datasets.ref.DatasetRef], *, formatter: str | type[lsst.daf.butler.core.formatter.Formatter] | Formatter | None = None)¶
- Bases: - object- A struct that represents a dataset exported to a file. - Attributes Summary - A - Formatterclass or fully-qualified name.- Path to the dataset ( - lsst.resources.ResourcePathor- str).- Registry information about the dataset. - Attributes Documentation - formatter: str | type[lsst.daf.butler.core.formatter.Formatter] | Formatter | None¶
- A - Formatterclass or fully-qualified name.
 - path: str | ResourcePath¶
- Path to the dataset ( - lsst.resources.ResourcePathor- 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 to- Datastore.export.
 - refs: list[lsst.daf.butler.core.datasets.ref.DatasetRef]¶
- Registry information about the dataset. ( - listof- DatasetRef).