The files in this folder are Jupyter notebooks written in the Python programming language. They demonstrate some simple ways to access and use data in the GeoNet data repository. For a wider discussion about the data repository, see a data blog on the subject.
All notebooks use Python 3. We do not support Python 2.7.
| File | Description |
|---|---|
| Aviation colour codes | Demonstrates how to retrive an aviation colour code file, and graph the data. |
| Dart-triggers | Demonstrates how to retrive the triggers file, select a trigger event, and graph it with the associated waveform data from Tilde. |
| Historic volcanic activity | Demonstrates how to retrieve and graph historic volcanic activity data. Additional examples are available in a notebook used in a related data blog. |
| Moment tensors | Demonstrates how to retrieve the moment tensor file, to plot a solution on a map, and to compare moment tensor magnitude, Mw, with magnitudes from the same event available through the GeoNet FDSN webservice. |
| Soil gas | Demonstrates how to retrieve a file from one soil gas survey, and plot the data on a photo basemap. |
| Volcanic alert levels | Demonstrates how to retrive a volcanic alert level file, and graph the UTC and NZST/NZDT versions. Additional examples are available in a notebook used in a related data blog. |