solarElevationAngle

suspend fun solarElevationAngle(location: Coordinate, date: String, time: String, tz: String, alt: Int): Result<SolarElevationAngle>(source)

太阳高度角

任意时间点的全球太阳高度及方位角。

Parameters

location

需要查询地区的以英文逗号分隔的经度,纬度坐标 Coordinate

date

查询日期,格式为 yyyyMMdd ,例如 date=20170809 。

time

查询时间,格式为 HHmm , 24 时制,例如 time=1230 。

tz

查询地区所在时区,例如 tz=0800 或 tz=-0530 。

alt

海拔高度,单位为米,例如 alt=43 。