[Remind-Fans] sun moon data

Sector11 sector11sr71 at gmail.com
Wed Mar 16 17:09:48 EDT 2022


I have a friend in Germany using remind and he says he is getting the wrong
sun data with this file:
=========================================
## remind -q -r ~/.reminders.sun.v
##  http://www.geonames.org/search.html?q=Lichtenstein+Sa.&country=DE

## Eastern
SET $LatDeg -12
SET $LatMin -37
SET $LatSec -48
## Northern
SET $LongDeg 50
SET $LongMin 45
SET $LongSec 23

##  SUN STUFF ##

FSET tomins(t) (hour(t) * 60) + minute(t)
FSET frommins(i) time(i / 60, i % 60)
FSET noon_solar(dt)  + (sunset(dt)-sunrise(dt)) / 2
FSET _light_len(date) MAX(SUNSET(date)-SUNRISE(date), 0)
FSET _dark_len(date) 1440-_light_len(date)


MSG       50°45'48"N 12°37'48"E
MSG     Lichtenstein Germany
MSG       Dämmerung: [dawn()]
MSG   Sonnenaufgang: [sunrise()]
MSG    Mittagssonne: [noon_solar($T)]
MSG Sonnenuntergang: [sunset()]
MSG  Abenddämmerung: [dusk()]
MSG                ·
MSG      Tageslicht: [_light_len($T)] Min
MSG      Nachtlicht: [_dark_len($T)] Min
============================================
Is there something configured wrong here??

I get:
 16 Mar 22 @ 18:01:55 ~
   $ remind -q -r ~/.reminders.sun.v
Reminders for Wednesday, 16th March, 2022 (today):

      50°45'48"N 12°37'48"E
    Lichtenstein Germany
      Dämmerung: 06:05
  Sonnenaufgang: 06:27
   Mittagssonne: 364
Sonnenuntergang: 18:36
 Abenddämmerung: 18:57
               ·
     Tageslicht: 729 Min
     Nachtlicht: 711 Min
=====================================
Terminal spaces removed for clarity.

Thanks,
Bruce



More information about the Remind-fans mailing list