-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wind): Bias correct wind speeds based on scaling to a known average
Adds a new function :py:func:`atlite.datasets.era5.retrieve_average_windspeed` to retrieve average windspeeds. This dataset function is called by :py:func:`atlite.wind.calculate_windspeed_bias_correction` to derive a bias correction which can be passed to the default wind generation. Example usage: ```python windspeed_bias_correction = atlite.wind.calculate_windspeed_bias_correction( cutout, real_average="gwa3_250_windspeed_100m.tif", height=100, ) cutout.wind( atlite.windturbines.Enercon_E101_3000kW, windspeed_bias_correction=windspeed_bias_correction, windspeed_height=100, ) ```
- Loading branch information
Jonas Hoersch
committed
Nov 9, 2024
1 parent
5d974d1
commit 4412bcd
Showing
3 changed files
with
187 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters