opendatacube / datacube-core

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

Support open-ended ranges in dataset search #1217

Closed MatthewJA closed 1 year ago

MatthewJA commented 2 years ago

Expected behaviour

datacube dataset search 'time > 2021-01-01' should product datasets more recent than 2021-01-01

Actual behaviour

This isn't supported and an error is shown:

time > 2021-01-01
        ^
Expected one of:
  * EQUAL
  * IN
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

omad commented 2 years ago

This seems like a nice usability addition.

Eventually people learn to work around it by specifying a really high or really low date as one end of the range, which works, but isn't particularly nice.

The fix implementing this could potentially even work in the same way.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.