zenpos vs. SkyCalendar [message #75626] |
Tue, 15 March 2011 16:04 |
Gray
Messages: 253 Registered: February 2010
|
Senior Member |
|
|
Hi all,
I'm trying to use ZENPOS from the IDL Astronomy Library, but I'm not
getting the results I expect. If I compare with SkyCalendar (http://
preview.tinyurl.com/495ys8l) for Kitt Peak, I get:
Date (eve/morn) JDmid LMSTmidn LST twilight:
(2011 at start) (-2450000) eve morn
Tue Mar 01/Wed Mar 02 5622.8 10 12 26 5 57 15 45
But when I use ZENPOS, I get this:
IDL> observatory, 'kpno', obs
IDL> common site, lat, lng, tzone
IDL> lat = obs.latitude
IDL> lng = obs.longitude
IDL> tzone = obs.tz
IDL> day = julday(3,1,2011,24,0,0)
IDL> zenpos, day, ra, dec
IDL> print, day-2450000
5622.5000
IDL> print, ra/(!dtor*15.)
18.069183
Am I missing something? Am I interpreting either piece of information
incorrectly? Help?
Thanks!
--Gray
|
|
|