Skip to content

Commit c877172

Browse files
committed
Add to docstrings
1 parent 2e3d24a commit c877172

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

windpowerlib/modelchain.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def rho_hub(self, weather, data_height):
133133
`temp_air` in K and pressure `pressure` in Pa, as well as
134134
optionally the temperature `temp_air_2` in K at a different height
135135
for interpolation.
136+
Data inside the Dictionary has to be of the types pandas.Series or
137+
numpy.array.
136138
data_height : DataFrame or Dictionary
137139
Containing columns or keys with the heights in m for which the
138140
corresponding parameters in `weather` apply.
@@ -200,6 +202,8 @@ def v_wind_hub(self, weather, data_height):
200202
Containing columns or keys with the timeseries for wind speed
201203
`v_wind` in m/s and roughness length `z0` in m, as well as
202204
optionally wind speed `v_wind_2` in m/s at different height.
205+
Data inside the Dictionary has to be of the types pandas.Series or
206+
numpy.array.
203207
data_height : DataFrame or Dictionary
204208
Containing columns or keys with the heights in m for which the
205209
corresponding parameters in `weather` apply.
@@ -335,6 +339,8 @@ def run_model(self, weather, data_height):
335339
`temp_air` in K and pressure `pressure` in Pa, as well as
336340
optionally wind speed `v_wind_2` in m/s and temperature
337341
`temp_air_2` in K at different height for interpolation.
342+
Data inside the Dictionary has to be of the types pandas.Series or
343+
numpy.array.
338344
data_height : DataFrame or Dictionary
339345
Containing columns or keys with the heights in m for which the
340346
corresponding parameters in `weather` apply.

0 commit comments

Comments
 (0)