calum-chamberlain / ESCI451-Python

Introduction to Python for VUW ESCI 451 course.
GNU General Public License v3.0
11 stars 5 forks source link

Improvements for next year(s) #6

Open FinniganIK opened 3 years ago

FinniganIK commented 3 years ago
df[rolling_site] = df[site].rolling(window=5, min_periods=2).mean()
calum-chamberlain commented 3 years ago
calum-chamberlain commented 2 years ago
FinniganIK commented 2 years ago
FinniganIK commented 2 years ago
calum-chamberlain commented 2 years ago

Notes from Ash and Jessie:

calum-chamberlain commented 2 years ago
FinniganIK commented 2 years ago
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")
FinniganIK commented 2 years ago
calum-chamberlain commented 2 years ago
calum-chamberlain commented 1 year ago
calum-chamberlain commented 1 year ago
calum-chamberlain commented 1 year ago

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!