pyrad.util.create_sun_hits_field#
- pyrad.util.create_sun_hits_field(rad_el, rad_az, sun_el, sun_az, data, imgcfg)[source]#
creates a sun hits field from the position and power of the sun hits
- Parameters:
rad_el, rad_az, sun_el, sun_az (ndarray 1D) – azimuth and elevation of the radar and the sun respectively in degree
data (masked ndarray 1D) – the sun hit data
imgcfg (dict) – a dictionary specifying the ranges and resolution of the field to create
- Returns:
field (masked ndarray 2D) – the sun hit field