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
scipy v1.10.0 (released Jan 3, 2023) has deprecated scipy.misc.derivative, a function used by pvlib.ivtools.sdm.pvsyst_temperature_coeff. The deprecation notice mentions some alternatives (although I'm not confident a new dependency is warranted in our case):
I noticed that too, in other work. scipy is not going to provide any numeric differentiation tools. If we keep the pvsyst_temperature_coeff function (I vote yes), and are considering a new dependency, I vote against either autograd or its successor, JAX; they are awkward since they wrap numpy. My preference would be to code our own calculation using a finite difference formula.
+1 for explicit finite difference calculation. I would go so far as to say such a simple calculation should not have been outsourced to a general-purpose function.
scipy v1.10.0 (released Jan 3, 2023) has deprecated
scipy.misc.derivative
, a function used bypvlib.ivtools.sdm.pvsyst_temperature_coeff
. The deprecation notice mentions some alternatives (although I'm not confident a new dependency is warranted in our case):Noticed in this CI run: https://github.com/pvlib/pvlib-python/actions/runs/3992734328/jobs/6848836375#step:9:130
The text was updated successfully, but these errors were encountered: