datacube.model.DatasetType¶
-
class
datacube.model.
DatasetType
(metadata_type, definition, id_=None)[source]¶ Product definition
- Parameters
metadata_type (MetadataType) –
definition (dict) –
-
__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)load_hints
()Returns dictionary with keys compatible with
dc.load(..)
named arguments:lookup_measurements
([measurements])Find measurements by name
to_dict
()Convert to a dictionary representation of the available fields
validate
(document)Attributes
default_align
default_crs
Optional
[CRS
]default_resolution
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
DocReader
metadata_doc
name
schema