Earlier lessons ran the method on toy arrays. This one runs the real access idioms — xr.open_zarr(...), earthaccess.login()/search_data()/open(), even s3:// URLs — except they resolve to synthetic data generated in your browser. The code is identical to what you'd run against the real archive; only the bytes are fake (and clearly labelled).
1 · Virtual Zarr — open a "cloud" store
import earthschool installs the shims; then an ordinary open_zarr on an s3:// URL returns a synthetic dataset shaped exactly like real GPM IMERG:
2 · The full earthaccess idiom → a verified trend
The login → search → open flow you'd write for real, then the unchanged area-weighted Theil–Sen trend — and it recovers the planted truth:
What's wired
Every dataset in the catalog — ~3,400 of them — is wired. Pass any short_name to earthschool.dataset("…") (or any s3://…/<short_name>.zarr) and you get a synthetic dataset with a plausible variable, units, seasonality and planted trend inferred from that dataset's catalog metadata. The most-taught products — GPM IMERG, MODIS NDVI & LST, SMAP, GRACE, Black Marble, OCO-2, TROPOMI, ERA5 — have hand-tuned specs; the rest are inferred by theme + keywords (so the shape is right even if the exact behaviour is approximate). Everything is synthetic and labelled NOT real measurements — for learning the workflow, then pointing the identical code at the real archive.