diff --git a/tests/test_atmos.py b/tests/test_atmos.py index 2828f92fc..deb36c214 100644 --- a/tests/test_atmos.py +++ b/tests/test_atmos.py @@ -253,6 +253,14 @@ def test_wind_chill_index(atmosds): ) +def test_wind_profile(atmosds): + atmos.wind_profile(wind_speed=atmosds.sfcWind, h_r="10 m", h="100 m", alpha=1 / 7) + + +def test_wind_power_potential(atmosds): + atmos.wind_power_potential(wind_speed=atmosds.sfcWind) + + class TestDrynessIndex: def test_simple(self, atmosds): ds = atmosds.isel(location=3) diff --git a/xclim/indicators/atmos/_conversion.py b/xclim/indicators/atmos/_conversion.py index 9988ea6d4..bcb206de8 100644 --- a/xclim/indicators/atmos/_conversion.py +++ b/xclim/indicators/atmos/_conversion.py @@ -128,7 +128,7 @@ def cfcheck(self, **das): wind_power_potential = Converter( title="Wind power potential", identifier="wind_power_potential", - units="W m-2", + units="", long_name="Wind power potential", description="Wind power potential using a semi-idealized turbine power curve using a cut_in speed of {cut_in}, " "a rated speed of {rated}, and a cut_out speed of {cut_out}.",