Wrong Return in documentation of cloud_covr_to_transmittance_linear
See original GitHub issueIn the documentation of the pvlib.forecast.NDFD.cloud_cover_to_transmittance_linear function, it seems the documented return is the wrong one: It shows the GHI as the return instead of the transmittance.
Here is the function in pvlib.forecast that seems to confirm the case.
"""
Convert cloud cover to atmospheric transmittance using a linear
model.
0% cloud cover returns offset.
100% cloud cover returns 0.
Parameters
----------
cloud_cover : numeric
Cloud cover in %.
offset : numeric, default 0.75
Determines the maximum transmittance.
kwargs
Not used.
Returns
-------
ghi : numeric
Estimated GHI.
"""
transmittance = ((100.0 - cloud_cover) / 100.0) * offset
return transmittance`
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
IF LOVING YOU IS WRONG Season 6 cancelled by ... - YouTube
Hey, guys! So, Season 5 of If Loving You Is Wrong will premiere on the Oprah Winfrey Network on March 31. Unlike the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AdamRJensen I’ll create a PR in the next days.
Absolutely