The script below can be used to update this page; https://www.roaringpenguin.com/wiki/index.php/Earth_Seasons It will generate what appear to be correct dates until at least the Winter Solstice, 2100-12-21T19:52.
#!/bin/bash # The list of sun positions below is from the Astronomical Applications # Department of the U.S. Naval Observatory # Output=SolarDataReminders File=$(mktemp) for Year in $(seq 2018 2100) do links "http://aa.usno.navy.mil/seasons?year=${Year}&tz=0&dst=0" -dump \ | grep -E 'helion|quinox|olstice' \ | sed -e 's/ */ /g' -e 's/^ *\(.*\) *$/\1/' \ >> ${File} done while read Event Year Month Day Time do Comdelimit=$(echo ${Time} | tr ":" ",") echo "REM [trigger(date("${Year}","${Month}","${Day}"), time("${Comdelimit}"), 1)] MSG "${Event} ; echo done < ${File} | grep -vE '^$' > ${Output} rm ${File} After running, you should have accurate Remind statements in the file SolarDataReminders in your present working directory. Any questions, please ask! Steve Jones
_______________________________________________ Remind-fans mailing list [email protected] https://dianne.skoll.ca/mailman/listinfo/remind-fans Remind is at https://dianne.skoll.ca/projects/remind/
