Ignore:
Timestamp:
May 22, 2019, 4:15:51 PM (6 years ago)
Author:
jvatant
Message:

Correct outptuts of dtaui/v with correct ponderations
of weights, but now it is attenuation exp(-tau)
--JVO

Location:
trunk/LMDZ.TITAN/libf/phytitan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/callcorrk.F90

    r2133 r2138  
    543543            int_dtauv(ig,l,nw) = 0.0d0
    544544             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)
    546547             ENDDO
    547548          enddo
     
    549550           int_dtaui(ig,l,nw) = 0.0d0
    550551             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)
    552554             ENDDO
    553555          enddo
  • trunk/LMDZ.TITAN/libf/phytitan/inifis_mod.F90

    r2133 r2138  
    337337     write(*,*)" specOLR = ",specOLR
    338338
    339      write(*,*)"Output diagnostic optical thickness?"
     339     write(*,*)"Output diagnostic optical thickness attenuation exp(-tau)?"
    340340     diagdtau=.false.
    341341     call getin_p("diagdtau",diagdtau)
  • trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90

    r2133 r2138  
    15191519
    15201520        ! Diagnostics of optical thickness
     1521        ! Warning this is exp(-tau), I let you postproc with -log to have tau itself - JVO 19
    15211522        if (diagdtau) then               
    15221523          do nw=1,L_NSPECTV
    15231524            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))
    15251526          enddo
    15261527          do nw=1,L_NSPECTI
    15271528            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))
    15291530          enddo
    15301531        endif
Note: See TracChangeset for help on using the changeset viewer.