- Timestamp:
- Aug 2, 2024, 2:12:03 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/cospv2/modis_simulator.F90
r5099 r5158 163 163 cloudMask = retrievedTau(1:nSubCols) >= min_OpticalThickness 164 164 165 doi = 1, nSubCols165 DO i = 1, nSubCols 166 166 if(cloudMask(i)) then 167 167 ! ################################################################################## … … 380 380 reffIceWRK(1:nPoints,1:nSubCols) = merge(particle_size,R_UNDEF,iceCloudMask) 381 381 reffLiqWRK(1:nPoints,1:nSubCols) = merge(particle_size,R_UNDEF,waterCloudMask) 382 doj=1,nPoints382 DO j=1,nPoints 383 383 384 384 ! Fill clear and optically thin subcolumns with fill … … 439 439 ! layers and use the trapezoidal rule. 440 440 totalTau = 0._wp; totalProduct = 0._wp 441 doi = 2, size(tauIncrement)441 DO i = 2, size(tauIncrement) 442 442 if(totalTau + tauIncrement(i) > tauLimit) then 443 443 deltaX = tauLimit - totalTau … … 479 479 ! Find the extinction-weighted value of f(tau), assuming constant f within each layer 480 480 totalTau = 0._wp; totalProduct = 0._wp 481 doi = 1, size(tauIncrement)481 DO i = 1, size(tauIncrement) 482 482 if(totalTau + tauIncrement(i) > tauLimit) then 483 483 deltaX = tauLimit - totalTau … … 712 712 cloudMask(1:nLevels) = tau(1:nLevels) > 0. 713 713 cloudIndicies = pack((/ (i, i = 1, nLevels) /), mask = cloudMask) 714 doi = 1, size(cloudIndicies)714 DO i = 1, size(cloudIndicies) 715 715 call two_stream(tau(cloudIndicies(i)), g(cloudIndicies(i)), w0(cloudIndicies(i)), Refl(i), Trans(i)) 716 716 end do … … 892 892 Tran_cumulative(1) = Tran(1) 893 893 894 doi=2, npts894 DO i=2, npts 895 895 ! place (add) previous combined layer(s) reflectance on top of layer i, w/black surface (or ignoring surface): 896 896 Refl_cumulative(i) = Refl_cumulative(i-1) + Refl(i)*(Tran_cumulative(i-1)**2)/(1._wp - Refl_cumulative(i-1) * Refl(i))
Note: See TracChangeset
for help on using the changeset viewer.