opendatacube / datacube-core

Open Data Cube analyses continental scale Earth Observation data through time
http://www.opendatacube.org
Apache License 2.0
509 stars 177 forks source link

Account for bools in archive_less_mature #1498

Closed Ariana-B closed 11 months ago

Ariana-B commented 12 months ago

Reason for this pull request

Datacube-core has updated to have archive_less_mature provided as an optional integer, with archive_less_mature logic skipped if the value is None. But some other scripts have not yet been updated, such as the odc-tools *-to-dc commands, causing errors such as this one: https://app.slack.com/client/T0L4V0TFT/C0L4WHVME/thread/C0L4WHVME-1696543022.226709

Proposed changes


:books: Documentation preview :books:: https://datacube-core--1498.org.readthedocs.build/en/1498/

codecov[bot] commented 12 months ago

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (1ac445c) 91.78% compared to head (379b2a7) 91.75%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1498 +/- ## =========================================== - Coverage 91.78% 91.75% -0.03% =========================================== Files 132 132 Lines 14539 14549 +10 =========================================== + Hits 13345 13350 +5 - Misses 1194 1199 +5 ``` | [Files](https://app.codecov.io/gh/opendatacube/datacube-core/pull/1498?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube) | Coverage Δ | | |---|---|---| | [datacube/index/abstract.py](https://app.codecov.io/gh/opendatacube/datacube-core/pull/1498?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-ZGF0YWN1YmUvaW5kZXgvYWJzdHJhY3QucHk=) | `87.84% <64.28%> (-0.59%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.