Intro to ERDDAP with xarray - Python
In this session, you will get an introduction accessing ERDDAP data with xarray.
See CoastWatch’s extensive tutorial library on this topic: CoastWatch tutorials
Tutorials
ERDDAP intro Intro to ERDDAP.
data cubes with ERDDAP and xarray This tutorial shows an example of creating a data cube from a ERDDAP data collection and creating spatial and temporal means.
The erddapy Python package helps you search and do common tasks with ERDDAP servers. See the erddapy tutorials on the IOOS CodeLab.
- Satellite data matchup track locations This tutorial shows how to use ERDDAP data to get SST and CHL along a sea turtle track.
How to download and open the tutorials
JupyterHub
- Start the Jupyter Hub server <nmfs-openscapes.2i2c.cloud>
- Click the orange Open in Jupyter Hub button
Colab
- Click the Open in Colab button
Download
- Download to your local computer
- You will need to have Python and Jupyter Lab installed
- Install any needed packages
How to clone the git repository
After cloning, you will need to navigate to the tutorials in the topics directory.
Never cloned the NMFSHackDays-2026 repo?
cd ~
git clone https://github.com/nmfs-opensci/NMFSHackDays-2026
Have cloned it but need to update? This is going to destroy any changes that you made to the repo to make it match the current state of the repo on GitHub.
cd ~/NMFSHackDays-2026
git fetch origin
git reset --hard origin/main