Skip to content

uqzzhao/Programming-Geophysics-In-Python

Repository files navigation

Programming-Geophysics-In-Python

Course details

"Programming Geophysics In Python", which is a 5-day training course, was designed and taught by Dr. Lutz Gross, the Associate Professor of Geophysics in School of Earth and Environmental Sciences at The University of Queensland, and his Ph.D student Zhengguang Zhao (seismic data processing topic only).

This course was firstly taught at China University of Mining & Technlogy (Beijing)(CUMTB) in October 2019. Around 150 postgraduate geophysical students from CUMTB took this 5-day training course. Later on, Dr. Lutz Gross taught this course at Jilin University.

Course outline

  • Day 1: Basic Concepts of Python
  • Day 2: Arrays and data visualization:
    • matplotlib & numpy
  • Day 3: Numerical modeling for Geophysics
    • esys.escript
  • Day 4: Seismic Data Processing
  • Day 5: Advanced Topics: Inversion

How to use this tutorial

As most of examples in the Jupyter Notebook tutorials use Esys-Escript package as its backend, users needs to download and install it correctly on their own computers.

Method 1

If you're familiar with installing Python packages/modules via Anaconda, you may configure your computer (Linux OS only) from scratch following the steps below:

  1. First, download and install Anaconda Python 3. This should be as simple as downloading a bash script called something like "Anaconda3-2019.03-Linux-x86_64.sh" and then running the script in the terminal. i.e. using something like:
    sudo ./Anaconda3-2019.03-Linux-x86_64.sh.
  2. Once Anaconda Python has been installed, you can install escript by running:
    conda install esys-escript -c aellery -c conda-forge

Method 2

A more convenient way using VirtualBox to learn this course is also provided. Here are the steps to get your programming environment ready.

  1. Download and install VirtualBox host software;
  2. Download pythonescriptTutorial.ova with access code: g9eq ;
  3. Use VirtualBox software on your OS to load the .ova file (File-->Import Appliance...);
  4. Start the Debian Linux OS on the virtual machine and log in with account name 'student' and password 'escript';
  5. Start Jupyter Notebook on Debian Linux OS via menu clicks (Applications-->Education-->Jupyter);
  6. Use Jupyter to run tutorial/codes placed in the folder 'PythonTutorial' on the desktop.

Plese note this .ova file was created on 20 October, 2019. Updates hosted on this Github repository have not been added to the course materials.


The content of the presentations and of the notebooks is © the author(s) and openly licensed CC-BY-SA. The code is © the author(s) and openly licensed under the terms of the Apache License 2, or under the terms specified by the author. If you have any questions, please contact the course teaching assistant Zhengguang Zhao.

About

Codes and tutorials of "Programming Geophysics In Python", a course designed and taught by Dr. Lutz Gross.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published