Multidimensional Arrays

datasets for the xarray tutorial


Teaching: 0 min
Exercises: 0 min
  • What sample datasets will we use in this tutorial?

  • Learn about how we acquired climate reanalysis datasets

Reanalysis datasets:

We will be exploring the xarray architecture using some sample climate data from the European Centre for Medium-Range Weather Forecasts (ECMWF). We will use their ERA-Intrim climate reanalysis project. You can download the data in netCDF format here. As is the case for many climate products, the process involves downloading large netCDF files to a local machine.

If you visit the ECMWF page you will find that you can download a large number of different climate fields. Here we have prepared tutorial examples around 4 variables. Note that we provide a full resolution (global) version as well as a subsetted version (Alaska). Choose the Alaska data if you are limited for space or processing power on your local computer. The tutorials exercises will work for either set of data.

Dataset Description Size (MB) 2 meter air temperature 3.0 wind blowing to the east 3.0 wind blowing to the north 3.0 sea surface temperature 3.0 2 meter air temperature 0.1 wind blowing to the east 0.1 wind blowing to the north 0.1 sea surface temperature 0.1

Note 1: when loading the data into xarray, we will use “engine = scipy” for all of the global datasets. You do not need to specify an engine for the AK datasets.

Note 2: many of our examples follow from and expand on xarray developer Stephan Hoyer’s blog post.

Data Access:

Key Points