[R] Basic astronomy package recommendation wanted.

Richard O'Keefe r@oknz @end|ng |rom gm@||@com
Wed Jan 31 08:25:11 CET 2024


Thank you for the tip about solrad.  I don't need it right now, but I
shall certainly have a use for it soon.

On Wed, 31 Jan 2024 at 02:42, Kevin Thorpe <kevin.thorpe using utoronto.ca> wrote:
>
> There is also the package solrad that might do some of this. It is more intended for calculating solar radiation, which is probably not what you want, but may do other things you may find helpful.
>
>
> > On Jan 30, 2024, at 5:44 AM, Enrico Schumann <es using 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 using 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.
>
> --
> Kevin E. Thorpe
> Head of Biostatistics,  Applied Health Research Centre (AHRC)
> Li Ka Shing Knowledge Institute of St. Michael’s Hospital
> Assistant Professor, Dalla Lana School of Public Health
> University of Toronto
> email: kevin.thorpe using utoronto.ca  Tel: 416.946-8083
>
>
>



More information about the R-help mailing list