Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 1.76 KB

README.md

File metadata and controls

63 lines (47 loc) · 1.76 KB

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 ([email protected])

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.