ESA-VirES / WebClient-Framework

VirES for Swarm - web client
MIT License
3 stars 1 forks source link

Grouping of subsamplig to provide minimum maximum values #230

Open santilland opened 6 years ago

santilland commented 6 years ago

As commented i think this issue needs some discussion i will write some thoughts here to try elaborating what the requirements are.

santilland commented 6 years ago

So after some discussion with colleagues i think there are some points that need to be considered. I will try to describe the different first thoughts in parallel to an examples.

Let's say we select 1 day of 1Hz data, so we have 86400 points and apply a 20s subsampling resulting in 4320 points. We do this by just reading every 20th point contained in the data. The requirement is now to make sure no spikes are in the remaining 19s sections between the selected points. What should the approach be to fulfill this requirement?

For any approach in any case we need to consider that we will need to access every measurement and apply some function to it, which was not necessary for subsampled visualization until now, this probably means a noticeable difference in performance, especially when looking into visualizing longer time periods.

Ok, so there are my first thoughts, we can discuss more here or through other channels.

lmar76 commented 6 years ago

After internal discussion we decided to discard this new requirement because the user must be aware that a subsetting process is applied on the visualized data.

Maybe could it be useful to show this information to the user, e.g.: number of points currently visualized, subsetting step, etc.

santilland commented 6 years ago

I think we should be able to return to the client the current subsampling step size and show it somehow on the client, we will discuss some options and propose a solution

lmar76 commented 6 years ago

I agree. Maybe a status bar at the bottom of the page showing the number of points and the step...and additional information if needed.