{ "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, "id": "424b1869", "metadata": {}, "outputs": [], "source": [ "from herbie import Herbie\n", "from herbie.toolbox import EasyMap, pc\n", "from herbie import paint\n", "\n", "import matplotlib.pyplot as plt" ] }, { "cell_type": "code", "execution_count": 2, "id": "b03c0959", "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, "id": "c5c9fe2c", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Downloading inventory file from self.idx='https://noaa-hrrr-bdp-pds.s3.amazonaws.com/hrrr.20210719/alaska/hrrr.t00z.wrfsfcf06.ak.grib2.idx'\n" ] }, { "data": { "text/html": [ "
<xarray.Dataset> Size: 24MB\n",
"Dimensions: (y: 919, x: 1299)\n",
"Coordinates:\n",
" time datetime64[ns] 8B 2021-07-19\n",
" step timedelta64[ns] 8B 06:00:00\n",
" heightAboveGround float64 8B 2.0\n",
" latitude (y, x) float64 10MB 41.61 41.63 41.64 ... 76.35 76.34\n",
" longitude (y, x) float64 10MB 185.1 185.1 185.2 ... 244.1 244.2\n",
" valid_time datetime64[ns] 8B 2021-07-19T06:00:00\n",
" gribfile_projection object 8B None\n",
"Dimensions without coordinates: y, x\n",
"Data variables:\n",
" t2m (y, x) float32 5MB 289.4 289.4 289.4 ... 271.9 272.2\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: /home/blaylock/data/hrrrak/20210719/subset_6eb29...\n",
" search: TMP:2 m above<cartopy.crs.Stereographic object at 0x741fabc80180>" ], "text/plain": [ "