Closed asreimer closed 6 years ago
with:
import davitpy
import datetime as dt
test_time = [dt.datetime(1,3,2,12), dt.datetime(2000,1,1,12), dt.datetime(2015,8,4)]
for tt in test_time: print tt, davitpy.utils.calcSun.getJD(tt)
And I get the responses you gave.
Testing against astropy, I also get the same answers.
The testing against astropy
is a great idea.
Good to merge?
Good to merge.
Test the code by running getJD with these different inputs:
and you should get these outputs: