-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The except block should set press_temp = {}
. The kwarg should also be called as a kwarg.
pvlib-python/pvlib/modelchain.py
Lines 1352 to 1360 in 149fd02
try: | |
press_temp = _build_kwargs(['pressure', 'temp_air'], | |
weather[0] if isinstance(weather, tuple) | |
else weather) | |
press_temp['temperature'] = press_temp.pop('temp_air') | |
except KeyError: | |
pass | |
self._prep_inputs_solar_pos(press_temp) |