Naval Observatory Vector Astrometry Subroutines
Posts  1 - 1  of  1
Uranium235
How to use NOVAS to get the latitude and longitude of the sun.

I tried:

make_observer_at_geocenter(& observerLocation);

place(julianDate, & celestialObject, observerLocation, -0.26630, 1, 1, & position);

latitude = asin(position.r_hat[2];
longitude = asin(position.r_hat[1] / cos(latitude));

Thanks,
Save
Cancel
Reply
 
x
OK