Thank you very much. suncalc looks like just what I want. On Tue, 30 Jan 2024 at 23:44, Enrico Schumann <e...@enricoschumann.net> wrote: > > On Tue, 30 Jan 2024, Richard O'Keefe writes: > > > Given > > - UTC timestamp > > - a location (latitude,longitude,elevation) > > I want to know > > - the sun angles > > - the moon angles > > - the phase of the moon. > > I looked on CRAN for astronomy, but didn't notice anything that seems > > to offer what I want. I could try coding these functions myself, but > > "if you didn't write it you didn't wrong it". > > > > A quick search showed several candidate packages: > > https://cran.r-project.org/package=suntools > https://cran.r-project.org/package=suncalc > > (but I don't use any of those packages) > > Perhaps also worth asking at: > https://stat.ethz.ch/mailman/listinfo/R-SIG-Geo/ > > > -- > Enrico Schumann > Lucerne, Switzerland > http://enricoschumann.net
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.