datacube.model.DatasetType

class datacube.model.DatasetType(metadata_type, definition, id_=None)[source]

Product definition

Parameters
__init__(metadata_type, definition, id_=None)[source]

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

Methods

__init__(metadata_type, definition[, 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

bool

measurements

Dictionary of measurements in this product

metadata

DocReader

metadata_doc

Mapping[str, Any]

name

str

schema