Dataset#
- class datacube.model.Dataset(product, metadata_doc, uris=None, sources=None, indexed_by=None, indexed_time=None, archived_time=None)[source]#
A Dataset. A container of metadata, and refers typically to a multi-band raster on disk.
Most important parts are the metadata_doc and uri.
- Parameters
- Members
Attributes:
Optional
[BoundingBox
] :returns: bounding box of the dataset in the native crsmid-point of time range
Return CRS if available
valid extent of the dataset or None
UUID of a dataset
The User who indexed this dataset
Is this dataset active?
Is this dataset archived?
datetime.datetime
A path to this dataset on the local filesystem (if available).
The latest local file uri, if any.
The document describing the dataset as a dictionary.
The datasets that this dataset is derived from (if requested on load).
Active URIs in order from newest to oldest
Methods:
Return metadata document without nested lineage datasets
- property bounds: Optional[datacube.utils.geometry._base.BoundingBox]#
Optional
[BoundingBox
] :returns: bounding box of the dataset in the native crs- Type
rtype
- center_time#
mid-point of time range
- property crs: Optional[datacube.utils.geometry._base.CRS]#
Return CRS if available
- extent#
valid extent of the dataset or None
- Type
returns
- indexed_by#
The User who indexed this dataset
- property is_archived: bool#
Is this dataset archived?
(an archived dataset is one that is not intended to be used by users anymore: eg. it has been replaced by another dataset. It will not show up in search results, but still exists in the system via provenance chains or through id lookup.)
- Return type
- key_time#
datetime.datetime
- Type
rtype
- property local_path: Optional[pathlib.Path]#
A path to this dataset on the local filesystem (if available).
- metadata_doc#
The document describing the dataset as a dictionary. It is often serialised as YAML on disk or inside a NetCDF file, and as JSON-B inside the database index.
- sources#
The datasets that this dataset is derived from (if requested on load).
- uris#
Active URIs in order from newest to oldest