pyart.correct.sun_retrieval#

pyart.correct.sun_retrieval(az_rad, az_sun, el_rad, el_sun, sun_hit, sun_hit_std, az_width_co=None, el_width_co=None, az_width_cross=None, el_width_cross=None, is_zdr=False)[source]#

Estimates sun parameters from sun hits

Parameters:
  • az_rad, az_sun, el_rad, el_sun (float array) – azimuth and elevation values of the sun and the radar

  • sun_hit (float array) – sun hit value. Either power in dBm or ZDR in dB

  • sun_hit_std (float array) – standard deviation of the sun hit value in dB

  • az_width_co, el_width_co, az_width_cross, el_width_cross (float) – azimuth and elevation antenna width for each channel

  • is_zdr (boolean) – boolean to signal that is ZDR data

Returns:

  • val, val_std (float) – retrieved value and its standard deviation

  • az_bias, el_bias (float) – retrieved azimuth and elevation antenna bias respect to the sun position

  • az_width, el_width (float) – retrieved azimuth and elevation antenna widths

  • nhits (int) – number of sun hits used in the retrieval

  • par (float array) – and array with the 5 parameters of the Gaussian fit