RA & Dec to Altaz
Posted: 07 Dec 2018, 21:56
Hi All,
I am trying to write a simple script to automate a sequence of images. I would like to eliminate (skip) those objects below a limiting altitude while running the script.
To do this I would like to calculate the altitude directly from RA and Dec, however when I use the "EquatToAltaz(ra,de,lon,lat,[jd])" command it only seems to return the Azimuth value.
Does anybody have a small script that will return both alt and azi. Yes, I have the formula to calculate these by pencil, yet when I write these as script I get false results in alt according to Guide 9. Also they are vastly wrong near (under) the SCP.
I was sure that there was some BASIC programs on the NET years ago, but I cant seem to find any now.
Cheers for your help.
I am trying to write a simple script to automate a sequence of images. I would like to eliminate (skip) those objects below a limiting altitude while running the script.
To do this I would like to calculate the altitude directly from RA and Dec, however when I use the "EquatToAltaz(ra,de,lon,lat,[jd])" command it only seems to return the Azimuth value.
Does anybody have a small script that will return both alt and azi. Yes, I have the formula to calculate these by pencil, yet when I write these as script I get false results in alt according to Guide 9. Also they are vastly wrong near (under) the SCP.
I was sure that there was some BASIC programs on the NET years ago, but I cant seem to find any now.
Cheers for your help.