{ "cells": [ { "attachments": {}, "cell_type": "markdown", "id": "ceb2d810", "metadata": {}, "source": [ "# HRRR-Alaska\n", "\n", "This will plot HRRR-Alaska data. There are additional \"products\" available than are shown here." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from herbie import Herbie\n", "from toolbox import EasyMap, pc\n", "from paint.standard2 import cm_tmp\n", "\n", "import matplotlib.pyplot as plt\n", "import cartopy.crs as ccrs" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "✅ Found ┊ model=hrrrak ┊ \u001b[3mproduct=sfc\u001b[0m ┊ \u001b[38;2;41;130;13m2021-Jul-19 00:00 UTC\u001b[92m F06\u001b[0m ┊ \u001b[38;2;255;153;0m\u001b[3mGRIB2 @ aws\u001b[0m ┊ \u001b[38;2;255;153;0m\u001b[3mIDX @ aws\u001b[0m\n" ] } ], "source": [ "H = Herbie(\n", " \"2021-07-19\",\n", " model=\"hrrrak\",\n", " product=\"sfc\",\n", " fxx=6,\n", ")" ] }, { "cell_type": "code", "execution_count": 3, "id": "17271489", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'prs': '3D pressure level fields; 3-km resolution',\n", " 'sfc': '2D surface level fields; 3-km resolution',\n", " 'nat': 'Native level fields; 3-km resolution',\n", " 'subh': 'Subhourly grids; 3-km resolution'}" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Show additional products\n", "H.PRODUCTS" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset>\n", "Dimensions: (y: 919, x: 1299)\n", "Coordinates:\n", " time datetime64[ns] 2021-07-19\n", " step timedelta64[ns] 06:00:00\n", " heightAboveGround float64 2.0\n", " latitude (y, x) float64 ...\n", " longitude (y, x) float64 ...\n", " valid_time datetime64[ns] ...\n", "Dimensions without coordinates: y, x\n", "Data variables:\n", " t2m (y, x) float32 ...\n", " gribfile_projection object None\n", "Attributes:\n", " GRIB_edition: 2\n", " GRIB_centre: kwbc\n", " GRIB_centreDescription: US National Weather Service - NCEP\n", " GRIB_subCentre: 0\n", " Conventions: CF-1.7\n", " institution: US National Weather Service - NCEP\n", " model: hrrrak\n", " product: sfc\n", " description: High-Resolution Rapid Refresh - Alaska\n", " remote_grib: https://noaa-hrrr-bdp-pds.s3.amazonaws.com/hrrr....\n", " local_grib: C:\\Users\\blaylock\\data\\hrrrak\\20210719\\subset_6e...\n", " search: TMP:2 m above