geodata.model.wind.interpolate.WindInterpolationModel
=====================================================

.. toctree::
   :hidden:

   /autoapi/geodata/model/wind/interpolate/WindInterpolationModel.estimate
   /autoapi/geodata/model/wind/interpolate/WindInterpolationModel.extract_dataset_metadata
   /autoapi/geodata/model/wind/interpolate/WindInterpolationModel.extract_cutout_metadata
   /autoapi/geodata/model/wind/interpolate/WindInterpolationModel.prepare

.. py:class:: geodata.model.wind.interpolate.WindInterpolationModel(source: Union[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))


   .. py:attribute:: SUPPORTED_WEATHER_DATA_CONFIGS


   .. py:attribute:: type
      :type:  str
      :value: 'wind'


      Type of the model.


   .. py:attribute:: metadata_keys
      :type:  set[str]


   .. py:attribute:: source


   .. py:property:: name
      :type: str

      Name of the model.


   .. py:property:: module
      :type: str

      Module of the model.


   .. py:property:: prepared
      :type: bool

      Check if the model is prepared.

      :returns: True if prepared.
      :rtype: bool


   .. py:property:: from_dataset
      :type: bool

      Check if the model is from a dataset.


   .. py:property:: files

Methods
-------

.. autoapisummary::

   geodata.model.wind.interpolate.WindInterpolationModel.estimate
   geodata.model.wind.interpolate.WindInterpolationModel.extract_dataset_metadata
   geodata.model.wind.interpolate.WindInterpolationModel.extract_cutout_metadata
   geodata.model.wind.interpolate.WindInterpolationModel.prepare


