[R] Basic astronomy package recommendation wanted.

Enrico Schumann e@ @end|ng |rom enr|co@chum@nn@net
Tue Jan 30 11:44:12 CET 2024


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



More information about the R-help mailing list