Skip to content

About

No description, website, or topics provided.

Resources

Stars

34 stars

Watchers

1 watching

Forks

Latest commit

 

History

165 Commits

Folders and files

Repository files navigation

EPS88 — PyEarth: A Python Introduction to Earth Science

EPS 88 PyEarth: the science questions and the computing skills of the course

Mondays 12:00–2:00 pm, McCone 265 · 2 units · Instructor Weiqiang Zhu

Office hours Tuesdays 12:00–1:00 pm, 285 McCone.

One question a week, answered with data and code you write yourself. Where do earthquakes and volcanoes happen, and why there? Which worlds besides Earth could hold liquid water? When will carbon dioxide pass 450 ppm? Can a machine learn to hear an earthquake?

The datasets are the ones research uses, not simplified teaching examples: the USGS earthquake catalogue, NASA's Exoplanet Archive, the Smithsonian's record of volcanic eruptions, and the seismic recordings used to train published deep-learning models. Python begins from zero in the first week, which ends with a figure you have plotted yourself, and reaches a neural network in the last. In between you learn to fit a model to data, to state how far it can be trusted, and to distinguish a real result from a coincidence. Thirteen notebooks, then a project of your own.

Prerequisites

None. No programming or statistics is assumed — we build Python from zero, and every statistical idea is taught here the first time it is used. EPS 88 is a Data 8 connector, but nothing here requires Data 8.

The weeks

Each link opens that notebook in your own DataHub account. A week with no link has not been released yet — each one goes up before the class that uses it. Week 1.5 is practice: not graded, nothing to submit, and its worked solutions are published alongside it.

Week Earth-science question Python Field
1 What was your birthquake? · solutions Notebooks, lists Seismology
1.5 Practice — no class on Labor Day · solutions Lists, loops, if, functions Practice — not graded
2 Which of these worlds could have liquid water — and why does your test reject Earth? · solutions Loops, Functions Planetary science
3 Earth's elevation has two peaks. So does Mars's. Same reason? · solutions Arrays, Tables Planetary science / oceanography
4 Where do earthquakes and volcanoes happen — and why there? · solutions Plotting, Maps Seismology / volcanology
5 A big earthquake has just struck. What will the next week bring? · solutions Probability, simulation Seismology
6 How old is the universe? · solutions Linear regression Astronomy
7 When will CO2 pass 450 ppm? · solutions Model selection Climate
8 How long was the Earth frozen? · solutions Confidence intervals Geochronology
9 Earthquake or nuclear explosion? Logistic regression Seismology / policy
10 Where was this basalt made? Random forests and SVM, Cross-validation Geochemistry
11 Can a computer sort the ocean into its water masses? Clustering Oceanography
12 If CO2 jumped to four times, how warm would Earth get, and when? Neural networks Climate science
13 Can a machine hear an earthquake? Convolutional networks Seismology
14a How hard will the ground shake at distance R from a magnitude M earthquake? Final project Seismology / engineering
14b Record monthly warmth in the Pacific: is a record El Niño coming, and how far ahead can we forecast it? Final project Oceanography / climate
14c Is Mars's air thinning, or is Curiosity just climbing? Final project Planetary science
14d Rock, carbon or metal: what are asteroids made of? Final project Planetary science / geochemistry
14e Your own question Final project Student's choice

How the course works

One notebook a week. You work in it during class and continue in the same file at home. The class questions apply a method you have just been shown; the homework asks the question the class deliberately left open. Both halves are your own work, and both are graded. Submit the notebook once, Sunday 23:59; solutions are published the following Wednesday.

Grading

weekly notebook 75% · project 15% · participation 10%

  • Weekly notebook — one file per week, class work and homework together, submitted once. Due Sunday 23:59. The lowest weekly notebook is dropped.
  • Participation — assessed from your contribution in class; nothing is submitted separately.
  • Project — one of the final-project notebooks (14a–14e above), individual work. Posted Sunday 8 November; uploads on Gradescope open Wednesday 25 November, 12:00; due Wednesday 16 December, 23:59. No class on Monday 7 December.

Late work — 10% per day; nothing accepted once solutions post.

What you will use

python · numpy · pandas · matplotlib · scikit-learn · pytorch

About

No description, website, or topics provided.

Resources

Stars

34 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors