sunwait icon indicating copy to clipboard operation
sunwait copied to clipboard

Issue with latitude impacting report and list values

Open vg8020 opened this issue 1 year ago • 0 comments

42.319167N, 3.321944E is peninsular Spain's easternmost location.

Please, note Location values displayed by sunwait 87.000000N, 3.321944E While longitude is ok, latitude seems to have been converted almost to a latitude in the North Pole, which is why it showing It is night or no daylight when actually it is Day. Also, there are no values for daylight, nautical or astronomical twilight but there are for civil twilight.

user@machine:~$ sunwait report d 08 m 03 y 23 42.319167N, 3.321944E

      Current Date and Time: 08-Mar-2023 12:50 CET


Target Information ...

                   Location:  87.000000N,   3.321944E
                       Date: 08-Mar-2023
                   Timezone: CET
   Sun directly north/south: 12:57
             Twilight angle: -0.83 degrees (daylight)
          Day with twilight: --:-- to --:-- (Polar night)
                      It is: Night

General Information (no offset) ...

 Times ...         Daylight: --:-- to --:-- (Polar night)
        with Civil twilight: 06:15 to 19:39
     with Nautical twilight: --:-- to --:-- (Midnight sun)
 with Astronomical twilight: --:-- to --:-- (Midnight sun)

 Duration ...    Day length: 00:00 hours
        with civil twilight: 13:23 hours
     with nautical twilight: 24:00 hours
 with astronomical twilight: 24:00 hours

y [YYYY] Set the target Year to calculate for. 2000 to 2099. but

user@machine:~$ sunwait report d 08 m 03 y 2023 42.319167N, 3.321944E
Error: "Year" must be between 0 and 99: 2023

that is why I entered y 23

Should input values differently? Compilation went flawless (Debian 11 Bullseye)

Thank you for sunwait!

vg8020 avatar Mar 08 '23 12:03 vg8020