πŸ—ΊοΈ Quick Maps#

Herbie provides some quick map making for a Dataset.

ds.herbie.plot()

Note: I’m not completely satisfied with this feature, and it could use some work to make it more robust.

[1]:
from herbie import Herbie
ERROR 1: PROJ: proj_create_from_database: Open of /home/blaylock/miniconda3/envs/herbie-dev/share/proj failed
[2]:
H = Herbie("2022-12-05 06:00", fxx=6, model="hrrr")
ds = H.xarray("TMP:2 m")
βœ… Found β”Š model=hrrr β”Š product=sfc β”Š 2022-Dec-05 06:00 UTC F06 β”Š GRIB2 @ aws β”Š IDX @ aws
[3]:
ds.herbie.plot()
cfgrib variable: t2m
GRIB_cfName air_temperature
GRIB_cfVarName t2m
GRIB_name 2 metre temperature
GRIB_units K
GRIB_typeOfLevel heightAboveGround

/home/blaylock/GITHUB/Herbie/herbie/accessors.py:747: UserWarning: More than one time coordinate present for variable  "gribfile_projection".
  ds = ds.metpy.parse_cf()
/home/blaylock/GITHUB/Herbie/herbie/accessors.py:748: UserWarning: More than one time coordinate present for variable  "t2m".
  ds = ds.metpy.assign_y_x()
/home/blaylock/GITHUB/Herbie/herbie/accessors.py:748: UserWarning: More than one time coordinate present for variable  "gribfile_projection".
  ds = ds.metpy.assign_y_x()
[3]:
<GeoAxes: title={'left': 'Run: 06:00 UTC 05 Dec 2022 F06', 'center': 'HRRR 2 m\n', 'right': 'Valid: 12:00 UTC 05 Dec 2022'}>
../../../_images/user_guide_tutorial_accessor_notebooks_quick_maps_3_3.png