1 subroutine da_radzicevar_upper_f(upper_f,qr,qice,qthres,flg)
2 !----------------------------------------------------------------------
3 ! purpose: calculate the fraction F
4 !----------------------------------------------------------------------
6 real :: qr, qice,qthres
11 if(flg==1) fmax=0.5 ! for snow
12 if(flg==2) fmax=0.3 ! for hail/graupel
15 if(qr>1.0e-12 .and. qice>1.0e-12) then
16 upper_f=fmax*min(qice/qr,qr/qice)**0.3
19 end subroutine da_radzicevar_upper_f