updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / var / da / da_radar / da_radzicevar_prepare_zmm_adj.inc
blob9f94d5268262f08b297e743256e010670b15a236
1   subroutine da_radzicevar_prepare_zmm_adj(tlopt,gropt,zmm,zmm_ref)
3    !----------------------------------------------------------------
4    ! purpose: calculate the adj of the logarithmic reflectivity
5    !----------------------------------------------------------------
6     implicit none 
7     integer :: tlopt,gropt
8     real    :: zmm,zmm_ref
9     if(tlopt>=1.and.gropt==2) then
10       if(zmm>3.16e-2) then
11          zmm_ref=10./(zmm*log(10.0))*zmm_ref
12       else
13          zmm_ref=0.0
14       endif
15     endif
17   end subroutine da_radzicevar_prepare_zmm_adj