How to use the eodatasets3.validate 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 / integration_tests / test_config.py View on Github external
def test_products_are_valid(dea_index: Index):
    for product in dea_index.products.get_all():
        validation_messages = [str(m) for m in eodatasets3.validate.validate_product(product.definition)]
        assert validation_messages == [], f"{product.name} has validation issues: {validation_messages}"

eodatasets3

Packaging, metadata and provenance for OpenDataCube EO3 datasets

Apache-2.0
Latest version published 10 days ago

Package Health Score

75 / 100
Full package analysis