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

tweak list_products to consider load_hints #1535

Closed Ariana-B closed 5 months ago

Ariana-B commented 5 months ago

Reason for this pull request

list_products would always get crs and resolution from grid_spec even if default_crs or default_resolution is not None or if crs and resolution were defined via load_hints.

Proposed changes


📚 Documentation preview 📚: https://datacube-core--1535.org.readthedocs.build/en/1535/

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (47f0aca) 91.79% compared to head (f547d7b) 91.77%.

Files Patch % Lines
datacube/api/core.py 57.14% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1535 +/- ## =========================================== - Coverage 91.79% 91.77% -0.02% =========================================== Files 132 132 Lines 14624 14631 +7 =========================================== + Hits 13424 13428 +4 - Misses 1200 1203 +3 ```

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