Skip to content

Instantly share code, notes, and snippets.

crazyapril crazyapril

Block or report user

Report or block crazyapril

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@crazyapril
crazyapril / cyclone_symbol.py
Last active Oct 28, 2019
cyclone symbol for matplotlib (clockwise & anticlockwise, filled & hull)
View cyclone_symbol.py
"""Cyclone symbol. Includes anticlockwise (for northern hemisphere) and
clockwise (for southern hemisphere), filled and hull variants.
The path data is derived from 'weather-icons' repository on Github. Link:
https://github.com/erikflowers/weather-icons/blob/master/svg/wi-hurricane.svg
With slight modification, the path in this file is almost identical to the
icon in the SVG file.
"""
from matplotlib.path import Path
@crazyapril
crazyapril / bdeck.py
Created Oct 5, 2019
bdeck file reader (for BST files)
View bdeck.py
"""The BEST BDeck file reader I've seen yet. (lol)
Specifically designed for Best Track data, so it may be not that good in some
scenarios as BDeck format is used in many occasions. I would suggest you also
use wonderful `pandas` library to explore best track data in a very convenient
way!
See documentation for `BDeckFile` class to start.
"""
You can’t perform that action at this time.