<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace">OK, I made the changed in the ".reminders_moonsun" file:<br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">SET $LatDeg 58<br>
SET $LatMin 25<br>
SET $LatSec 18<br>
<br>
SET $LongDeg -34<br>
SET $LongMin -37<br>
SET $LongSec -55</div><div class="gmail_default" style="font-family:monospace">FSET tomins(t) (hour(t) * 60) + minute(t)<br>FSET frommins(i) time(i / 60, i % 60)<br>FSET noon_solar(dt) sunrise(dt) + (sunset(dt)-sunrise(dt)) / 2<br>MSG -----<br>MSG Sun Rise: [sunrise()] Set: [sunset()]<br>MSG Solar noon: [noon_solar($T)]<br>FSET _light_len(date) MAX(SUNSET(date)-SUNRISE(date), 0)<br>FSET _dark_len(date) 1440-_light_len(date)<br>MSG Daylight: [_light_len($T)] Minutes<br>MSG Moonlight: [_dark_len($T)] Minutes</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">What I see from that is:</div><div class="gmail_default" style="font-family:monospace">-----</div><div class="gmail_default" style="font-family:monospace">Sun Rise: 01:11 Set: 11.43<br> Solar noon: 06:27<br></div><div class="gmail_default" style="font-family:monospace"><div class="gmail_default" style="font-family:monospace"> Daylight: 632 Minutes<br>Moonlight: 808 Minutes</div><div class="gmail_default" style="font-family:monospace"><br></div></div><div style="font-family:monospace" class="gmail_default">Something not right.</div><div style="font-family:monospace" class="gmail_default">I got my lat/long info from Google maps.</div><div style="font-family:monospace" class="gmail_default">I'm not the brightest bulb in the room.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">Not even looking at dawn() or dusk() yet.<br></div><br><br><div class="gmail_default" style="font-family:monospace"><br></div></div><div dir="ltr"><div dir="ltr"><div style="font-family:monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 12 Oct 2020 at 11:51, Dianne Skoll via Remind-fans <<a href="mailto:remind-fans@lists.skoll.ca" target="_blank">remind-fans@lists.skoll.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The following statements:<br>
<br>
> ## Western #### RANDOM PICK ON GOOGLE MAP<br>
> SET LatDeg(58) ## -58.421753 58°25'18.3"W<br>
> SET LatMin(25)<br>
> SET LatSec(18.3)<br>
> ## Southern<br>
> SET LongDeg(-34) ## -34.632117 34°37'55.6"S<br>
> SET LongMin(-37)<br>
> SET LongSec(-55.6)<br>
<br>
... have no effect. Or at least, not the *desired* effect. Instead use:<br>
<br>
SET $LatDeg 58<br>
SET $LatMin 25<br>
SET $LatSec 18<br>
<br>
SET $LongDeg -34<br>
SET $LongMin -37<br>
SER $LongSec -55<br>
<br>
Note the "$". Note also that Remind does not support floating point.<br>
Saying SET LongSec(-55.6) should have given a syntax error.<br>
<br>
> ## SUN STUFF ##<br>
> SET sunrise(date)<br>
> SET sunset(date)<br>
> SET dusk(date)<br>
> SET dawn(date)<br>
> SET sunrise(date)<br>
> SET sunset(date)<br>
<br>
The above statements are not only unnecessary, but I'm surprised they<br>
don't throw a whole lot of errors.<br>
<br>
> FSET noon_solar(dt) frommins(( \tomins(sunrise(dt)) + tomins(sunset(dt)) \) / 2)<br>
<br>
Better to use:<br>
<br>
FSET noon_solar(dt) sunrise(dt) + (sunset(dt)-sunrise(dt)) / 2<br>
<br>
Regards,<br>
<br>
Dianne.<br>
_______________________________________________<br>
Remind-fans mailing list<br>
<a href="mailto:Remind-fans@lists.skoll.ca" target="_blank">Remind-fans@lists.skoll.ca</a><br>
<a href="https://dianne.skoll.ca/mailman/listinfo/remind-fans" rel="noreferrer" target="_blank">https://dianne.skoll.ca/mailman/listinfo/remind-fans</a><br>
Remind is at <a href="https://dianne.skoll.ca/projects/remind/" rel="noreferrer" target="_blank">https://dianne.skoll.ca/projects/remind/</a><br>
</blockquote></div></div>
</div></div>