Skip to content

Instantly share code, notes, and snippets.

View yaswant's full-sized avatar
🐙
I may be slow to respond.

Yaswant Pradhan yaswant

🐙
I may be slow to respond.
View GitHub Profile
@yaswant
yaswant / ex_cartopy_storm_track.ipynb
Created March 6, 2019 11:25
storm track on cartopy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yaswant
yaswant / ex_cartopy_storm_track.py
Last active March 6, 2019 10:58
strorm track with customised legend on cartopy map
#!/usr/bin/env python
"""
Demo: Plot strom tracks with custom legend on Cartopy mapping system
"""
import numpy as np
import cartopy.crs as ccrs
import cartopy.feature as cfeature
from cartopy.mpl import gridliner
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches