Group Abstract Group Abstract

Message Boards Message Boards

Circular sunset/sunrise calendar

POSTED BY: Sander Huisman
5 Replies

Note that the code will not work for all geolocations; some parts of the world don't have sunsets/sunrise for extended periods of times. For that the code will not work correctly…

POSTED BY: Sander Huisman
POSTED BY: Mark Dowdeswell
POSTED BY: Sander Huisman

Fantastic post - thanks!

To make Sander's notebook "standalone", the three lines at the start could be edited to use variable $GeoLocationCity:

    location = $GeoLocationCity; (* set the location*)
    tz = location["TimeZone"][[2]]; (* which timezone *)
    locationname = location[[2, 1]]; (* name of the location for displaying purposes*)
POSTED BY: Mark Dowdeswell
POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard