altaz2hadec {astrolibR} | R Documentation |
Convert horizon (Alt-Az) coordinates to hour angle and declination
altaz2hadec(alt,az,lat)
alt |
local apparent altitude, in degrees, scalar or vector |
az |
local apparent altitude, in degrees, scalar or vector, measured east of north |
lat |
local geodetic latitude, in degrees, scalar or vector |
For inputs, if you have measured azimuth west-of-south (like the book MEEUS does), convert it to east of north via: az = (az + 180) mod 360 For outputs, the hour angle is the time that right ascension of 0 hours crosses the local meridian.
ha |
local apparent hour angle, in degrees |
dec |
local apparent declination, in degrees |
Written by Chris O'Dell Univ. of Wisconsin-Madison May 2002
R adaptation by Arnab Chakraborty June 2013
altaz2hadec(59.0861,133.3081,41.3)