opendatacube / eo-datasets

Easily write, validate and convert EO datasets and metadata.
Apache License 2.0
49 stars 26 forks source link

Improve EO3 dataset schema validation #290

Closed Ariana-B closed 1 year ago

Ariana-B commented 1 year ago

See #268

Improve compatibility between EO3 dataset schema and ODC metadata by allowing for uppercase letters in measurement names and removing "extent" and "grid_spatial" properties before schema validation to effectively ignore them, as they ultimately have no impact anyway.

codecov[bot] commented 1 year ago

Codecov Report

Base: 84.89% // Head: 84.86% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (d3d5b58) compared to base (6bb9347). Patch coverage: 60.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #290 +/- ## =========================================== - Coverage 84.89% 84.86% -0.04% =========================================== Files 26 26 Lines 4397 4401 +4 =========================================== + Hits 3733 3735 +2 - Misses 664 666 +2 ``` | [Impacted Files](https://codecov.io/gh/opendatacube/eo-datasets/pull/290?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube) | Coverage Δ | | |---|---|---| | [eodatasets3/serialise.py](https://codecov.io/gh/opendatacube/eo-datasets/pull/290/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-ZW9kYXRhc2V0czMvc2VyaWFsaXNlLnB5) | `88.03% <60.00%> (-0.75%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.