[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More astronomical data



sorry to carp on about this...

there is a useful site providing a VSOP87 implementation in C (open source), 
http://libnova.sourceforge.net/ .

I used the example application 'sun', which provides rise, set and transit 
times, and which uses a declination of -0.8333 (50') to account for 
refraction and the suns diameter (this seems to be a standard figure).

Using the previous lat/long values for today I got:

============================
creating sun

observer latitude: 52.643200
observer longitude: 1.103330

JD 2453125.086620
Solar Coords longitude (deg) 39.535549
             latitude (deg) 0.000232
             radius vector (AU) 1.007253
Solar Position RA 37.131340
               DEC 14.668571

Rise
 Year    : 2004
 Month   : 4
 Day     : 29
 Hours   : 5
 Minutes : 35
 Seconds : 57.885392

Transit
 Year    : 2004
 Month   : 4
 Day     : 29
 Hours   : 13
 Minutes : 1
 Seconds : 28.565147

Set
 Year    : 2004
 Month   : 4
 Day     : 29
 Hours   : 20
 Minutes : 28
 Seconds : 9.182442
====================================


this is consistent with the web site http://www.yanabi.com/praytimes/ , which 
also claims to implement VSOP87. 

Any thoughts?

wassalaam
abdulhaq