uafgeoteach / GEOS626_seis

GEOS 626 Applied Seismology (U. Alaska Fairbanks)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GEOS626_seis

A public GitHub repository within the organization uafgeoteach. Contains materials for GEOS 626 Applied Seismology, a class at the University of Alaska Fairbanks by Carl Tape (ctape@alaska.edu)

Course webpage: GEOS 626

The repository can be obtained from GitHub with this command:

git clone --depth=1 https://github.com/uafgeoteach/GEOS626_seis.git

Several students and seismologists have contributed toward improving these materials; please see history.txt for details.

Setup


A .yml file (see setup/ folder) lists dependencies. This file, executed within conda or docker, enables a user to establish the software tools needed to execute the iPython notebooks. (A dockerfile is also provided in setup/)

How to run using Conda


  • install conda (miniconda or anaconda, former recommended) if not done already
  • navigate to the setup folder
    cd GEOS626_seis/setup
  • setup the conda environment
    conda env create -f seismo.yml
  • activate the conda environment once the setup is complete
    conda activate seismo
  • navigate back to the root of repository and launch jupyter
    cd ..
    jupyter notebook
  • browse and run notebooks as desired

How to run using Docker


First, go into setup directory by using following command:

# move into setup directory
cd setup

# (optional): check Makefile exists 
ls | grep Makefile

Once you are in the setup directory, run following command to build and run docker container.

make

For more details, see README.md located in setup directory.

About

GEOS 626 Applied Seismology (U. Alaska Fairbanks)


Languages

Language:TeX 48.6%Language:Jupyter Notebook 40.7%Language:Python 10.7%Language:Makefile 0.0%Language:Shell 0.0%