How to use the eodatasets3.model.DatasetDoc function in eodatasets3

To help you get started, we’ve selected a few eodatasets3 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GeoscienceAustralia / digitalearthau / digitalearthau / vpmapper / worker.py View on Github external
def _convert_old_odc_dataset_to_new(ds: Dataset) -> DatasetDoc:
    product = ProductDoc(name=ds.type.name)
    properties = StacPropertyView(ds.metadata_doc['properties'])
    return DatasetDoc(
        id=ds.id,
        product=product,
        crs=ds.crs.crs_str,
        properties=properties

eodatasets3

Packaging, metadata and provenance for OpenDataCube EO3 datasets

Apache-2.0
Latest version published 13 days ago

Package Health Score

75 / 100
Full package analysis