Skip to content

A supermoon estimation program in R. Values include formal uncertainties. Covers the period 2001-2100.

Notifications You must be signed in to change notification settings

tstenborg/Supermoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supermoon

Supermoon estimator; prediction of the timing and distance of a perigee full or new moon for 2001–2100.


MCMC parallelisation and Stan model inference speedup

Figure 1. Lunar distance vs. date, over 2019 and 2020. Supermoons occur when a full or new moon coincides with minimum lunar distance. Adapted from Stenborg (2022), below.

Key Files

  • SuperMoon.rmd    R code, intended for use in RStudio.
  • SuperMoon.md     GitHub-browsable code with example results, including 2001–2100 supermoon listing.

Software Requirements

  • Fortran (optional, see notes below).
  • R.
  • RStudio.

The R program is supported by files implementing ELP-2000/82 (the Fortran program elp82b_2.f and associated data files ELP1 to ELP36, see Chapront-Touzé, M., & Chapront, J. 1983, A&A, 124, 50). It's assumed elp82b_2.f has been compiled into "elp82b_2" (either a shared object on Unix/Linux or dll on Windows), in the same directory as the R program. An elp82b_2.dll, compiled with MinGW-w64, has been included in this repository and may save some Windows users from compiling elp82b_2.f themselves.

Reference

Stenborg, TN 2022, "21st Century Supermoon Estimation in R", in JE Ruiz, F Pierfederici and P Teuben (eds), Astronomical Data Analysis Software and Systems XXX, Astronomical Society of the Pacific, pp. 247–250.

About

A supermoon estimation program in R. Values include formal uncertainties. Covers the period 2001-2100.

Topics

Resources

Stars

Watchers

Forks

Languages