datacube.model.DatasetType

class datacube.model.DatasetType(metadata_type: datacube.model.MetadataType, definition: Mapping[str, Any], id_: Optional[int] = None)[source]

Product definition

Parameters:
__init__(metadata_type: datacube.model.MetadataType, definition: Mapping[str, Any], id_: Optional[int] = None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(metadata_type, definition, Any], id_) Initialize self.
canonical_measurement(measurement) resolve measurement alias into canonical name
dataset_reader(dataset_doc)
lookup_measurements(measurements) Find measurements by name
to_dict() Convert to a dictionary representation of the available fields
validate(document)

Attributes

dimensions List of dimension labels for data in this product
fields
grid_spec Grid specification for this product
managed
measurements Dictionary of measurements in this product
metadata
metadata_doc
name
schema