MetPy icon indicating copy to clipboard operation
MetPy copied to clipboard

Can MetPy draw the tropical cyclone symbol ?

Open wqshen opened this issue 8 years ago • 6 comments

When i use MetPy, i found that it can draw some station weather symbol which is amazing. i want know if it can draw the tropical cyclone symbol ?

wqshen avatar Sep 20 '16 05:09 wqshen

We don't currently, but I think it would be appropriate for MetPy to do so. We pulled all of the symbols we have from the OGC Met-Ocean working group's SVG images, and they have some symbols for tropical cyclones.

I'm not really in love with those, though--do you know where we might find some simple SVG we could use? Or maybe create a couple yourself? We could incorporate those SVGs into the icon font we use in MetPy.

dopplershift avatar Sep 20 '16 17:09 dopplershift

Looking at the Wikimedia Commons, there are two public domain options that look pretty suitable/good to me.

https://commons.wikimedia.org/wiki/File:Tropical_Storm_north.svg

https://commons.wikimedia.org/wiki/File:Tropical_Storm_south.svg

SnoopJ avatar Mar 23 '17 01:03 SnoopJ

Interesting, that's a much better place to start. Thanks for the pointer!

dopplershift avatar Mar 23 '17 14:03 dopplershift

For completeness, this should include the hurricane symbol.

dopplershift avatar May 18 '18 20:05 dopplershift

This might be a useful way to attack it: https://matplotlib.org/examples/pylab_examples/scatter_star_poly.html

dopplershift avatar May 18 '18 20:05 dopplershift

I was revisiting the issue of generating custom markers for the hurricane symbol on Stackoverflow: https://stackoverflow.com/questions/44726675/custom-markers-using-python-matplotlib. I recently came across this package: https://pypi.org/project/tcmarkers/ which seems to be aligned with the SVG approach that is being considered here.

Kushalkr avatar Sep 16 '22 13:09 Kushalkr