-
Notifications
You must be signed in to change notification settings - Fork 1.1k
pvlib.irradiance.poa_horizontal_ratio
should be removed
#1697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Apparently I added this function 9 years ago during a large refactor, perhaps in an aborted effort at DRY code, but never used it. Tests were hardly a thing at that time. In any case, I suggest we delete it. |
@wholmgren Function pvlib.irradiance.poa_horizontal_ratio is being used in example irradiance.ipynb
name attribute of a float?same try-except is for many other functions in irradiance module |
Those notebooks are not maintained and likely will be deleted in the future.
If the inputs are series, then |
pvlib.irradiance.poa_horizontal_ratio
should be removed
Hi, I would like to tackle this issue. It seems like there is more to it aside from just deleting the Please recommend other requirements for this issue if applicable. Thanks. |
Describe the bug
Currently
pvlib.irradiance.poa_horizontal_ratio
is untested according to codecovTo Reproduce
Steps to reproduce the behavior:
Expected behavior
100% test coverage
Screenshots

Versions:
pvlib.__version__
: 0.9.5-dirtypandas.__version__
: ?Additional context
This causes codecov to fail for any edits to irradiance.py that reduce the number of lines because then code coverage goes down.
The text was updated successfully, but these errors were encountered: