Skip to content

Commit 5279c74

Browse files
committed
add lower to coefs input
1 parent 10595fe commit 5279c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/atmosphere.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def first_solar_spectral_correction(pw, airmass_absolute, module_type=None,
399399
_coefficients['multisi'] = _coefficients['polysi']
400400

401401
if module_type is not None and coefficients is None:
402-
coefficients = _coefficients[module_type]
402+
coefficients = _coefficients[module_type.lower()]
403403
elif module_type is None and coefficients is not None:
404404
pass
405405
else:

0 commit comments

Comments
 (0)