public final class Grena3 extends Object
| Modifier and Type | Method and Description |
|---|---|
static AzimuthZenithAngle |
calculateSolarPosition(GregorianCalendar date,
double latitude,
double longitude,
double deltaT)
Calculate topocentric solar position, i.e.
|
static AzimuthZenithAngle |
calculateSolarPosition(GregorianCalendar date,
double latitude,
double longitude,
double deltaT,
double pressure,
double temperature)
Calculate topocentric solar position, i.e.
|
public static AzimuthZenithAngle calculateSolarPosition(GregorianCalendar date, double latitude, double longitude, double deltaT)
date - Observer's local date and time.latitude - Observer's latitude, in degrees (negative south of equator).longitude - Observer's longitude, in degrees (negative west of Greenwich).deltaT - Difference between earth rotation time and terrestrial time (or Universal Time and Terrestrial Time),
in seconds. See
http://asa.usno.navy.mil/SecK/DeltaT.html.
For the year 2015, a reasonably accurate default would be 68.AzimuthZenithAnglepublic static AzimuthZenithAngle calculateSolarPosition(GregorianCalendar date, double latitude, double longitude, double deltaT, double pressure, double temperature)
date - Observer's local date and time.latitude - Observer's latitude, in degrees (negative south of equator).longitude - Observer's longitude, in degrees (negative west of Greenwich).deltaT - Difference between earth rotation time and terrestrial time (or Universal Time and Terrestrial Time),
in seconds. See
http://asa.usno.navy.mil/SecK/DeltaT.html.
For the year 2015, a reasonably accurate default would be 68.pressure - Annual average local pressure, in millibars (or hectopascals). Used for refraction
correction of zenith angle. If unsure, 1000 is a reasonable default.temperature - Annual average local temperature, in degrees Celsius. Used for refraction correction of zenith angle.AzimuthZenithAngleCopyright © 2023. All rights reserved.