comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » zenpos vs. SkyCalendar
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
zenpos vs. SkyCalendar [message #75626] Tue, 15 March 2011 16:04
Gray is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Problem with Vcolorbar under IDL 8.0 ?
Next Topic: Re: color and tvellipse

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:49:12 PDT 2025

Total time taken to generate the page: 0.00529 seconds