Changeset 1792 for trunk/LMDZ.TITAN/libf/phytitan
- Timestamp:
- Oct 5, 2017, 12:15:17 PM (7 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/phytitan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/disr_haze.F90
r1681 r1792 32 32 real*8 :: tmp_p, fact_t 33 33 integer,parameter :: nbwl_PL=328, nblev_PL=162 34 real*8,save :: ext_PL(nblev_PL,nbwl_PL), ssa_PL(nblev_PL,nbwl_PL) 35 real*8,save :: asf_PL(nblev_PL,nbwl_PL) 34 real*8,save :: ext_PL(nblev_PL,nbwl_PL), ssa_PL(nblev_PL,nbwl_PL), asf_PL(nblev_PL,nbwl_PL) 36 35 real*8,save :: wl_PL(nbwl_PL), press_PL(nblev_PL) 37 36 logical,save :: firstcall=.true. 38 37 character(len=15) :: dummy 38 39 !$OMP THREADPRIVATE(ext_PL,ssa_PL,asf_PL,wl_PL,press_PL,firstcall) 39 40 40 41 if (firstcall) then … … 130 131 fact_t = log10( ( ext_PL(ip,iw)*(1.-factw) + ext_PL(ip,iw+1) *factw ) & 131 132 / ( ext_PL(ip-5,iw)*(1.-factw) + ext_PL(ip-5,iw+1) *factw ) ) 133 134 taeros = ext_PL(ip,iw)*(1.-factw) + ext_PL(ip,iw+1) *factw 132 135 133 136 else if (iw.eq.nbwl_PL) then 134 137 135 fact_t = log10( ext_PL(ip,iw) / ext_PL(ip-5,iw) ) 138 fact_t = log10( ext_PL(ip,iw) / ext_PL(ip-5,iw) ) 139 140 taeros = ext_PL(ip,iw) 136 141 137 142 endif -
trunk/LMDZ.TITAN/libf/phytitan/optci.F90
r1788 r1792 86 86 ENDIF 87 87 88 ! Some initialisation beacause there's a pb with disr_haze at the limits (nw=1) 89 ! I should check this - For now we set vars to zero : better than nans - JVO 2017 90 91 dhaze_t(:,:) = 0. 92 ssa_t(:,:) = 0. 93 asf_t(:,:) = 0. 94 88 95 !======================================================================= 89 96 ! Determine the total gas opacity throughout the column, for each -
trunk/LMDZ.TITAN/libf/phytitan/optcv.F90
r1788 r1792 94 94 indv = -9999 ! this initial value means "to be calculated" 95 95 ENDIF 96 97 ! Some initialisation beacause there's a pb with disr_haze at the limits (nw=1) 98 ! I should check this - For now we set vars to zero : better than nans - JVO 2017 99 100 dhaze_t(:,:) = 0. 101 ssa_t(:,:) = 0. 102 asf_t(:,:) = 0. 103 96 104 97 105 !======================================================================= … … 135 143 136 144 !================= Titan customisation ======================================== 137 145 call disr_haze(dz(k),plev(k),wnov(nw),dhaze_T(k,nw),SSA_T(k,nw),ASF_T(k,nw)) 138 146 ! ============================================================================= 139 147 140 148 DRAYAER = TRAY(K,NW) 141 149 ! DRAYAER is Tau RAYleigh scattering, plus AERosol opacity
Note: See TracChangeset
for help on using the changeset viewer.