Skip to content

calum-chamberlain/GPHS445_notebooks

Repository files navigation

VUW GPHS445: Observational Earthquake Seismology

Jupyter notebooks for the GPHS445 course taught at Victoria University of Wellington

Python 3.8 License: GPL v3 test Binder

This repository contains relevant notebooks and links to notebooks to help students through practical elements of observational seismology. This is NOT an exhaustive textbook for observational seismology.

These notebooks cover:

  1. Introduction to handling seismic data with ObsPy
  2. Fundamentals of Fourier analysis for Seismic data
  3. Earthquake detection and seismic phase identification
  4. Earthquake location
  5. Magnitude and focal mechanisms
  6. Earthquake statistics

How to use these notebooks

  1. If using github:
    • Fork this repository (forking will allow you to keep your local changes seperate from changes here);
    • Clone (git clone ... where ... is the url given by the big green button) to your local machine
  2. If just downloading:
    • Download using the big green button
  3. Change into the newly created directory;
  4. Install the requirements (recommended to use conda):
    conda env create -f environment.yml  # Create an environment called gphs445
    source activate gphs445  # Activate the environment - You will need to do this everytime you use the notebooks
  5. Start jupyter-lab (run jupyter-lab) in your repository directory and navigate to the notebook you want to work on;
  6. Save any changes you make in the notebook;
  7. When you want to back-up your changes, or when you are happy with them, commit the changes and push to your upstream repository (check out the github cheatsheet for more commands):
    git add <notebook you have been working on> # Replace with the filename you were working on
    git commit -m "Some memorable commit message"
    git push origin master