Propagation attenuation in a free space is calculated from the formula
L = 4 pi(R/lambda)squared for a
communication link (one-way), so in the case of a radar it must be taken twice (instead of 10 log you take 20 log).
Instead of the frequency, here is wave length. Elevation is irrelevant.
Then in case of precipitations there is an additional loss. Look in literature for details. There is not only the loss but also the dispersion and water emission, now the elevation becomes important.