Skip to content

Commit 3bc0f34

Browse files
committed
remove deprecated klutcher (misspelling) from get_sky_diffuse
1 parent 73aed6a commit 3bc0f34

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/sphinx/source/whatsnew/v0.5.2.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ API Changes
1616
* Deprecated irradiance.grounddiffuse. Use irradiance.get_ground_diffuse
1717
instead. irradiance.grounddiffuse will be removed in 0.6. (:issue:`422`)
1818

19+
* Removed 'klutcher' from get_sky_diffuse/total_irrad. This misspelling was
20+
deprecated long ago but never removed.
21+
22+
1923
Enhancements
2024
~~~~~~~~~~~~
2125
*

pvlib/irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def get_sky_diffuse(surface_tilt, surface_azimuth,
427427
model = model.lower()
428428
if model == 'isotropic':
429429
sky = isotropic(surface_tilt, dhi)
430-
elif model in ['klucher', 'klutcher']:
430+
elif model == 'klucher':
431431
sky = klucher(surface_tilt, surface_azimuth, dhi, ghi,
432432
solar_zenith, solar_azimuth)
433433
elif model == 'haydavies':

0 commit comments

Comments
 (0)