-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add hint that cec-database does not provide coefficients for the sapm function #123
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
Conversation
It has nothing to do with this pull request but as I compiled the documentation I fixed this warning. |
Remark that modules of the Sandia module database contain these | ||
coefficients but modules of the CEC module database do not. Both databases | ||
can be accessed using :py:func:`retrieve_sam`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggested edit...
The modules in the Sandia module database contain these coefficients, but the modules in the CEC module database do not.
Or you could replace "Remark that" with something like "We note that".
Thanks, looks great! I'd been meaning to fix those documentation warnings too. I'll add this to the whatsnew file after we merge #93. What are the nosetest3 errors? The travis build passed and the appveyor build fails due to an issue with continuum's new mkl libraries (I think). |
The reason why AppVeyor does not pass has to do with failing tests:
It might has to do something with a missing scipy installation on my computer. Here is the output of nosetests (the outputs of nosetests and nosetest3 are the same).
But why does appveyor has the same problem? It is just a python2 problem. |
Yes, on your computer it's due to missing scipy. I added the I think that the issue on appveyor is a little different. That error is the result of something going very wrong when the python interpreter interacts with the scipy binary that Continuum created. While I don't know exactly where the problem is, this would not be the first time that Continuum distributed a less than perfect scipy distribution. |
Add hint that cec-database does not provide coefficients for the sapm function
Thanks again! |
Please have a look at the commits 5f0df9f and 110688e. Commit f81529b contains only pep8 changes. Sorry it is knee-jerk and if you don't like you can just revert it.
The first commit (5f0df9f) fixes the table in the docstring of the sapm function. It does not show up in the current documentation (see: http://pvlib-python.readthedocs.org/en/latest/pvlib.html#pvlib.pvsystem.sapm)
The third commit (110688e) adds the new hints. Please fix typos if necessary, my English is not too good.
There are 6 Errors using
nosetest3
but they have been there before my changes.