πŸ”³ Domain Boundary#

Herbie provides the model domain boundary as a Shapely Polygon with the accessor

ds.herbie.polygon

This returns two polygons

  1. A Polygon in model coordinate system.

  2. A Polygon in latitude/longitude coordinates.

[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.polygon[0]
[3]:
../../../_images/user_guide_tutorial_accessor_notebooks_domain_polygon_3_0.svg
[4]:
ds.herbie.polygon[1]
[4]:
../../../_images/user_guide_tutorial_accessor_notebooks_domain_polygon_4_0.svg