pyart.correct.get_sun_hits#
- pyart.correct.get_sun_hits(radar, delev_max=2.0, dazim_max=2.0, elmin=1.0, rmin=50000.0, hmin=10000.0, nbins_min=20, attg=None, max_std_pwr=1.0, max_std_zdr=1.5, sun_position='MF', pwrh_field=None, pwrv_field=None, zdr_field=None)[source]#
get data from suspected sun hits. The sun hits are detected using the Hildebrand and Sekhon noise estimation
- Parameters:
radar (Radar) – radar object
delev_max, dazim_max (float) – maximum difference in elevation and azimuth between sun position and antenna pointing
elmin (float) – minimum radar elevation angle
rmin (float) – minimum range from which we can look for noise [m]
hmin (float) – minimum altitude from which we can look for noise [m]. The actual range min will be the minimum between rmin and the range bin higher than hmin.
nbins_min (int) – Minimum number of bins with valid data to consider a ray as potentially sun hit
attg (float) – gas attenuation coefficient (1-way)
max_std_pwr (float) – Maximum standard deviation of the estimated sun power to consider the sun signal valid [dB]
max_std_zdr (float) – Maximum standard deviation of the estimated sun ZDR to consider the sun signal valid [dB]
sun_position (str) – The function to use to compute the sun position. Can be ‘MF’ or ‘pysolar’
pwrh_field, pwrv_field, zdr_field (str) – names of the signal power in dBm for the H and V polarizations and the differential reflectivity
- Returns:
sun_hits (dict) – a dictionary containing information of the sun hits
new_radar (radar object) – radar object containing sweeps that contain sun hits