You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docstring for bifacial.pvfactors describes these two parameters:
surface_azimuth: numeric
Azimuth angle of the front surface of the PV modules, using pvlib's
convention (deg)
surface_tilt: numeric
Tilt angle of the PV modules, going from 0 to 180 (deg)
Based on the docstring I would expect the function to run with e.g. surface_azimuth being a float. But it doesn't; it only runs when surface_azimuth is an array or Series of the same length as other time-dependent inputs. Providing surface_azimuth as a float yields IndexError: too many indices for array
The docstring for
bifacial.pvfactors
describes these two parameters:Based on the docstring I would expect the function to run with e.g.
surface_azimuth
being a float. But it doesn't; it only runs whensurface_azimuth
is an array or Series of the same length as other time-dependent inputs. Providingsurface_azimuth
as a float yieldsIndexError: too many indices for array
Issue originally reported in #1125
To reproduce:
The text was updated successfully, but these errors were encountered: