Changeset 2138
- Timestamp:
- May 22, 2019, 4:15:51 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r2133 r2138 1482 1482 outputs dtaui/v(altitude) in diagfi.nc for every narrowband (could be done with one var 1483 1483 but would require to be able to have writediag in 5D) 1484 EDIT (22/05/19) : To have correct calculations, output is now exp(-tau), you need to postproc it to have tau. -
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r2134 r2138 934 934 int_dtauv(ig,l,nw) = 0.0d0 935 935 DO k=1,L_NGAUSS 936 int_dtauv(ig,l,nw)= int_dtauv(ig,l,nw) + dtauv(l,nw,k)*gweight(k) 936 ! Output exp(-tau) because gweight ponderates exp and not tau itself 937 int_dtauv(ig,l,nw)= int_dtauv(ig,l,nw) + exp(-dtauv(l,nw,k))*gweight(k) 937 938 ENDDO 938 939 enddo … … 940 941 int_dtaui(ig,l,nw) = 0.0d0 941 942 DO k=1,L_NGAUSS 942 int_dtaui(ig,l,nw)= int_dtaui(ig,l,nw) + dtaui(l,nw,k)*gweight(k) 943 ! Output exp(-tau) because gweight ponderates exp and not tau itself 944 int_dtaui(ig,l,nw)= int_dtaui(ig,l,nw) + exp(-dtaui(l,nw,k))*gweight(k) 943 945 ENDDO 944 946 enddo -
trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90
r2133 r2138 327 327 write(*,*)" specOLR = ",specOLR 328 328 329 write(*,*)"Output diagnostic optical thickness ?"329 write(*,*)"Output diagnostic optical thickness attenuation exp(-tau)?" 330 330 diagdtau=.false. 331 331 call getin_p("diagdtau",diagdtau) -
trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
r2133 r2138 2194 2194 2195 2195 ! Diagnostics of optical thickness 2196 ! Warning this is exp(-tau), I let you postproc with -log to have tau itself - JVO 19 2196 2197 if (diagdtau) then 2197 2198 do nw=1,L_NSPECTV 2198 2199 write(str2,'(i2.2)') nw 2199 call writediagfi(ngrid,'dtauv'//str2,'Layer optical thickness in VI band '//str2,'',1,int_dtauv(:,nlayer:1:-1,nw))2200 call writediagfi(ngrid,'dtauv'//str2,'Layer optical thickness attenuation in VI band '//str2,'',1,int_dtauv(:,nlayer:1:-1,nw)) 2200 2201 enddo 2201 2202 do nw=1,L_NSPECTI 2202 2203 write(str2,'(i2.2)') nw 2203 call writediagfi(ngrid,'dtaui'//str2,'Layer optical thickness in IR band '//str2,'',1,int_dtaui(:,nlayer:1:-1,nw))2204 call writediagfi(ngrid,'dtaui'//str2,'Layer optical thickness attenuation in IR band '//str2,'',1,int_dtaui(:,nlayer:1:-1,nw)) 2204 2205 enddo 2205 2206 endif -
trunk/LMDZ.TITAN/README
r2133 r2138 1562 1562 outputs dtaui/v(altitude) in diagfi.nc for every narrowband (could be done with one var 1563 1563 but would require to be able to have writediag in 5D) 1564 EDIT (22/05/19) : To have correct calculations, output is now exp(-tau), you need to postproc it to have tau. -
trunk/LMDZ.TITAN/libf/phytitan/callcorrk.F90
r2133 r2138 543 543 int_dtauv(ig,l,nw) = 0.0d0 544 544 DO k=1,L_NGAUSS 545 int_dtauv(ig,l,nw)= int_dtauv(ig,l,nw) + dtauv(l,nw,k)*gweight(k) 545 ! Output exp(-tau) because gweight ponderates exp and not tau itself 546 int_dtauv(ig,l,nw)= int_dtauv(ig,l,nw) + exp(-dtauv(l,nw,k))*gweight(k) 546 547 ENDDO 547 548 enddo … … 549 550 int_dtaui(ig,l,nw) = 0.0d0 550 551 DO k=1,L_NGAUSS 551 int_dtaui(ig,l,nw)= int_dtaui(ig,l,nw) + dtaui(l,nw,k)*gweight(k) 552 ! Output exp(-tau) because gweight ponderates exp and not tau itself 553 int_dtaui(ig,l,nw)= int_dtaui(ig,l,nw) + exp(-dtaui(l,nw,k))*gweight(k) 552 554 ENDDO 553 555 enddo -
trunk/LMDZ.TITAN/libf/phytitan/inifis_mod.F90
r2133 r2138 337 337 write(*,*)" specOLR = ",specOLR 338 338 339 write(*,*)"Output diagnostic optical thickness ?"339 write(*,*)"Output diagnostic optical thickness attenuation exp(-tau)?" 340 340 diagdtau=.false. 341 341 call getin_p("diagdtau",diagdtau) -
trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90
r2133 r2138 1519 1519 1520 1520 ! Diagnostics of optical thickness 1521 ! Warning this is exp(-tau), I let you postproc with -log to have tau itself - JVO 19 1521 1522 if (diagdtau) then 1522 1523 do nw=1,L_NSPECTV 1523 1524 write(str2,'(i2.2)') nw 1524 call writediagfi(ngrid,'dtauv'//str2,'Layer optical thickness in VI band '//str2,'',1,int_dtauv(:,nlayer:1:-1,nw))1525 call writediagfi(ngrid,'dtauv'//str2,'Layer optical thickness attenuation in VI band '//str2,'',1,int_dtauv(:,nlayer:1:-1,nw)) 1525 1526 enddo 1526 1527 do nw=1,L_NSPECTI 1527 1528 write(str2,'(i2.2)') nw 1528 call writediagfi(ngrid,'dtaui'//str2,'Layer optical thickness in IR band '//str2,'',1,int_dtaui(:,nlayer:1:-1,nw))1529 call writediagfi(ngrid,'dtaui'//str2,'Layer optical thickness attenuation in IR band '//str2,'',1,int_dtaui(:,nlayer:1:-1,nw)) 1529 1530 enddo 1530 1531 endif
Note: See TracChangeset
for help on using the changeset viewer.