Ignore:
Timestamp:
Jul 22, 2024, 9:46:57 AM (4 months ago)
Author:
abarral
Message:

Revert cosp*/ from the trunk, as it's external code
Add missing bits from FCM2 source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/cosp2/parasol.F90

    r5093 r5095  
    8181    ! Lum_norm=f(PARASOL_SZA,tau_cloud) derived from adding-doubling calculations
    8282    !        valid ONLY ABOVE OCEAN (albedo_sfce=5%)
    83     !        valid only in one viewing direction (theta_v=30°, phi_s-phi_v=320°)
     83    !        valid only in one viewing direction (theta_v=30�, phi_s-phi_v=320�)
    8484    !        based on adding-doubling radiative transfer computation
    8585    !        for PARASOL_TAU values (0 to 100) and for PARASOL_SZA values (0 to 80)
     
    9797
    9898    ! Relative fraction of the opt. thick due to liquid or ice clouds
    99     WHERE (tautot_S(1:npoints) > 0.)
     99    WHERE (tautot_S(1:npoints) .gt. 0.)
    100100       frac_taucol_liq(1:npoints) = tautot_S_liq(1:npoints) / tautot_S(1:npoints)
    101101       frac_taucol_ice(1:npoints) = tautot_S_ice(1:npoints) / tautot_S(1:npoints)
     
    118118    DO it=1,PARASOL_NREFL
    119119       DO ny=1,PARASOL_NTAU-1
    120           WHERE (tautot_S(1:npoints) >= PARASOL_TAU(ny).and. &
    121                  tautot_S(1:npoints) <= PARASOL_TAU(ny+1))
     120          WHERE (tautot_S(1:npoints) .ge. PARASOL_TAU(ny).and. &
     121                 tautot_S(1:npoints) .le. PARASOL_TAU(ny+1))
    122122             rlumA_mod(1:npoints,it) = aA(it,ny)*tautot_S(1:npoints) + bA(it,ny)
    123123             rlumB_mod(1:npoints,it) = aB(it,ny)*tautot_S(1:npoints) + bB(it,ny)
Note: See TracChangeset for help on using the changeset viewer.