Page 3 of 3

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Tue Jun 27, 2017 4:15 pm
by jay (support)
I believe your custom latitude/longitude entries are incorrect. The commas should be periods... ;)

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Tue Jun 27, 2017 4:18 pm
by FlyingDiver
jay (support) wrote:
I believe your custom latitude/longitude entries are incorrect. The commas should be periods... ;)


He's got a Euro format that uses commas. I tried it on my computer - same numbers, with periods. Same error.

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Tue Jun 27, 2017 4:32 pm
by jay (support)
Are you sure the sun ever actually shines there? LOL

We'll look into it.

BTW, I'm not sure if Indigo uses commas in those fields correctly - that's why I suggested trying periods.

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Wed Jun 28, 2017 5:26 am
by mortenkols
I have also tried to remove the custom latitude/longitude, but it make no difference on sunrise...

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Wed Jun 28, 2017 5:42 am
by DaveL17
You might try going into OS X system settings for Date & Time to see what the setting is there. I'm not sure that it will make a difference, but you could try setting that to something new (save and exit the dialog) and then repeat the process with the proper setting. You may have to enter your administrator password if you've locked down those settings.

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Wed Jun 28, 2017 6:47 am
by CliveS
Just been playing with this problem, it seems that in Indigo the Longitude is fine up to 10.8, 10.81 jumps the date to 2085.

Try setting the the Longitude to 346.81 West (360-13.190) , that puts sunset at 23:51 28/6 and sunrise at 00:33 29/6

CliveS

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Wed Jun 28, 2017 9:33 am
by mortenkols
if I set latitude to 65,869 it seems to work, if I set it to 65,870 its jump up to 2085. Weird.

Re: Can't Get Sunrise / Sunset To Work Properly

PostPosted: Wed Jun 28, 2017 10:22 am
by matt (support)
It looks like there was a bug that occurs at some of the higher/lower latitudes around certain times of the year (near the days when there is a transition to the sun never setting or never rising).

arccos(-1.000000435) is NaN :evil:

I've added logic to catch this case to the next version.