This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass | |
import numpy as np | |
from numpy import sin, cos | |
R = EARTH_RADIUS = 6371000 | |
@dataclass | |
class Point: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""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. | |
""" |