Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with latitude impacting report and list values #40

Open
vg8020 opened this issue Mar 8, 2023 · 0 comments
Open

Issue with latitude impacting report and list values #40

vg8020 opened this issue Mar 8, 2023 · 0 comments

Comments

@vg8020
Copy link

vg8020 commented Mar 8, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant