Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wind Barbs #720

Open
itsgifnotjiff opened this issue Apr 11, 2024 · 4 comments
Open

Wind Barbs #720

itsgifnotjiff opened this issue Apr 11, 2024 · 4 comments

Comments

@itsgifnotjiff
Copy link

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
Copy link
Collaborator

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

@itsgifnotjiff
Copy link
Author

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

@wx4stg
Copy link

wx4stg commented Jul 11, 2024

I'm interested in contributing this but it feels more apt for holoviews, not geoviews. (Wind barbs are nice for maps, but what if I run CM1 or something and want to visualize its output?)

@itsgifnotjiff
Copy link
Author

Wind barbs are a geospatial plot and that's why I thought geoviews is the right package for it. Mr. @hoxbro what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants