geodata.model.wind.WindInterpolationModel.estimate

geodata.model.wind.WindInterpolationModel.estimate#

geodata.model.wind.WindInterpolationModel.estimate(height: int, years: slice, months: slice | None = None, xs: slice | None = None, ys: slice | None = None, use_real_data: bool = False) xarray.DataArray#

Estimate the wind speed at given coordinates.

Parameters:
  • height (int) – Height of the wind speed, need to be greater than 0.

  • years (slice) – Years.

  • months (slice, optional) – Months. If None, all months are estimated.

  • xs (slice) – X coordinates. If None, all x coordinates in source are estimated.

  • ys (slice) – Y coordinates. If None, all y coordinates in source are estimated.

  • use_real_data (bool, optional) – If available, use real data for estimation. Defaults to False.

Returns:

Dataset with wind speed.

Return type:

xr.DataArray