Get solpos8760 - and version 0.3 (Carpenters)#14
Conversation
|
I also updated the docs, so you can rebuild and push that, I think it's in a ghpages branch, not quite sure I remember how to do that, but hopefully won't be to hard? |
|
closes #6 remove confidentiality clauses |
|
Do the tests pass on your end? I get the following using your branch ... :( |
|
Hi @anomam , thanks for checking. Yes, it does pass, and it also passed on Travis CI not sure why it doesn't show up automatically anymore, perhaps our github-travis configs are out of date? Can you please check if you are testing in a fresh environment or a your existing development environment?
To delete the old libraries, you can just run: Then you need to rebuild the libraries by running pip in developer mode This assumes that you created and activated a virtual environment with the $ virtualenv -p python3 venv
$ . venv/bin/activate # <- bin might be Scripts depending on OS
$ pip install -r requirements.txt
$ pip install pytest ipython # <- original tests were built with nose
this should all probably be in a developer doc somewhere, along with how to update the documentation and push releases. I vaguely looked at uploading manylinuxes (pep 513 and pep571) but it was too confusing :( |
Hi @anomam ,
this add a new function,
get_solposAMthat does some fast C looping over any arbitrary sequence of datetimes.It's very fast!
Can you please merge this, and then push the v0.3 ("Carpenters") tag? Then I can upload the latest to PyPI, then if you don't mind you can download the wheels and upload them to GitHub releases.
In addition this also adds a convenience function to get an hourly 8760 solarposition dataset for an arbitrary year:
Both functions return a tuple:
(angles, airmass)in which the angles are size[count, 2]with(zenith, azimuth)and the airmass is also size[count, 2]with(relative airmass, absolute airmass).thanks!