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

Hemisphere-centric Direction of Wind Flags on Observations #1000

Open
bryanguarente opened this issue Jan 31, 2019 · 1 comment
Open

Hemisphere-centric Direction of Wind Flags on Observations #1000

bryanguarente opened this issue Jan 31, 2019 · 1 comment
Labels
Area: Plots Pertains to producing plots Type: Feature New functionality

Comments

@bryanguarente
Copy link
Contributor

bryanguarente commented Jan 31, 2019

When looking around the web and when going back to basic met classes, we were taught that the flags on the wind barbs should be pointed to the left in the Northern Hemisphere and to the right in the Southern Hemisphere when facing in the direction the wind is flowing (wind at your back).

This isn't a feature that is easy to control in MetPy unless you set "flip_barb=True" flag on the draw_barb function. This should be latitude-dependent rather than universal for a plot. Is there a way to have this set based on the latitude of a point? So Southern Hemisphere barbs would be appropriately plotted even when showing a Global image?

I understand there are other considerations here like with soundings, the wind barbs on there should be flipped when in the Southern Hemisphere, but you may not have the lat-long points at the time you are making that plot. In those instances, it might not make sense to use the latitude-dependent method.

@dopplershift
Copy link
Member

dopplershift commented Feb 1, 2019

This may make sense to try to get upstream in Cartopy, but I haven't fully decided if this would be easy or hard to do in a general fashion. i.e. given projected coordinates, how hard would it be to tell if we're above/below the equator.

Another problem are data that span the equator--right now that flag in matplotlib is an all-or-nothing affair. Might actually need to do some work upstream to make it more flexible (i.e. flip_barb accept an array of true/false).

@pelson Any thoughts on Cartopy handling latitude-dependent flipping of barbs? (modulo any matplotlib changes that are needed)

@dopplershift dopplershift added Type: Feature New functionality Area: Plots Pertains to producing plots labels Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Plots Pertains to producing plots Type: Feature New functionality
Projects
None yet
Development

No branches or pull requests

2 participants