Changeset 2166


Ignore:
Timestamp:
Oct 4, 2019, 3:07:15 PM (5 years ago)
Author:
abierjon
Message:

MARS GCM:
Handle case when injecting without dust scenario (iaervar=1) in compute_dtau_mod
AB

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2164 r2166  
    27572757be computed every "ichemistry" physics step (but chemistry tendencies are
    27582758added every physics step). Default is ichemistry=1.
     2759
     2760== 04/10/2019 == AB+EM
     2761Handle case when injecting without dust scenario (iaervar=1) in compute_dtau_mod
  • trunk/LMDZ.MARS/libf/phymars/compute_dtau_mod.F90

    r2160 r2166  
    1919        USE comcstfi_h, only: g
    2020        USE tracer_mod, only: alpha_lift,igcm_dust_mass,igcm_dust_number
     21        USE dimradmars_mod, only: tauvis
    2122       
    2223        IMPLICIT NONE
     
    6162       
    6263        ! 1. Obtain tauref_scenario from dust scenario at zday+1
    63         zday_scenario=zday-modulo(zday,1.) ! integer value of the day: the scenario opacity is measured at 14:00
    64         zday_scenario=zday_scenario+1      ! opacity of the dust scenario is read the day after
    65         call read_dust_scenario(ngrid,nlayer,zday_scenario,pplev,       &
    66        &                        tauref_scenario)
     64        if (iaervar.eq.1) then
     65          tauref_scenario = tauvis
     66        else
     67          zday_scenario=zday-modulo(zday,1.) ! integer value of the day: the scenario opacity is measured at 14:00
     68          zday_scenario=zday_scenario+1      ! opacity of the dust scenario is read the day after
     69          call read_dust_scenario(ngrid,nlayer,zday_scenario,pplev,     &
     70       &                          tauref_scenario)
     71        endif
    6772       ! for diagnostics
    6873        call WRITEDIAGFI(ngrid,"tauref_scenario","tauref_scenario",     &
Note: See TracChangeset for help on using the changeset viewer.