developmentseed / landsat-util

A utility to search, download and process Landsat 8 satellite imagery
Creative Commons Zero v1.0 Universal
689 stars 147 forks source link

Nonfunctioning end-date #216

Closed frankwang95 closed 7 years ago

frankwang95 commented 7 years ago

It looks to me like the API at api.developmentseed.org is not handling end-dates properly when the end-date given is sooner than today. The following link returns no results

https://api.developmentseed.org/landsat?search=acquisitionDate:[2009-01-01+TO+2015-01-01]

... but this one works just fine:

https://api.developmentseed.org/landsat?search=acquisitionDate:[2009-01-01+TO+2018-01-01]

Anyone know what's going on?

egofer commented 7 years ago

The API must have stopped working correctly. For example, this no longer works:

landsat search --lat 38.9004204 --lon -77.0237117 --latest 2 --cloud 80 landsat search --latest 5 -p 166,60 landsat search --start "january 1 2015" --end "april 10 2015" -p 166,60

[u'No matches found!', 1]

... and this returns a single result for this year:

landsat search --lat 38.9004204 --lon -77.0237117 --latest 2 --cloud 90

Problems with dates and change of year?

drewbo commented 7 years ago

Hi all, we had an issue with some records getting dumped from the instance powering the API; we're working now on repopulating the files and adding better backups so this doesn't happen again!

frankwang95 commented 7 years ago

Thanks drewbo, will you send us a notification when the API is back online?

bucricket commented 7 years ago

Yes please let us know when its back up! Thanks for your hard work on this awesome tool!

drewbo commented 7 years ago

API records at 238591 and counting (albeit slowly). I'm not sure when we'll exactly see the "finished" signal when everything is back but it is happening in an ongoing background task as we speak

drewbo commented 7 years ago

All back up!