gdoney1701 / COAWST-Test

3 stars 2 forks source link

fixed mplleaflet example #7

Open rsignell-usgs opened 7 years ago

rsignell-usgs commented 7 years ago

@gdoney1701 , this fixes the mplleaflet problem, which was caused by having vectors with NaN values: 2017-07-07_17-33-36

rsignell-usgs commented 7 years ago

I'm not sure this is the best solution however. Seems that mplleaflet hasn't been updated in years, and newer packages are Folium and https://github.com/ellisonbg/ipyleaflet.

But none of these can likely display many vectors without crapping out. Maybe be better to display vectors as images.

So perhaps check out Leaflet time dimension

Presentation here: https://my.usgs.gov/confluence/pages/viewpage.action?pageId=544063313

gdoney1701 commented 7 years ago

I have very little experience with javascript, so I'm not so sure how useful I would be, although that does appear to be the route to take. I'm still looking through the ipyleaflet and it may take some time with the lack of documentation.