Closed mikofski closed 5 years ago
Hi @shirubana and @cdeline , I think this is ready. This PR just focuses on bifacialvf/vf.py
and adds 10 tests for the sky configuration factors. I also simplified some of the code, in particular, I replaced ATAN quadrant checking if-statements with the 4-quadrant ATAN2 – since the tests are all based on the original code in MASTER, then the tests prove/document that these code changes do not change the output. I also added a few comments and a sketch to make the terminology easier to understand.
Yes on Travis, it also will build wheels and deploy them to PyPI (and GitHub releases) automatically for you, when you push a Git tag up to GitHub. All you need is a .travis.yml
like RdTools, add bifacialvf to NREL's TravisCI account, encrypt your secrets, and hopefully it just works.
Note: this PR builds upon #13