Ignore:
Timestamp:
Sep 11, 2024, 4:27:07 PM (2 months ago)
Author:
abarral
Message:

Replace REPROBUS CPP KEY by logical using handmade wonky wrapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/cospv2/cosp_stats.F90

    r5158 r5185  
    217217          DO j=1,Nlevels
    218218             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 = j
     219             if ((sc_ratio .le. s_att) .AND. (flag_sat .eq. 0)) flag_sat = j
    220220             if (Ze_tot(pr,i,j) .lt. -30.) then  !radar can't detect cloud
    221221                if ( (sc_ratio .gt. s_cld) .or. (flag_sat .eq. j) ) then  !lidar sense cloud
     
    267267   
    268268    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))
    270270       if (count(var .eq. R_GROUND) .ge. 1) hist1D(ij-1)=R_UNDEF
    271271    enddo
     
    300300    DO ij=2,nbin1+1
    301301       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))
    304304       enddo
    305305    enddo
Note: See TracChangeset for help on using the changeset viewer.