Skip to content

Commit 784a8ff

Browse files
committed
Minor changes to docstrings
1 parent 74c3e5c commit 784a8ff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

windpowerlib/modelchain.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +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.
136+
If a Dictionary is used the data inside the dictionary has to be of
137+
the types pandas.Series or numpy.array.
138138
data_height : DataFrame or Dictionary
139139
Containing columns or keys with the heights in m for which the
140140
corresponding parameters in `weather` apply.
@@ -202,8 +202,8 @@ def v_wind_hub(self, weather, data_height):
202202
Containing columns or keys with the timeseries for wind speed
203203
`v_wind` in m/s and roughness length `z0` in m, as well as
204204
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.
205+
If a Dictionary is used the data inside the dictionary has to be of
206+
the types pandas.Series or numpy.array.
207207
data_height : DataFrame or Dictionary
208208
Containing columns or keys with the heights in m for which the
209209
corresponding parameters in `weather` apply.
@@ -339,8 +339,8 @@ def run_model(self, weather, data_height):
339339
`temp_air` in K and pressure `pressure` in Pa, as well as
340340
optionally wind speed `v_wind_2` in m/s and temperature
341341
`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.
342+
If a Dictionary is used the data inside the dictionary has to be of
343+
the types pandas.Series or numpy.array.
344344
data_height : DataFrame or Dictionary
345345
Containing columns or keys with the heights in m for which the
346346
corresponding parameters in `weather` apply.

0 commit comments

Comments
 (0)