Ignore:
Timestamp:
Sep 28, 2017, 3:43:23 PM (7 years ago)
Author:
jvatant
Message:

Added the surface methane tank and put it in start files
--JVO

File:
1 edited

Legend:

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

    r1722 r1789  
    88                     ngrid,nlayer,fichnom,tab0,Lmodif,nsoil,nq, &
    99                     day_ini,time,tsurf,tsoil, &
    10                      emis,q2,qsurf)
     10                     emis,q2,qsurf,tankCH4)
    1111
    1212! to use  'getin_p'
     
    4444  real,intent(out) :: q2(ngrid,nlayer+1) !
    4545  real,intent(out) :: qsurf(ngrid,nq) ! tracers on surface
     46  real,intent(out) :: tankCH4(ngrid)  ! depth of CH4 tank
    4647
    4748!======================================================================
     
    217218write(*,*) "phyetat0: Surface emissivity <emis> range:", &
    218219             minval(emis), maxval(emis)
     220
     221! Depth of methane tank (added by JVO 2017)
     222 if (startphy_file) then
     223   call get_field("tankCH4",tankCH4,found,indextime)
     224   if (.not.found) then
     225     write(*,*) "phyetat0: Failed loading <tankCH4>"
     226     !  call abort
     227     tankCH4(:)=2.
     228   endif
     229 else
     230   tankCH4(:)=2.
     231 endif ! of if (startphy_file)
     232 write(*,*) "phyetat0: Depth of methane tank <tankCH4> range:", &
     233              minval(tankCH4), maxval(tankCH4)
    219234
    220235! pbl wind variance
Note: See TracChangeset for help on using the changeset viewer.