pyart.correct.sun_position_mfr#

pyart.correct.sun_position_mfr(dt, lat_deg, lon_deg, refraction=True)[source]#

Calculate the sun position for the given time (dt) at the given position (lat, lon).

Parameters:
  • dt (datetime object) – the time when to look for the sun

  • lat_deg, lon_deg (floats) – latitude and longitude in degrees

  • refraction (boolean) – whether to correct for refraction or not

Returns:

elev_sun, azim_sun (floats) – elevation and azimuth angles of the sun respect to the sensor in degrees