elevation function

Calculate elevation of astronomical objects

Calculate elevation of astronomical objects

Function to calculate elevation.

elevation(lon, lat, sun)

Arguments

  • lon: vector of longitude values
  • lat: vector of latitude values
  • sun: pre-stored values as returned by solar or lunar

Returns

elevation returns a numeric vector of solar (or lunar) elevation as degrees above or below the horizone

References

https://gml.noaa.gov/grad/solcalc/azel.html

Author(s)

Michael D. Sumner

  • Maintainer: Michael D. Sumner
  • License: GPL-3
  • Last published: 2023-04-21