Negative declination with zero degree

Scripts and programs to automate Astroart
Post Reply
bdavid
Posts: 2
Joined: 01 Jun 2021, 05:23

Negative declination with zero degree

Post by bdavid » 09 Jul 2021, 11:22

Hi,

I have a photometry script with astrometry, which works well with the txt files containing comparison's coordinates in the following format:
Astroart Photometry
Var RA Var Dec R RA R Dec R Mag
09 45 34.28 +34 30 42.8 09 42 31.29 +35 00 30.3 8.275 09 48 07.83 +34 25 36.5 9.717 09 47 05.91 +34 39 50.4 10.731 09 45 22.67 +34 24 22.3 11.568 09 45 50.11 +34 24 53.7 12.892
But if I have a negative declination with 0 degree like below, the program handle these coordinate as positive values (if the declination negative and degree not zero, then it work)
Astroart Photometry
Var RA Var Dec R RA R Dec R Mag
19 32 21.61 -0 11 30.9 19 32 33.33 -0 11 2.1 10.842 19 31 39.20 -0 7 13.5 11.403 19 31 59.65 -0 9 5.2 12.428 19 32 45.94 -0 16 59.4 13.246
Can you give me any suggestion, how can I write the negative declinations with zero degree?
Many Thanks!
David

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

Re: Negative declination with zero degree

Post by fabdev » 09 Jul 2021, 13:07

Hi, for the moment it's possible to solve writing the "0" positive and the minutes/seconds negative:

-0 41 59 = 0 -41 -59

Obviously only if dec > -1 and dec < 0. Fabio.

bdavid
Posts: 2
Joined: 01 Jun 2021, 05:23

Re: Negative declination with zero degree

Post by bdavid » 09 Jul 2021, 15:12

Hi Fabio,

I tried it, it works.
Many Thanks! :)

David

Post Reply