opendatacube / datacube-core

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

New driver based loader #1609

Closed Kirill888 closed 2 days ago

Kirill888 commented 5 days ago

Use odc.loader routines for loading data when driver= is supplied in the dc.load command.

This will become standard way of loading eventually.

At this moment odc.loader code is shipped by odc-stac package starting from odc-stac>=0.3.10

To try this out

  1. Install odc-stac==0.3.10
  2. Use your normal dc.load but add driver="rio" to route to odc.loader logic, same as used by odc.stac.load

    • [ ] Closes #xxxx
    • [ ] Tests added / passed
    • [ ] Fully documented, including docs/about/whats_new.rst for all changes
codecov[bot] commented 5 days ago

Codecov Report

Attention: Patch coverage is 14.51613% with 53 lines in your changes missing coverage. Please review.

Project coverage is 85.15%. Comparing base (02eb561) to head (1466de2).

:exclamation: Current head 1466de2 differs from pull request most recent head c75042c

Please upload reports for the commit c75042c to get more accurate results.

Files Patch % Lines
datacube/storage/_loader.py 13.55% 51 Missing :warning:
datacube/api/core.py 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop-1.9 #1609 +/- ## =============================================== - Coverage 85.44% 85.15% -0.29% =============================================== Files 140 141 +1 Lines 15502 15564 +62 =============================================== + Hits 13245 13254 +9 - Misses 2257 2310 +53 ```

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