|Home Page | The Sun API | Gallery | InfoSearch | News | Links | Contact Us|
+ Using the Functions
+ User Guide
+ Function Reference
Converts from Solar Equatorial Coordinates to Horizontal Coordinates.
Returns Solar Azimuth (Compass Direction) in degrees.
Return ValuessdEqu2Azi returns a double precision number from 0 to 360. 0 means North, 90 East, 180 South and 270 means West.
If the function detects an error in any of it's input parameters then it returns: -99999999
This function calculates it's return value from the following
coordinate transformation formula:
When the sun is directly in the centre of the sky, Azimuth is undefined. When the sun is directly overhead: for latitudes in the Northern hemisphere this program returns 180 (i.e. South) and in the Southern hemisphere it returns 0 (i.e. North).
sdEqu2Azi is complimented by the sdEqu2Alt function which calculates Solar Azimuth.
What is the Solar Azimuth in
Sydney Australia when the Solar Hour is 11am and when the sun is at declination 23 degrees (sometime in June):
|(c) 2001-2013 Sunlit Design www.sunlit-design.com Wed, 22 May 2013 08:41:24 AM +600 gives UT|