nasa-gibs/worldview

Keep the current app time up to date with available imagery

jasontk19 opened this issue · 2 comments

What existing feature could be improved?
It could be useful to have the app automatically adjust the currently selected date/time to the latest available whenever the app has been left open in the browser for some time and, if there is imagery available. This is particularly relevant for when subdaily layers are loaded and new imagery is theoretically available every ten minutes.

Describe the improvement you'd like
Whenever the most recent possible date/time is selected, the app should poll GIBS on a given interval (e.g. 10 minutes) to see if newer imagery is available and, if so, adjust the date/time forward to view it. Currently, the app does periodically check to see if the timeline extent needs to be extended forward to keep up with the theoretically available time window (#409). However, since we don't know if there will be any imagery available there, the date/time selected is not adjusted for the user.

This would depend on GIBS changes to allow us to determine if imagery is actually available at the new "current" time.

The app should NOT adjust the date/time if the user has any other date/time selected.

Thoughts:

Is there a way to request the "new" tiles without additional help from GIBS and check to see if they are empty? If they returned content we could adjust the currently selected time.

Moved to WV-1986