geodata.convert.convert_wind
============================

.. py:function:: geodata.convert.convert_wind(ds, turbine, **params)

   Convert wind speeds for turbine to wind energy generation.
   Selects hub height according to turbine model

   - load turbine parameters
   - extrapolate wind speeds                   (wind.extrapolate_wind_speed)
           extrapolate_wind_speed(ds, to_height, extrap_fn = log_ratio, from_height=None, var_height=None)

   Optional Parameters
   ------

   extrap_fn : function for extrapolation
   from_height (int) : fixed height from which to extrapolate
   var_height (str) : suffix for variables containing wind speed and variable height


