In [ ]:
# quakes
In [ ]:
from karmapi import base, maps, usgs
In [ ]:
%matplotlib inline
In [ ]:
cd ~/karmapi
In [ ]:
data = usgs.requests.get(usgs.URL)
In [ ]:
import io
df = usgs.load(io.StringIO(data.content.decode()))
In [ ]:
m = maps.satellite(0.0, -45.)
maps.plot_points_on_map(df.lat.values, df.lon.values, m)