Changeset 3917


Ignore:
Timestamp:
Sep 19, 2025, 12:17:56 PM (4 months ago)
Author:
tbertrand
Message:

Pluto PCM:
Adding Triton options (CH4 profile)
TB

Location:
trunk/LMDZ.PLUTO/libf/phypluto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/phypluto/callcorrk.F90

    r3890 r3917  
    3737                              methane,carbox,cooling,nlte,strobel,&
    3838                              ch4fix,vmrch4_proffix,vmrch4fix,&
    39                               callmufi
     39                              callmufi,triton
    4040      use optcv_mod, only: optcv
    4141      use optci_mod, only: optci
     
    209209      real eps_nlte_lw(ngrid,nlayer) ! CH4 NLTE efficiency factor for zdtsw
    210210      integer Nfine,ifine
    211       parameter(Nfine=701)
     211      parameter(Nfine=600)
    212212      character(len=100) :: file_path
    213213      real,save :: levdat(Nfine),vmrdat(Nfine)
     
    493493      ! If fixed profile of CH4 gas
    494494      IF (vmrch4_proffix) then
     495        IF (triton) then
     496         file_path=trim(datadir)//'/gas_prop/vmr_ch4_triton.txt'
     497        ELSE
    495498         file_path=trim(datadir)//'/gas_prop/vmr_ch4.txt'
    496          open(115,file=file_path,form='formatted')
    497          do ifine=1,Nfine
    498            read(115,*) levdat(ifine), vmrdat(ifine)
    499          enddo
    500          close(115)
     499        ENDIF
     500        open(115,file=file_path,form='formatted')
     501        do ifine=1,Nfine
     502          read(115,*) levdat(ifine), vmrdat(ifine)
     503        enddo
     504        close(115)
    501505      ENDIF
    502506
  • trunk/LMDZ.PLUTO/libf/phypluto/hazecloud.F90

    r3894 r3917  
    88      use tracer_h, only: igcm_haze, igcm_ch4_gas, igcm_n2, igcm_prec_haze, noms, mmol
    99      use geometry_mod, only: longitude, latitude ! in radians
    10       use callkeys_mod, only: hazeconservch4, haze_ch4proffix, diurnal, tcon_ch4, k_ch4, ncratio_ch4
     10      use callkeys_mod, only: hazeconservch4, haze_ch4proffix, diurnal, tcon_ch4, k_ch4, &
     11                              ncratio_ch4,triton
    1112      use datafile_mod, only: datadir
    1213
     
    9091
    9192      integer Nfine,ifine
    92       parameter(Nfine=701)
     93      parameter(Nfine=600)
    9394      character(len=100) :: file_path
    9495      real,save :: levdat(Nfine),vmrdat(Nfine)
     
    167168      ! If fixed profile of CH4 gas
    168169      if (haze_ch4proffix) then
     170        if (triton) then
     171         file_path=trim(datadir)//'/gas_prop/vmr_ch4_triton.txt'
     172        else
    169173         file_path=trim(datadir)//'/gas_prop/vmr_ch4.txt'
    170          open(115,file=file_path,form='formatted')
    171          do ifine=1,Nfine
     174        endif
     175        open(115,file=file_path,form='formatted')
     176        do ifine=1,Nfine
    172177           read(115,*) levdat(ifine), vmrdat(ifine)
    173          enddo
    174          close(115)
     178        enddo
     179        close(115)
    175180      endif
    176181      vmrch4(:,:)=0.
Note: See TracChangeset for help on using the changeset viewer.