- Timestamp:
- Sep 11, 2024, 4:27:07 PM (10 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/cospv2/quickbeam.F90
r5158 r5185 179 179 180 180 ! Attenuation due to gaseous absorption between radar and volume 181 if ((rcfg%use_gas_abs == 1) .or. (rcfg%use_gas_abs == 2 . and. pr .eq. 1)) then181 if ((rcfg%use_gas_abs == 1) .or. (rcfg%use_gas_abs == 2 .AND. pr .eq. 1)) then 182 182 if (d_gate==1) then 183 183 if (k>1) then … … 402 402 DO pr=1,Ncolumns 403 403 ! 1) Compute the PIA in all profiles containing hydrometeors 404 if ( (Ze_non_out(i,pr,cloudsat_preclvl).gt.-100) . and. (Ze_out(i,pr,cloudsat_preclvl).gt.-100) ) then405 if ( (Ze_non_out(i,pr,cloudsat_preclvl).lt.100) . and. (Ze_out(i,pr,cloudsat_preclvl).lt.100) ) then404 if ( (Ze_non_out(i,pr,cloudsat_preclvl).gt.-100) .AND. (Ze_out(i,pr,cloudsat_preclvl).gt.-100) ) then 405 if ( (Ze_non_out(i,pr,cloudsat_preclvl).lt.100) .AND. (Ze_out(i,pr,cloudsat_preclvl).lt.100) ) then 406 406 cloudsat_precip_pia(i,pr) = Ze_non_out(i,pr,cloudsat_preclvl) - Ze_out(i,pr,cloudsat_preclvl) 407 407 endif … … 419 419 cloudsat_pflag(i,pr) = pClass_Snow2 ! TSL: Snow certain 420 420 endif 421 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(4). and. &421 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(4).AND. & 422 422 Ze_non_out(i,pr,cloudsat_preclvl).le.Zenonbinval(2)) then 423 423 cloudsat_pflag(i,pr) = pClass_Snow1 ! TSL: Snow possible … … 426 426 427 427 ! Mixed 428 if(fracPrecipIce(i,pr).gt.0.1. and.fracPrecipIce(i,pr).le.0.9) then428 if(fracPrecipIce(i,pr).gt.0.1.AND.fracPrecipIce(i,pr).le.0.9) then 429 429 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(2)) then 430 430 cloudsat_pflag(i,pr) = pClass_Mixed2 ! TSL: Mixed certain 431 431 endif 432 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(4). and. &432 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(4).AND. & 433 433 Ze_non_out(i,pr,cloudsat_preclvl).le.Zenonbinval(2)) then 434 434 cloudsat_pflag(i,pr) = pClass_Mixed1 ! TSL: Mixed possible … … 441 441 cloudsat_pflag(i,pr) = pClass_Rain3 ! TSL: Rain certain 442 442 endif 443 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(3). and. &443 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(3).AND. & 444 444 Ze_non_out(i,pr,cloudsat_preclvl).le.Zenonbinval(1)) then 445 445 cloudsat_pflag(i,pr) = pClass_Rain2 ! TSL: Rain probable 446 446 endif 447 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(4). and. &447 if(Ze_non_out(i,pr,cloudsat_preclvl).gt.Zenonbinval(4).AND. & 448 448 Ze_non_out(i,pr,cloudsat_preclvl).le.Zenonbinval(3)) then 449 449 cloudsat_pflag(i,pr) = pClass_Rain1 ! TSL: Rain possible … … 472 472 cloudsat_pflag(i,pr) = pClass_Snow2 ! JEK: Snow certain 473 473 endif 474 if(Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6) . and. &474 if(Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6) .AND. & 475 475 Ze_out(i,pr,cloudsat_preclvl).le.Zbinvallnd(5)) then 476 476 cloudsat_pflag(i,pr) = pClass_Snow1 ! JEK: Snow possible … … 479 479 480 480 ! Mized phase (273<T<275) 481 if(t2m(i) .ge. 273._wp . and. t2m(i) .le. 275._wp) then482 if ((Zmax .gt. Zbinvallnd(1) . and. cloudsat_precip_pia(i,pr).gt.30) .or. &481 if(t2m(i) .ge. 273._wp .AND. t2m(i) .le. 275._wp) then 482 if ((Zmax .gt. Zbinvallnd(1) .AND. cloudsat_precip_pia(i,pr).gt.30) .or. & 483 483 (Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(4))) then 484 484 cloudsat_pflag(i,pr) = pClass_Mixed2 ! JEK: Mixed certain 485 485 endif 486 if ((Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6) . and. &487 Ze_out(i,pr,cloudsat_preclvl) .le. Zbinvallnd(4)) . and. &486 if ((Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6) .AND. & 487 Ze_out(i,pr,cloudsat_preclvl) .le. Zbinvallnd(4)) .AND. & 488 488 (Zmax .gt. Zbinvallnd(5)) ) then 489 489 cloudsat_pflag(i,pr) = pClass_Mixed1 ! JEK: Mixed possible … … 493 493 ! Rain (T>275) 494 494 if(t2m(i) .gt. 275) then 495 if ((Zmax .gt. Zbinvallnd(1) . and. cloudsat_precip_pia(i,pr).gt.30) .or. &495 if ((Zmax .gt. Zbinvallnd(1) .AND. cloudsat_precip_pia(i,pr).gt.30) .or. & 496 496 (Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(2))) then 497 497 cloudsat_pflag(i,pr) = pClass_Rain3 ! JEK: Rain certain 498 498 endif 499 if((Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6)) . and. &499 if((Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6)) .AND. & 500 500 (Zmax .gt. Zbinvallnd(3))) then 501 501 cloudsat_pflag(i,pr) = pClass_Rain2 ! JEK: Rain probable 502 502 endif 503 if((Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6)) . and. &503 if((Ze_out(i,pr,cloudsat_preclvl) .gt. Zbinvallnd(6)) .AND. & 504 504 (Zmax.lt.Zbinvallnd(3))) then 505 505 cloudsat_pflag(i,pr) = pClass_Rain1 ! JEK: Rain possible … … 536 536 537 537 ! Normalize by number of subcolumns 538 where ((cloudsat_precip_cover /= R_UNDEF). and.(cloudsat_precip_cover /= 0.0)) &538 where ((cloudsat_precip_cover /= R_UNDEF).AND.(cloudsat_precip_cover /= 0.0)) & 539 539 cloudsat_precip_cover = cloudsat_precip_cover / Ncolumns 540 where ((cloudsat_pia/= R_UNDEF). and.(cloudsat_pia/= 0.0)) &540 where ((cloudsat_pia/= R_UNDEF).AND.(cloudsat_pia/= 0.0)) & 541 541 cloudsat_pia = cloudsat_pia / Ncolumns 542 542
Note: See TracChangeset
for help on using the changeset viewer.