Closed blaylockbk closed 3 days ago
Adds a new herbie xarray accessor to compute wind speed and direction from the U and V wind components of a Dataset if they are available.
from herbie import Herbie H = Herbie("2024-01-01") ds = H.xarray("GRD:10 m above") ds = ds.herbie.with_wind()
If you only want wind speed
ds.herbie.with_wind('speed')
If you only want wind direction
ds.herbie.with_wind('direction')
Adds a new herbie xarray accessor to compute wind speed and direction from the U and V wind components of a Dataset if they are available.
If you only want wind speed
If you only want wind direction