Prediction of attenuation due to rainfall on terrestrial links