- Timestamp:
- Sep 11, 2024, 4:27:07 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/cospv2/cosp_stats.F90
r5158 r5185 217 217 DO j=1,Nlevels 218 218 sc_ratio = beta_tot(pr,i,j)/beta_mol(pr,j) 219 if ((sc_ratio .le. s_att) . and. (flag_sat .eq. 0)) flag_sat = j219 if ((sc_ratio .le. s_att) .AND. (flag_sat .eq. 0)) flag_sat = j 220 220 if (Ze_tot(pr,i,j) .lt. -30.) then !radar can't detect cloud 221 221 if ( (sc_ratio .gt. s_cld) .or. (flag_sat .eq. j) ) then !lidar sense cloud … … 267 267 268 268 DO ij=2,Nbins+1 269 hist1D(ij-1) = count(var .ge. bins(ij-1) . and. var .lt. bins(ij))269 hist1D(ij-1) = count(var .ge. bins(ij-1) .AND. var .lt. bins(ij)) 270 270 if (count(var .eq. R_GROUND) .ge. 1) hist1D(ij-1)=R_UNDEF 271 271 enddo … … 300 300 DO ij=2,nbin1+1 301 301 DO ik=2,nbin2+1 302 jointHist(ij-1,ik-1)=count(var1 .ge. bin1(ij-1) . and. var1 .lt. bin1(ij) .and. &303 var2 .ge. bin2(ik-1) . and. var2 .lt. bin2(ik))302 jointHist(ij-1,ik-1)=count(var1 .ge. bin1(ij-1) .AND. var1 .lt. bin1(ij) .AND. & 303 var2 .ge. bin2(ik-1) .AND. var2 .lt. bin2(ik)) 304 304 enddo 305 305 enddo
Note: See TracChangeset
for help on using the changeset viewer.