hydromt.model.processes.meteo.wind#
- hydromt.model.processes.meteo.wind(da_model: DataArray | Dataset, wind: DataArray | None = None, wind_u: DataArray | None = None, wind_v: DataArray | None = None, altitude: float = 10, altitude_correction: bool = False, freq: Timedelta | None = None, reproj_method: str = 'nearest_index', resample_kwargs: Dict[str, str] | None = None) DataArray [source]#
Return lazy reprojection of wind speed to model grid.
Resample time dimension to frequency. Either provides wind speed directly or both wind_u and wind_v components.
- Parameters:
da_model (
xarray.DataArray
) – DataArray of the target resolution and projectionwind (
xarray.DataArray
) – DataArray of wind speed forcing [m s-1]wind_u (
xarray.DataArray
) – DataArray of U component of wind speed forcing [m s-1]wind_v (
xarray.DataArray
) – DataArray of V component of wind speed forcing [m s-1]altitude (
float
, optional) – Altitude of wind speed data. By default 10m.altitude_correction (
str
, optional) – If True wind speed is re-calculated to wind speed at 2 meters using original altitude.freq (
str
,Timedelta
) – output frequency of timedimensionreproj_method (
str
, optional) – Method for spatital reprojection of precip, by default ‘nearest_index’resample_kwargs – Additional key-word arguments (e.g. label, closed) for time resampling method
- Returns:
wind_out – processed wind forcing
- Return type:
xarray.DataArray (lazy)