Python for Geoscientists

  • An understanding of the Python programming syntax

  • Importing and exporting common data formats

  • Visualising graph data with matplotlib

  • Mapping geoscientific data with Cartopy

  • Using common Python libraries (e.g. numpy and scipy) to solve simple geospatial problems

Follow along...

Docker image

Access docker image from Kitematic

Search for "brmather/python-honours-course"

Attached volume to a folder on your computer

Open the web interface

Docker image

$ docker pull brmather/python-honours-course:latest
$ docker images
REPOSITORY                            TAG                 IMAGE ID            CREATED             SIZE
brmather/python-honours-course        latest              0f196ceade6d        5 hours ago         3.17GB
brmather/pybadlands-workshop          18.04-ubuntu        0f196cesdfde        5 hours ago         2.17GB
brmather/pybadlands-workshop-base     18.04-ubuntu        17a94e4b836a        2 days ago          1.7GB
$
$ docker run --name honspy -p 8888:8888 brmather/docker-hons-pye:2019.04.13

Pull the docker image to your computer and run it within a container

Command line instructions

Assessment

Two Jupyter notebooks

Exercise 1

  • Mapping bathymetry and age of ocean floor
  • Image processing (interpolation + smoothing)
  • Curve fitting

Exercise 2

  • Test your understanding of finite difference
  • Solving the heat equation on a grid
  • Modelling a time series

Each of these exercises will build on notebooks that we will cover during the course.

Submission

  • Use your GitHub account to version control your work on the exercises.
  • Email me a link to your completed exercises to me by Friday the 24th of May.

Python for Geoscientists

By Ben Mather

Python for Geoscientists

Honours coursework

  • 103
Loading comments...

More from Ben Mather