Changeset 2133 for trunk/LMDZ.GENERIC/libf/phystd/optcv.F90
- Timestamp:
- Apr 30, 2019, 10:34:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/optcv.F90
r2131 r2133 10 10 11 11 use radinc_h, only: L_NLAYRAD, L_NLEVRAD, L_LEVELS, L_NSPECTV, L_NGAUSS, L_REFVAR, NAERKIND 12 use radcommon_h, only: gasv, tlimit, wrefVAR, Cmk, tgasref, pfgasref,wnov,scalep,indv,glat_ig ,gweight12 use radcommon_h, only: gasv, tlimit, wrefVAR, Cmk, tgasref, pfgasref,wnov,scalep,indv,glat_ig 13 13 use gases_h, only: gfrac, ngasmx, igas_H2, igas_H2O, igas_He, igas_N2 14 14 use comcstfi_mod, only: g, r, mugaz 15 use callkeys_mod, only: kastprof,continuum,graybody,H2Ocont_simple,callgasvis ,diagdtau15 use callkeys_mod, only: kastprof,continuum,graybody,H2Ocont_simple,callgasvis 16 16 17 17 implicit none … … 92 92 real*8 dz(L_LEVELS) 93 93 94 ! variables for diags of optical depth95 real*8 INT_DTAU(L_NLAYRAD,L_NSPECTV)96 character*2 str297 94 98 95 integer igas, jgas … … 379 376 380 377 381 ! Optical thickness for 1D diagnostics (added by JVO)382 if (diagdtau) then ! diagtau can be true only if 1D383 do l=1,L_NLAYRAD384 do nw=1,L_NSPECTV385 INT_DTAU(L,NW) = 0.0d+0386 DO NG=1,L_NGAUSS387 INT_DTAU(L,NW)= INT_DTAU(L,NW) + dtauv(L,nw,ng)*gweight(NG)388 enddo389 enddo390 enddo391 do nw=1,L_NSPECTV392 write(str2,'(i2.2)') nw393 call writediagfi(1,'dtauv'//str2,'Layer optical thickness in VI band '//str2,'',1,int_dtau(L_NLAYRAD:1:-1,nw))394 enddo395 endif396 378 397 379
Note: See TracChangeset
for help on using the changeset viewer.