{ "cells": [ { "cell_type": "markdown", "metadata": { "tags": [], "user_expressions": [] }, "source": [ "# Lab Session 6: Climate data and xarray\n", "\n", "* **Statistics 159/259, Spring 2022**\n", "* Prof. F. Pérez and GSI F. Sapienza, Department of Statistics, UC Berkeley.\n", "* 03/10/2022\n", "\n", "Menu for today:\n", "\n", "1. **Introduction to xarray.** We will be using xarry to manipulate climate data. \n", "\n", "1. **Working with ERA 5 data.** As an example, we are going to practice data manipulation and visualization with xarray using a different climate dataset. \n", "\n", "Useful links: \n", "- Introduction to xArray (lecture notes)\n", "- [ERA5 Dataset](https://www.ecmwf.int/en/forecasts/datasets/reanalysis-datasets/era5)\n", "\n", "**Acknowledgment:** Large part of the contents in this notebook were done by [Dr. Chelle Gentemann](https://cgentemann.github.io)." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "nbgrader": { "grade": false, "grade_id": "setup", "locked": true, "schema_version": 2, "solution": false } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/tmp/ipykernel_2636/1977167424.py:12: MatplotlibDeprecationWarning: The seaborn styles shipped by Matplotlib are deprecated since 3.6, as they no longer correspond to the styles shipped by seaborn. However, they will remain available as 'seaborn-v0_8-