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: 15351
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
Posts: 2879
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: 15351
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 937 times

Posted on
Wed Jun 28, 2017 5:42 am
DaveL17 offline
User avatar
Posts: 4807
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: 397
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 7.3.1 : MacOS High Sierra 10.13.6 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO 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 904 times

Posted on
Wed Jun 28, 2017 10:22 am
matt (support) offline
Site Admin
User avatar
Posts: 19096
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 0 guests