gives the position of the Sun for the current date and location.
gives the position of the Sun for the specified date.
gives the positions of the Sun for the specified location.
gives the position of the Sun for the specified date and location.
gives the positions of the Sun for all specified locations on the specified dates.
uses func to determine what to return for extended locations.
- SunPosition makes use of $GeoLocation and $TimeZone to determine your location and time zone.
- The default form of the results is in the form .
- Locations can be specified as Entity objects, assuming they represent objects with geographic coordinates, GeoGraphics primitives, or they can be latitude/longitude pairs, assuming degrees as units.
- Dates can be specified as a DateObject or as a string that resolves to a date.
- locationspec and datespec can be either individual items or lists of them.
- If datespec is a list of dates, then the results will contain TimeSeries objects.
- datespec can be specified as for compatibility with DateRange specifications.
- Corrections for atmospheric refraction and light time delay are not included.
- SunPosition[…,func] is used to specify the format of output when locations are specified.
- Possible settings for func include:
Automatic returns intervals for extended locations only Interval returns intervals for all specified locations Mean returns mean value for extended locations Min returns minimum values for extended locations Max returns maximum values for extended locations StandardDeviation returns standard deviation for extended locations
- SunPosition[CelestialSystem->"Equatorial"] gives the right ascension and declination of the Sun.
- SunPosition can accept the following options:
CelestialSystem "Horizon" whether to return azimuth/altitude or right ascension/declination
- Possible settings for CelestialSystem include:
"Horizon" returns results as a pair of altitude/azimuth (alt/az) values "Equatorial" returns results as a pair of right ascension/declination (/) values