{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 📈 Time-height graph" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [], "source": [ "from herbie import FastHerbie, Herbie\n", "import matplotlib.pyplot as plt\n", "import matplotlib.dates as mdates\n", "import pandas as pd\n", "import xarray as xr" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "CPU times: user 581 ms, sys: 67.7 ms, total: 649 ms\n", "Wall time: 860 ms\n" ] } ], "source": [ "%%time\n", "# User FastHerbie to get many Herbie objects\n", "FH = FastHerbie(DATES=[\"2024-05-11\"], product=\"prs\", fxx=range(0, 19, 3))\n", "# FH.inventory(r\"(?:HGT|TMP):1*[5-9,0][0,5]0 mb\")" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
| \n", " | latitude | \n", "longitude | \n", "
|---|---|---|
| 0 | \n", "40.76 | \n", "-111.89 | \n", "