We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00aabaa commit ee88e86Copy full SHA for ee88e86
pvlib/clearsky.py
@@ -327,13 +327,13 @@ def haurwitz(apparent_zenith):
327
'''
328
329
cos_zenith = tools.cosd(apparent_zenith.values)
330
- clearsky_ghi = np.zeros_like(apparent_zenith.values)
+ ghi_clear = np.zeros_like(apparent_zenith.values)
331
cos_zen_gte_0 = cos_zenith > 0
332
- clearsky_ghi[cos_zen_gte_0] = (1098.0 * cos_zenith[cos_zen_gte_0] *
333
- np.exp(-0.059/cos_zenith[cos_zen_gte_0]))
+ ghi_clear[cos_zen_gte_0] = (1098.0 * cos_zenith[cos_zen_gte_0] *
+ np.exp(-0.059/cos_zenith[cos_zen_gte_0]))
334
335
df_out = pd.DataFrame(index=apparent_zenith.index,
336
- data=clearsky_ghi,
+ data=ghi_clear,
337
columns=['ghi'])
338
339
return df_out
0 commit comments