[Remind-Fans] Sun info & day|night times
Dianne Skoll
dianne at skoll.ca
Mon Oct 12 10:49:38 EDT 2020
The following statements:
> ## Western #### RANDOM PICK ON GOOGLE MAP
> SET LatDeg(58) ## -58.421753 58°25'18.3"W
> SET LatMin(25)
> SET LatSec(18.3)
> ## Southern
> SET LongDeg(-34) ## -34.632117 34°37'55.6"S
> SET LongMin(-37)
> SET LongSec(-55.6)
... have no effect. Or at least, not the *desired* effect. Instead use:
SET $LatDeg 58
SET $LatMin 25
SET $LatSec 18
SET $LongDeg -34
SET $LongMin -37
SER $LongSec -55
Note the "$". Note also that Remind does not support floating point.
Saying SET LongSec(-55.6) should have given a syntax error.
> ## SUN STUFF ##
> SET sunrise(date)
> SET sunset(date)
> SET dusk(date)
> SET dawn(date)
> SET sunrise(date)
> SET sunset(date)
The above statements are not only unnecessary, but I'm surprised they
don't throw a whole lot of errors.
> FSET noon_solar(dt) frommins(( \tomins(sunrise(dt)) + tomins(sunset(dt)) \) / 2)
Better to use:
FSET noon_solar(dt) sunrise(dt) + (sunset(dt)-sunrise(dt)) / 2
Regards,
Dianne.
More information about the Remind-fans
mailing list