Open FinniganIK opened 3 years ago
Notes from Ash and Jessie:
kaikoura = get_geonet_quakes(
min_latitude=-43.12, max_latitude=-41.15,
min_longitude=172.37, max_longitude=174.95,
start_time=datetime.datetime(2010, 1, 1),
min_magnitude=2)
# Rename those columns
kaikoura = kaikoura.rename(
columns={" magnitude": "magnitude",
" latitude": "latitude",
" depth": "depth"})
print(f"Downloaded {len(kaikoura)} earthquakes")
%matplotlib notebook
PairGrid
openpyxl
)Module 2B - downloading earthquakes notes that you should see the Kaikōura earthquake, but for 2023 the time window downloaded does not include the Kaikōura earthquake - update the dates!
Also show the students how to cope with too much data requested!