geodesymiami / insarmaps

3 stars 0 forks source link

Enhancement: search/filtering for period of most recent dates. #27

Open falkamelung opened 4 years ago

falkamelung commented 4 years ago

Given that our time-series are now 5 years or longer we should think about more options. I am just summarizing some ideas. Don't do anything we should discuss whether it is worth and how to implement it.

stackTom commented 3 years ago

These could be put into the search form we currently have. If by startDate and endDate, you mean these to be url parameters, they must be called something different, as we use these parameters to specify the start and end date for the plots now that we have bookmarkable URL's.

falkamelung commented 3 years ago

Issue https://github.com/geodesymiami/insarmaps/issues/21 is related. This is addressed in the last image.

These items could be addressed by replacing 'All items, Show last year data' by a simplified date search: 'Last month' 'Last two months' 'Last year' 'All data'

image image

The date search is the most used search (the others are almost never used). Any ideas how to highlight the data search? Giving immeadiately the options is one possibility (without the need to hover over the dropdown symbol). Maybe you have some other ideas.

image image
stackTom commented 3 years ago

I am a bit confused. So, we need a new Date search bar. When you click on the little upside down triangle, it sets the mode for the date search. And then the actual datasets matching that date search appear under the last ingests search bar?

falkamelung commented 3 years ago

the Date and Last ingest ingest are completely independent search functions. The Date search does nearly the same as we currently have, except that there are three options and it is at the top. This is high priority.

The Last ingest would give you the last ingests. They could be displayed anywhere. Under the search bar is a possible siggestion. I did a mistake with the screenshot. Below a correction. When clicking on one of the granule names it would show them in the same way as selecting from the map. Is that easy to implement? It is of low priority.

image
stackTom commented 3 years ago

Last ingests would be easy to implement. The problem is we don't have this information in the database. And there is no way to see the date a table was ingested into postgresql database, I just googled. So, we would have to add this as a new attribute in the ingest script and reingest the datasets.

falkamelung commented 3 years ago

We have a 'history' attribute. But I am not sure it contains the time.

image