Your First Python Tutorial

A tutorial for getting started with Python aimed at scientists with experience in at least one other coding language. Designed to teach you Python, not package specific syntax.
pure pythontutorialpythiaxdev
Unidata Python Workshop - Jupyter Notebooks Introduction

Jupyter notebooks are a great way to have code, output, images, video, and other information in one place. Notebooks are an ideal tool for the student, research scientist, and even software developer. In this lesson we will go over the basic features of Jupyter notebooks and how to use them.
jupyterunidata
An Introduction to Earth and Environmental Data Science

This book grew out of a course developed at Columbia University called Research Computing in Earth Science. It was written mostly by Ryan Abernathey, with significant contributions from Kerry Key. By separating the book from the class, we hope to create an open-source community resource for python education in the Earth and Environmental Sciences.
coursepangeo
Earth Analytics Python Course

Earth analytics is an intermediate, multidisciplinary course that addresses major questions in Earth science and teaches students to use the analytical tools necessary to undertake exploration of heterogeneous ‘big scientific data’. This course is designed for graduate students and students participating in the Earth Data Analytics Professional Certificate.
course
Research Software Engineering with Python

We believe every researcher should know how to write short programs that clean and analyze data in a reproducible way and how to use version control to keep track of what they have done. But just as some astronomers spend their careers designing telescopes, some researchers focus on building the software that makes research possible. People who do this are called research software engineers; the aim of this book is to get you ready for this role by helping you go from writing code for yourself to creating tools that help your entire field advance.
course
Data Analysis with Python- Zero to Pandas

"Data Analysis with Python: Zero to Pandas" is a practical and beginner-friendly introduction to data analysis covering the basics of Python, Numpy, Pandas, Data Visualization, and Exploratory Data Analysis.
course
MTH271- Mathematical Computing with Data

In this course, we will have multiple occasions to procure, analyze, and visualize data. We will study mathematical and statistical techniques to discern patterns in complex data. We shall do so in an ecosystem of python computing modules developed by open-source enthusiasts worldwide.
course
ATSC301- Atmospheric Radiation and Remote Sensing

This course teaches radiation and remote sensing, but also covers: how to write clear, documented and tested code that can ingest, manipulate and display data, and how to turn equations into computer algorithms in Python.
courseremote sensing
Introduction to Geospatial Concepts

The goal of this lesson is to provide an introduction to core geospatial data concepts. It is intended for learners who have no prior experience working with geospatial data, and as a pre-requisite for the R for Raster and Vector Data lesson . This lesson can be taught in approximately 75 minutes and covers the following topics: Introduction to raster and vector data format and attributes, examples of data types commonly stored in raster vs vector format, an introduction to categorical vs continuous raster data and multi-layer rasters, an introduction to the file types and R packages used in the remainder of this workshop, an introduction to coordinate reference systems and the PROJ4 format, and an overview of commonly used programs and applications for working with geospatial data.
course
Dani Arribas-Bel Course Repositories

A collection of courework repositories for various data science classes taught by Dani Arribas-Bel.
coursedata science
Unidata Python Workshop- MetPy

MetPy is a modern meteorological open-source toolkit for Python. It is a maintained project of Unidata to serve the academic meteorological community. MetPy consists of three major areas of functionality: plots, calculations, and file i/o.
metpytutorial
Intro to Numerical Computing with NumPy

NumPy provides Python with a powerful array processing library and an elegant syntax that is well suited to expressing computational algorithms clearly and efficiently. We'll introduce basic array syntax and array indexing, review some of the available mathematical functions in NumPy, and discuss how to write your own routines. Along the way, we'll learn just enough about matplotlib to display results from our examples.
numpyvideo
Python Programming for Earth Science Students

Python Programming for Earth Science Students
tutorialpure pythonpandasscipynumpymatplotlib
Python for Atmosphere and Ocean Science

Lesson materials for a one-day workshop on using Python in the atmosphere and ocean sciences. Useful for any geoscientist working with raster (a.k.a. “gridded”) data, the lessons cover packages/tools including conda, xarray, dask and netCDF, as well as best practices including functions, command line programs, defensive programming, provenance tracking and version control via git/GitHub.
xarraydaskcartopynumpymatplotlibcourseatmospheric scienceclimate science
Environmental Data Science Book

A living, open and community-driven resource to showcase and support computational notebooks for collaborative, reproducible and transparent Environmental Science
pangeopoochintakepystacpandasgeopandasxarraydaskmatplotlibholoviewscartopybookgalleryenvironmental scienceclimate scienceecologyhydrologyphysical geographyremote sensingdata scienceThe Alan Turing Institute
Your First Python Tutorial - Reading in a .txt File

Recording from the Python Tutorial Seminar Series designed to teach you Python, not package specific syntax. This lessons covers setting up a work environment and opening a .txt file. The content to follow along with this video is hosted on the <A href="https://ncar.github.io/python-tutorial/tutorials/yourfirst.html">Xdev Python Tutorial website</A>.
pure pythonvideotutorialpythiaxdev
Your First Python Tutorial - Creating a Data Dictionary

Recording from the Python Tutorial Seminar Series designed to teach you Python, not package specific syntax. This lessons covers creating a data dictionary. The content to follow along with this video is hosted on the <A href="https://ncar.github.io/python-tutorial/tutorials/yourfirst.html#creating-a-data-dictionary">Xdev Python Tutorial website</A>.
pure pythonvideotutorialpythiaxdev
Your First Python Tutorial - Writing Functions

Recording from the Python Tutorial Seminar Series designed to teach you Python, not package specific syntax. This lessons covers how to write and call functions in Python. The content to follow along with this video is hosted on the <A href ="https://ncar.github.io/python-tutorial/tutorials/yourfirst.html#writing-functions">Xdev Python Tutorial website</A>.
pure pythonvideotutorialpythiaxdev
Your First Python Tutorial - Creating Your Own Package

Recording from the Python Tutorial Seminar Series designed to teach you Python, not package specific syntax. This lessons covers how to create and call modules and packages. The content to follow along with this video is hosted on the <A href="https://ncar.github.io/python-tutorial/tutorials/yourfirst.html#first-python-package">Xdev Python Tutorial website</A>.
pure pythonvideotutorialpythiaxdev
Your First Python Tutorial - Using a Built-In Package and Publishing Your Package

Recording from the Python Tutorial Seminar Series designed to teach you Python, not package specific syntax. This lessons covers how to use your first external buil-in package, `math`, and how to publish your package. The content to follow along with this video is hosted on the <A href="https://ncar.github.io/python-tutorial/tutorials/yourfirst.html#using-a-built-in-package">Xdev Python Tutorial website</A>.
pure pythonvideotutorialpythiaxdev
Python Tutorial Seminar Series - Jupyter Notebooks

Recording from the Python Tutorial Seminar Series introducing JupyterLab and Jupyter Notebooks.
jupytervideotutorialpythiaxdev
Python Tutorial Seminar Series - Numpy

Recording from the Python Tutorial Seminar Series introducing the Python Package `numpy`. The content to follow along with this video is hosted on this <A href="https://colab.research.google.com/drive/1zcjaGXofLzUXkQzJKnANE9Z3yFUt0q7E?">Numpy Google Collab</A>.
numpyvideotutorialpythiaxdev
Python Tutorial Seminar Series - Matplotlib

Recording from the Python Tutorial Seminar Series introducing the Python Package `matplotlib`. The content to follow along with this video is hosted on this <A href="https://github.com/anissa111/matplotlib-tutorial">Matplotlib Tutorial GitHub Repository</A>.
matplotlibvideotutorialdata visualizationpythiaxdev
Python Tutorial Seminar Series - Object Oriented Programming

Recording from the Python Tutorial Seminar Series introducing Object Oriented Programming. The content to follow along with this video is hosted in this <A href="https://github.com/pilotchute/oop_hrrr_tutorial">Object Oriented Programming Tutorial GitHub Repository</A>.
videotutorialpythiaxdev
Python Tutorial Seminar Series - Cartopy

Recording from the Python Tutorial Seminar Series introducing the Python Package `cartopy`. The content to follow along with this video is hosted in this <A href="https://github.com/michaelavs/cartopy_tutorial">Cartopy Tutorial GitHub Repository</A>.
matplotlibcartopyvideotutorialdata visualizationpythiaxdev
Python Tutorial Seminar Series - Git and GitHub

Recording from the Python Tutorial Seminar Series introducing the tools Git and GitHub. The content to follow along with this tutorial is hosted in this <A href="https://github.com/NCAR/git-github-demo">Git and GitHub Demo GitHub Repository</A>.
gitvideotutorialpythiaxdev
Python Tutorial Seminar Series - Pandas

Recording from the Python Tutorial Seminar Series introducing the Python Package `pandas`. The content to follow along with this video is hosted in this <A href="https://github.com/mgrover1/ncar_pandas_tutorial">Pandas Tutorial GitHub Repository</A>.
pandasvideotutorialpythiaxdev
Python Tutorial Seminar Series - Xarray Part 1

Recording from the Python Tutorial Seminar Series introducing the Python Package `xarray`. This is the first lesson of a two part series. The content to follow along with this video is hosted in this <A href="https://github.com/andersy005/xarray-tutorial">Xarray Tutorial GitHub Repository</A>.
xarrayvideotutorialpythiaxdev
Python Tutorial Seminar Series - Xarray Part 2

Recording from the Python Tutorial Seminar Series introducing the Python Package `xarray`. This is the second lesson of a two part series. The content to follow along with this video is hosted in this <A href="https://github.com/andersy005/xarray-tutorial">Xarray Tutorial GitHub Repository</A>.
xarrayvideotutorialpythiaxdev
Python Tutorial Seminar Series - Dask Part 1

Recording from the Python Tutorial Seminar Series introducing the Python Package `dask`. This is the first lesson of a two part series. The content to follow along with this video is hosted in this <A href="https://github.com/andersy005/xarray-tutorial">Xarray Tutorial GitHub Repository</A>.
daskvideotutorialpythiaxdev
Python Tutorial Seminar Series - Dask Part 2

Recording from the Python Tutorial Seminar Series introducing the Python Package `dask`. This is the second lesson of a two part series. The content to follow along with this video is hosted in this <A href="https://github.com/andersy005/xarray-tutorial">Xarray Tutorial GitHub Repository</A>.
daskvideotutorialpythiaxdev
Python Tutorial Seminar Series - Plotting with GeoCAT

Recording from the Python Tutorial Seminar Series introducing advanced plotting techniques and highlighting tools developed by GeoCAT. The content to follow along with this video is hosted in this <A href="https://github.com/anissa111/plotting-with-geocat-tutorial">Plotting with GeoCat GitHub Repository</A>.
geocat-vizvideotutorialdata visualizationpythiaxdev
Python Tutorial Seminar Series - GeoCAT-Comp

Recording from the Python Tutorial Seminar Series introducing `geocat-comp`. The content to follow along with this video is hosted in this <A href="https://github.com/pilotchute/geocat_comp_tutorial">GeoCat-Comp GitHub Repository</A>.
geocat-compvideotutorialpythiaxdev
The Pythia Foundations Book

Brought to you by Project Pythia, this growing collection covers the foundational skills everyone needs to get started with scientific computing in the open-source Python ecosystem.
bookpythia
Pythia Foundations - Getting started with Python

This chapter of the Pythia Foundations book covers Python spin-up for new users. Here you will look at your first Python code and learn to run/install Python on various platforms.
bookpythiapure python
Pythia Foundations - Getting started with Jupyter

This chapter of the Pythia Foundations book covers Python spin-up using Jupyter. Here you will learn about the JupyterLab interface and markdown formatting.
bookpythiajupyter
Pythia Foundations - Getting started with GitHub

This chapter of the Pythia Foundations book covers GitHub: what it is, basic version control, and how to open a pull request.
bookpythiagit
Pythia Foundations - Numpy

This chapter of the Pythia Foundations book covers the Python package NumPy: NumPy basics, intermediate NumPy, and NumPy broadcasting.
bookpythianumpy
Pythia Foundations - Matplotlib

This chapter of the Pythia Foundations book covers basics of the Python package Matplotlib.
bookpythiamatplotlibdata visualization
Pythia Foundations - Cartopy

This chapter of the Pythia Foundations book introduces the Python package Cartopy, a package designed for geospatial data processing and used for its ability to produce maps.
bookpythiacartopydata visualization
Pythia Foundations - Datetime

This section of the Pythia Foundations book contains tutorials on dealing with times and calendars in scientific Python, beginning with use of the datetime standard library.
bookpythiadatetime
Pythia Foundations - Pandas

This section of the Pythia Foundations book covers Pandas, a very powerful library for working with tabular data (i.e. anything you might put in a spreadsheet – a common data type in the geosciences).
bookpythiapandas
Pythia Foundations - Data Formats

This section of the Pythia Foundations book covers how to interact in Python with data file formats in widespread use in the geosciences, such as NetCDF.
bookpythiadata formatsnetCDF4
Pythia Foundations - Xarray

This section of the Pythia Foundations book contains tutorials on using Xarray. Xarray is used widely in the geosciences and beyond for analysis of gridded N-dimensional datasets.
bookpythiaxarray
Plotting Earth Science Data

A guide to analyze and plot Earth Science data for Scientist of all programming skill levels, using L-1 data product from CYGNSS mission as an example.
cartopyxarraynumpymatplotlibnetCDF4data visualizationremote sensing
Herbie: Retrieve NWP Model Data

Herbie is a python package that downloads recent and archived numerical weather prediction (NWP) model output from different cloud archive sources. Its most popular capability is to download HRRR model data. NWP data in the GRIB2 format can be read with xarray+cfgrib.
xarraycfgrib