<div dir="ltr">I will look into C libraries. Does anyone here have a suggestion?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 1, 2019 at 7:20 PM Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2 Jul 2019 at 01:58, C Hamilton <<a href="mailto:adenaculture@gmail.com" target="_blank">adenaculture@gmail.com</a>> wrote:<br>
><br>
> Before I go too far with this I want to check to see if the following package could be used in QGIS.<br>
><br>
> astropy (<a href="https://www.astropy.org/" rel="noreferrer" target="_blank">https://www.astropy.org/</a>) has a modified BSD-2 license. See <a href="https://github.com/astropy/astropy/blob/master/LICENSE.rst" rel="noreferrer" target="_blank">https://github.com/astropy/astropy/blob/master/LICENSE.rst</a><br>
><br>
> This would be the library I would pick. It might be an overkill, but in the long run it could also be used by anyone with imagery from the Moon, Venus, Mars or any of the planets and it would have all the necessary functions they would need. The activity on the project is very high. One thing I have not checked is to see if their algorithms are historically and anciently accurate which would be of interest to archaeologists.<br>
><br>
> An astropy add on is astroplan (<a href="https://astroplan.readthedocs.io/en/latest/" rel="noreferrer" target="_blank">https://astroplan.readthedocs.io/en/latest/</a>) which has the same license and has a number of utilities that use astropy that calculate sunrise, sunset, moon phase and illumination. It is not as actively developed, but it may not need to be.<br>
><br>
> Skyfield (<a href="https://rhodesmill.org/skyfield/" rel="noreferrer" target="_blank">https://rhodesmill.org/skyfield/</a>, <a href="https://github.com/skyfielders/python-skyfield/" rel="noreferrer" target="_blank">https://github.com/skyfielders/python-skyfield/</a>) seems to have a lot of the basic routines, but it is primarily developed by one person. It has a MIT license, but seems to be actively developed. This might be my second choice of libraries.<br>
<br>
The problem with both those libraries is that they are Python only --<br>
this eliminates them as options, since we need c or c++ for it to be<br>
usable in the 3d engine.<br>
<br>
Nyall<br>
</blockquote></div>