Solar Elevation Angle
Get global solar elevation angle and azimuth.
| Interface code | Interface | Class |
|---|---|---|
| astronomySolarElevationAngle | Solar elevation angle data | AstronomySolarElevationAngleResponse |
Parameters
SolarElevationAngleParameter
-
location(required)The comma-separated longitude and latitude (decimal, up to 2 decimal places) of the location to be queried. For example:location=116.41,39.92 -
date(required)Set date, format is yyyyMMdd, e.g.,date=20200531 -
time(required)Set time, format is HHmm, 24-hour, e.g.,time=1230 -
tz(required)Location time zone, e.g.,tz=0800ortz=-0530 -
alt(required)Location altitude, in meters, e.g.,alt=43
Sample code
public void astronomySolarElevationAngle(SolarElevationAngleParameter parameter, Callback<AstronomySolarElevationAngleResponse> callback);
Response
AstronomySolarElevationAngleResponse
-
codeSee Status Code -
solarElevationAngleSolar Elevation Angle in degree -
solarAzimuthAngleSolar azimuth angle -
solarHourSolar time, HHmm format -
hourAngleHour Angle -
refer.sourcesData source and other statements, may be null -
refer.licenseData license, may be null