EFM: Equinoctial Full Moons

View source: R/events.R

EFMR Documentation

Equinoctial Full Moons

Description

This function calculates the date, rise/set times, azimuth and declination for sun and moon on the days of the Spring Full Moon (SFM) and Autumn Full Moon (AFM), for a given year and location.

Usage

EFM(
  season = "spring",
  rise = T,
  year,
  loc,
  min.phase = 0.99,
  refraction,
  atm,
  temp,
  timezone,
  calendar
)

Arguments

season

(Optional) Either 'spring' or 'autumn'. Default is 'spring.

rise

(Optional) Boolean to choose whether to calculate Equinoctial Full Moon rises or sets. Defaults to TRUE.

year

Epoch(s) for which to do calculations. Can be either a single value (the year), two values (range of years), or a vector of years.

loc

This can be either a skyscapeR.horizon object, or a vector with the latitude, longitude and elevation of the site, in this order.

min.phase

(Optional) Minimum lunar phase (between 0 and 1) for which a moon is considered to be full. Defaults to 0.99.

refraction

(Optional) Boolean for whether or not atmospheric refraction should be taken into account. Defaults to TRUE.

atm

(Optional) Atmospheric pressure (in mbar). Only needed if refraction is set to TRUE. Default is 1013.25 mbar.

temp

(Optional) Atmospheric temperature (in Celsius). Only needed if refraction is set to TRUE. Default is 15 degrees.

timezone

(Optional) Timezone for output of rising and setting time either as a known acronym (e.g. "GMT", "CET") or a string with continent followed by country capital (e.g. "Europe/London"). See timezones for details. Defaults to system timezone.

calendar

(Optional) Calendar used to output dates. G for gregorian and J for julian. Defaults to Gregorian.

Examples

# Spring Full Moon from a location in Portugal in the year 2018
EFM(year=2018, loc=c(35,-8,100))

# Autumn Full Moons in the last three years
## Not run: 
EFM(season='autumn', year=c(2019,2021), loc=c(35,-8,100))

## End(Not run)

f-silva-archaeo/skyscapeR documentation built on Sept. 24, 2023, 8:14 p.m.