holoviz / geoviews

Simple, concise geographical visualization in Python
http://geoviews.org
BSD 3-Clause "New" or "Revised" License
577 stars 75 forks source link

Wind Barbs #720

Open itsgifnotjiff opened 2 months ago

itsgifnotjiff commented 2 months ago

Is your feature request related to a problem? Please describe.

One of the few things missing from GeoViews are domain specific plots out of which the most commonly used one is the Wind Barbs one. Matplotlib, MetPy and others allow for static and WMS services can serve dynamic Wind Barbs but using a VectorField it should (maybe already is) be possible to put some Wind barbs on a GeoViews map object.

image

Describe the solution you'd like

Ideally we would replicate the Matplotlib API where we allow to obviously define the x,y,u,v and c but also allow for some options like density and such.

Describe alternatives you've considered

I have experimented with the VectorField examples i've found around Discourse and StackOverflow, but right now I am using Matplotlib that I wrap in panel.pane.Matplotlib.

ahuang11 commented 2 months ago

There is a matplotlib backend barbs https://geoviews.org/gallery/matplotlib/wind_barbs_example.html

itsgifnotjiff commented 2 months ago

Correct!! I would like to have a dynamic VectorField Geoviews one since the Matplotlib barbs one is trivial to implement but static.