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

Home » Public Forums » archive » Re: zenpos vs. SkyCalendar
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: zenpos vs. SkyCalendar [message #75624] Tue, 15 March 2011 16:30
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Mar 15, 7:04 pm, Gray <grayliketheco...@gmail.com> wrote:
> 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

Never mind. What I really wanted was CT2LST, not ZENPOS.
[Message index]
 
Read Message
Previous Topic: Re: color and tvellipse
Next Topic: Non-blocking read

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

Current Time: Wed Oct 08 18:29:21 PDT 2025

Total time taken to generate the page: 0.00445 seconds