_images/geo-python-2020.png

Welcome to Geo-Python, UPD Geology edition!#

The Geo-Python course teaches you the basic concepts of programming and scientific data analysis using the Python programming language in a format that is easy to learn and understand (no previous programming experience required). Each lesson is a tutorial with specific topic(s) where the aim is to gain skills and understanding how to solve common data-related tasks using Python.

For Geol 197 GDAM and Geol 297 GDA, we have adapted the Geo-Python course originally offerred at the Department of Geosciences and Geography at the University of Helsinki.

Open Access!

The course is open for everyone to follow online. The aim of this course is to share the knowledge and help people to get started with their journey for doing science more efficiently and in a reproducible manner using Python programming.

To anyone accessing this course

Now on the 4th year of offering, this course has content slightly tailored and localized towards the average senior-standing University fo the Philippines geology student. The course is a work in progress, and we continue to improve the materials, so please forgive any inconsistencies or mistakes. Contact us if you notice anything!

Course format#

The course consists of interactive lectures and weekly exercises. The exercises will focus on developing basic programming skills using Python and applying those skills to various analytical problems. Typical exercises will involve a brief introduction followed by topical computer-based tasks. For each exercise, you may be asked to submit the Python codes you have written, output figures and answers to related questions. You are encouraged to discuss and work together with other students while working on the weekly exercises. However, the exercises you submit must be completed individually and must clearly reflect your own work (in short, don’t copy paste from other students).

This course is used for the first 2/3 of two courses: Geology 197 Special Topics: Geoscience Data Analysis and Modeling Techniques, and Geology 297 Special Topics: Geoscience Data anlaysis. The former is an undergraduate course designed to give students a taste of techniques in data science and advanced GIS (hence the name…). The latter is designed for graduate students who will work on a mini-project that may or may not be related to their thesis.

Course topics#

Upon completion of the course, students will be able to: 1) explain computer concepts applicable to both general and geologic use, as well as 2) manipulate geologic data (raster data, vector data, and satellite imageries);

For the Geo-python part, students understand basic programming concepts, are able to write short programs, and can manage, analyze and visualize scientific data using Python. The students also learn to use version control (git) and online repositories (GitHub) for documenting and communicating their work. Themes for each week are listed below. Read more about the weekly learning goals in here.

New materials are updated on this course page each Saturday.

Week

Theme

1

Basic concepts of Python and computer programs

2

Diving into Python

3

Repeating tasks and making decisions

4

Creating and using functions

5

Data analysis Part I

6

Data analysis Part II + Dealing with errors

7

Data visualization

8

Basic geostatistics: Univariate analysis

9

Bivariate analysis and regressons

Step by step instructions with cloud computing!

The materials are written in a way that you can follow them step by step exactly as they are written, as long as you use the cloud computing resources that we provide for you (namely JupyterLab Notebooks using Binder or the CS JupyterHub). Read more about our cloud computing environment from here. If you work from your own computer, you need to adjust the file paths to the data accordingly.