{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Xarray 5: Time Series"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Overview\n",
"1. Work with an ERA-5 `Dataset` hosted on NCAR's Research Data Archive\n",
"2. Subset the Dataset along its dimensions\n",
"3. Perform diagnostic calculations and unit conversions\n",
"4. Perform Split-Apply-Combine\n",
"5. Create and refine a time series plot of minimum SLP and maximum windspeed over the subsetted region"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Prerequisites\n",
"\n",
"| Concepts | Importance | Notes |\n",
"| --- | --- | --- |\n",
"| Xarray Lessons 1-4| Necessary | |\n",
"\n",
"* **Time to learn**: 30 minutes\n",
"***"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Imports"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import xarray as xr\n",
"import pandas as pd\n",
"import numpy as np\n",
"from datetime import datetime as dt\n",
"from metpy.units import units\n",
"import metpy.calc as mpcalc\n",
"import cartopy.crs as ccrs\n",
"import cartopy.feature as cfeature\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.dates import DateFormatter, AutoDateLocator,HourLocator,DayLocator,MonthLocator\n",
"from matplotlib.ticker import (MultipleLocator, AutoMinorLocator)\n",
"import requests"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Work with an ERA-5 Dataset hosted on NCAR's [Remote Data Archive](https://rda.ucar.edu)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Create OpenDAP URLs pointing to the variables as they are stored in RDA's THREDDS server"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"