π³ Domain Boundary#
Herbie provides the model domain boundary as a Shapely Polygon with the accessor
ds.herbie.polygon
This returns two polygons
A Polygon in model coordinate system.
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]:
[4]:
ds.herbie.polygon[1]
[4]: