kujaku11 / mth5

Exchangeable and archivable format for magnetotelluric time series to better serve the community through FAIR principles.
https://mth5.readthedocs.io/en/latest/index.html
MIT License
14 stars 3 forks source link

Plot large time series efficiently #26

Open kujaku11 opened 3 years ago

kujaku11 commented 3 years ago

Would be nice to be able to plot the time series in its entirety if possible.

Possible solutions would be using something like Bokeh, Datashader, HoloViz.

kujaku11 commented 2 years ago

Should look at PyViz especially hvplot, HoloViz, and Panel. hvplot has a native plot xarray and can use Panel to create an interactive plot. Could make this a dashboard.

k-a-mendoza commented 2 years ago

I've got a solution already working with dashapp using plotly and plotly-resampler. Its limited to holding a few tens of GB of data in memory, but you can selectively and interactively plot raw data based on station uptime. Some elements are a bit rough but it's relatively fast.

I can post on my own github later this week if people are interested.