| ||||||||||||||||||
| Home Page | The Sun API | Gallery | InfoSearch | News | Links | Contact Us | ||||||||||||||||||
|
Sunlit Design > The Sun API > Documentation > sdxAlt Function | ||||||||||||||||||
|
- Introduction + Using the Functions + User Guide + Function Reference + Constants
|
sdxAlt FunctionDescriptionReturns the Solar Altitude (Elevation from Horizon) in degrees for a given point in time.SyntaxsdxAlt(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 Solar Altitude (Elevation from Horizon) varies on a daily and annual cycle.Altitude varies from -90 to +90 degrees. A positive Altitude means that the sun is above the observer's horizon.
If
RemarksSolar Altitude 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 Altitude at MJD 52448.125 (3am UT, June
23rd, 2002) at the Greenwich observatory: What is the Solar Altitude at 6am, 21st January, 2001 in Amsterdam?: |
|
||||||||||||||||
| (c) 2001-2009 Sunlit Design www.sunlit-design.com Mon, 05 Jan 2009 09:14:51 PM +700 gives UT | ||||||||||||||||||