Python labs
- Introduction to Python, Jupyter, Colab, and Cartopy (P. Martin) zip file (1.7 MB)
- Data Analysis and Visualization (P. Martin) zip file (1.6 MB)
- Tides lab (S. Howden) zip file (491 KB)
- Iodide lab (M. Cook) zip file (4.7 MB)
- Satellite lab (E. Nyadjro) zip file (147 KB)
- Remote sensing project (C. Buckingham & E. Nyadjro) zip file (1.1 MB)
- Nearshore waves (M. Foster-Martinez) zip file (679 KB)
How to set Python up on your computer (2 options)
1. Anaconda
Download Python (via Anaconda) to your local computer. Anaconda includes the Python language, Jupyter and Spyder code editors, and many useful libraries for scientific computing.
The following documents may also be useful:
- Downloading and installing Anaconda on Windows (PDF)
- Getting Started with Python and Jupyter Notebook (PDF)
2. Google Colab
Use Google Colab to run Python and Jupyter notebooks on Google Cloud. It is a very nice resource that has python and the ipython notebook already installed and ready to go. All you need is a google account (e.g. a gmail account) and you have access to Google Colab! Below is an introductory video, and in a few days a tutorial with specific application to COESSING 2020 will be posted here as well.
If you plan to use Google Colab, I recommend going to the website colab.research.google.com and reading this page. Then, near the bottom of the page, you can click on tutorials (you will need to sign into your account in order to access some of these tutorials). I recommend going through “Overview of Colaboratory”. Several others, including “Guide to Markdown”, “Loading data”, “Charts”, and “Intro to Pandas” may be handy for this summer school, but will contain more topics than are included in this summer school.
Introductory Python tutorials
Link to walk-through files either using Jupyter notebook (on your own local computer) or a Colab notebook (using Google Colab).
- Jupyter/Python walkthrough (.zip of notebook file, .pdf)
- Colab/Python walkthrough (.zip of notebook file)
Or add all materials of Python labs directly to your Google Drive via this link.
Some materials can also be found in this GitHub repository
Video walkthroughs of tutorials
In these video tutorials, you can follow along with a screencast of the walkthrough notebooks linked above. This way you can follow along and learn some nice tips along the way!
Jupyter/python tutorial:
Google Colab/python tutorial