| ||||||||||||||||||
| Home Page | The Sun API | Gallery | InfoSearch | News | Links | Contact Us | ||||||||||||||||||
|
Sunlit Design > The Sun API > Documentation > sdxAzi Function | ||||||||||||||||||
|
- Introduction + Using the Functions + User Guide + Function Reference + Constants
|
sdxAzi FunctionDescriptionReturns the Azimuth (Compass Direction) in degrees for a given point in time.SyntaxsdxAzi(timex, longitude, latitude)
Time Value Formats
All MJD and SDY values are expressed in UT. A <TimeZone> appended to the time value is informational only and doesn't affect the time value. The sdMJDx and sdSDYx functions may be used to create time values usable by this function. Return ValuesThis function returns a double precision number. The Azimuth (Compass Direction) varies on a daily and annual cycle.Azimuth varies from 0 to 360 degrees. North is 0, East 90, South 180 and West 270 degrees. If
RemarksSolar Azimuth is calculated by: You can convert a degree value to it's Degrees:Minute:Seconds components using the sdDUnpackx function and to a printable text format using sdD2Text function. ExampleWhat is the Solar Azimuth at MJD 52448.125 (3am UT, June
23rd, 2002) at the Greenwich observatory: What is the Solar Azimuth at 6am, 21st January, 2001 in Amsterdam?: |
|
||||||||||||||||
| (c) 2001-2008 Sunlit Design www.sunlit-design.com Thu, 20 Nov 2008 07:21:40 PM +700 gives UT | ||||||||||||||||||