Can't Get Sunrise / Sunset To Work Properly

Posted on
Tue Jun 27, 2017 4:15 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

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

I believe your custom latitude/longitude entries are incorrect. The commas should be periods... ;)

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Jun 27, 2017 4:18 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

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

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.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Jun 27, 2017 4:32 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

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

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Jun 28, 2017 5:26 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

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

I have also tried to remove the custom latitude/longitude, but it make no difference on sunrise...
Attachments
Skjermbilde 2017-06-28 kl. 13.23.49.png
Skjermbilde 2017-06-28 kl. 13.23.49.png (71.91 KiB) Viewed 3066 times

Posted on
Wed Jun 28, 2017 5:42 am
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

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

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.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed Jun 28, 2017 6:47 am
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

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

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

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed Jun 28, 2017 9:33 am
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

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

if I set latitude to 65,869 it seems to work, if I set it to 65,870 its jump up to 2085. Weird.
Attachments
Skjermbilde 2017-06-28 kl. 17.31.40.png
Skjermbilde 2017-06-28 kl. 17.31.40.png (73.86 KiB) Viewed 3033 times

Posted on
Wed Jun 28, 2017 10:22 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

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

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.

Image

Who is online

Users browsing this forum: No registered users and 3 guests