data
should not be optional in ModelChain.run_model_from_effective_irradiance
#1713
Labels
Milestone
data
should not be optional in ModelChain.run_model_from_effective_irradiance
#1713
I don't understand why the
data
parameter has a default value ofNone
here:pvlib-python/pvlib/modelchain.py
Line 1910 in 4c24be0
The weather input DataFrame is required for
run_model
andrun_model_from_poa
. I'm not sure what the point of calling arun_model_*
method with no inputs might be. Using the default value of None results in an error:Seems like the default
None
value should be removed, along with the same for the helper methods (_run_from_effective_irrad
, etc).The text was updated successfully, but these errors were encountered: