pyart.correct.sun_position_pysolar#
- pyart.correct.sun_position_pysolar(dt, lat, lon, elevation=0.0)[source]#
obtains the sun position in antenna coordinates using the pysolar library.
- Parameters:
dt (datetime object) – the time when to look for the sun
lat, lon (float) – latitude and longitude of the sensor in degrees
- Returns:
el, az (float) – elevation and azimuth angles of the sun respect to the sensor in degrees