-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Missing values using DISC to generate the direct normal irradiance #6
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
Thanks for moving the issue here. Looks like there are some nan assignments: https://github.com/pvlib/pvlib-python/blob/master/pvlib/clearsky.py#L378 I don't personally have any experience with this algorithm so I don't know if those conditions can be relaxed or not. If you have experience with this algorithm then I'll encourage you to make the appropriate changes and submit a pull request. The documentation needs improvement too. |
Ok, I understand now. Sandia-Labs/PVLIB_Python#35 fixed the DISC algorithm on the old master branch. Sandia-Labs/PVLIB_Python#37 was supposedly closed with Sandia-Labs/PVLIB_Python/8ffbf80e, but I now see that the fix was incomplete since it missed the Better. Unit. Tests. @Lamaf or @Jorissup, do either of you want to make a pull request to fix this? You'd also need to fix the documentation and add a unit test to test_clearsky.py. I would also like to see some PEP8 applied to this algorithm, but that is less important. |
* finalize whatsnew v0.6.0 * add contributors * add code formatting, links, add v prefix to 0.7 (#6) * update date * update date
I am having missing values when using DISC to simulate DNI, I trad this using clear sky GHI data and even with data I have from a measuring device
For an example try this:
Am I doing something wrong ??
The text was updated successfully, but these errors were encountered: