asascience / ott-coops

Project Tracking for OTT Co-Ops
1 stars 0 forks source link

Think About how to Create a Time-Based Traffic Light Tool #117

Closed jamesdoyle21 closed 2 months ago

jamesdoyle21 commented 3 years ago

For example, workers want to know when they can service an offshore wind turbine when waves and wind are low. They have the exact coordinates of the turbine, so the spatial data layer is not very useful, but if they could see a green/red indicator throughout some range of time, that would be useful.

jamesdoyle21 commented 3 years ago

This relates to how FMIS uses the bottom drawer time series plotted with the traffic light colors as the background of the plot

jamesdoyle21 commented 2 years ago

Potential next enhancement

kvmartin001 commented 2 years ago

This would be a fun one that I could tackle.

Major parts as I see them:

Questions:

jamesdoyle21 commented 2 years ago

For times when any of the layers in the traffic light rules has no data, we would probably want a 4th color, dark gray perhaps, and add a tooltip when the user hovers over that particular time on the slider with a warning saying X data layer has no data at Y time

As for the different lengths of timesteps, what could be the biggest difference in time here? We could set it so that in order for the selected time to be green, the data at the timestep before and after that selected time for all rules must meet the criteria. Otherwise it shows yellow / red.

kvmartin001 commented 2 years ago

As for the different lengths of timesteps, what could be the biggest difference in time here?

On second thought, the problem of data gaps and timestep differences is basically the same. Many layers update every hour, but some only update a few times a day and some have multi-day gaps surrounding just a few data points.

There will probably be a singular out-of-date cutoff for all layers. The timeline will turn gray if any of the layers have gone out-of-date at that point, and will return to normal at the next point where all layers are considered valid.

mpiannucci commented 2 years ago

Closing in favor of one ticket: https://github.com/asascience/ott-coops/issues/447