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