geodata.model.wind.WindInterpolationModel#

class geodata.model.wind.WindInterpolationModel(source: geodata.Dataset | geodata.Cutout, **kwargs)#

Wind speed estimation based on a spline interpolation of the wind speed at different heights.

This model uses the ERA5 3D dataset to estimate wind speed at a given height using spline interpolation.

Example:

>>> from geodata import Dataset
>>> from geodata.model.wind import WindInterpolationModel
>>> dataset = Dataset(module="era5", weather_data_config="wind_3d_hourly", years=slice(2010, 2010), months=slice(1, 2))
>>> model = WindExtrapolationModel(dataset)
>>> model.prepare()
>>> model.estimate(height=12, xs=slice(1, 2), ys=slice(1, 2), years=slice(2010, 2010), months=slice(1, 2))
SUPPORTED_WEATHER_DATA_CONFIGS#
type: str = 'wind'#

Type of the model.

metadata_keys: set[str]#
source#
property name: str#

Name of the model.

property module: str#

Module of the model.

property prepared: bool#

Check if the model is prepared.

Returns:

True if prepared.

Return type:

bool

property from_dataset: bool#

Check if the model is from a dataset.

property files#

Methods#

estimate(→ xarray.DataArray)

Estimate the wind speed at given coordinates.

extract_dataset_metadata(→ dict)

extract_cutout_metadata(→ dict)

prepare([force])

Prepare the model.