/sunmoon

Display sun and moon trajectories through the sky.

Primary LanguageHTML

sunmoon provides graphs of the sun and moon trajectories through the sky. It does two main things.

  1. Create graphs shown at a website (http://emit.phys.ocean.dal.ca/~kelley/sunmoon) that shows this graph for Halifax, Nova Scotia, Canada. That site is auto-updated daily with the following 'crontab' entry.
20 2 * * * /usr/local/bin/R --no-save < /Users/kelley/Sites/sunmoon/sunmoon4halifax.R
  1. Supply an R shiny script that lets the user alter the day of prediction. As noted on the website, this can be run by
source("https://raw.githubusercontent.com/dankelley/sunmoon/master/drawMoon.R")
source("https://raw.githubusercontent.com/dankelley/sunmoon/master/sun_moon_app.R")
shinyApp(ui, server)

although users may find it preferable to use local files from a clone of this github repository.