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

Deprecate search_eager and search_summaries and add archived arg to search/count methods #1550

Closed SpacemanPaul closed 4 months ago

SpacemanPaul commented 4 months ago

Reason for this pull request

See EP13

Proposed changes

Backwards incompatible side-effects of this PR:

  1. The datacube dataset search CLI command behaves differently for datasets with no location or multiple locations (now always one result per dataset)
  2. The search_by_metadata() method used to include archived datasets - this was inconsistent with all other search methods and undocumented. Now honours the archived parameter, which defaults to False as for all other search methods.

    • [x] Tests added / passed
    • [x] Fully documented, including docs/about/whats_new.rst for all changes