【源码】SunPosition:地球太阳参数工具包

【源码】SunPosition:地球太阳参数工具包
使用MATLAB地图工具箱中的距离函数计算到次太阳位置的弧距离。

Uses the distance function from the MATLAB Mapping Toolbox to calculate the arc distance to the sub-solar location.

包括我的通用函数库中的checkSizes函数。

Includes checkSizes function from my general function library.

EarthPhemeris-返回太阳赤纬、地球-太阳半径向量(以天文单位表示的距离)、太阳经度和可选的时间方程。

EarthEphemeris - Returns the solar declination, Earth-Sun radius vector (distance in astronomical units), solar longitude, and optionally the equation of time.

sunang-返回太阳角余弦、方位角(0南,+东)和airmass(考虑地球曲率的路径长度)。也可以考虑折射。

sunang - Returns cosine of sun angle, its azimuth (0 south, + east), and airmass (path length accounting for Earth curvature). Optionally accounts for refraction.

sunRiseSet - 日出日落时间。

sunRiseSet - Times of sunrise and sunset.

sunslope - 坡度上光照角的余弦。

sunslope - Cosine of illumination angle on slope

更多精彩文章请关注公众号:【源码】SunPosition:地球太阳参数工具包