invalid equatorial coordinates

Scripts and programs to automate Astroart
Post Reply
ryu.s1001
Posts: 1
Joined: 03 May 2022, 13:23

invalid equatorial coordinates

Post by ryu.s1001 » 03 May 2022, 13:55

I have encountered the error "invalid equatorial coordinates: -1.00 -1.00" with Astroart 8.0's script
It occurs at reading (ra,dec) from the list described other in text file and Telescope.GOTO(ra,dec).

This error does not occur every time, but often it does not occur.
Also, it is not reproducible and I do not know under what conditions it occurs.

Has anyone else encountered this error?

Ryu

fabdev
Posts: 461
Joined: 03 Dec 2018, 21:43

Re: invalid equatorial coordinates

Post by fabdev » 06 May 2022, 18:01

Hi, "-1.00 -1.00" is returned by the Telescope.List(..) when the index is out of bounds. The lower bound is 1, the upper bound is the number of objects which can be found with the function Telescope.List.Count.
Fabio.

Post Reply