Changeset 3146


Ignore:
Timestamp:
Dec 2, 2023, 3:01:42 PM (13 months ago)
Author:
llange
Message:

Mars PCM
Bug fix in init_testphys and testphys. Index for water vapor and ice were not initialized
(but used in testphys1d when atm_wat_profile > 0). It is fixed by calling
initracer in init_testphys1d_mod.
LL

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3144 r3146  
    43694369Remember to use full-layers model configuration (64x48x73) when you try to call this scheme because we need to evaluate the saturation altitude of each monochromatic wave.
    43704370More than ~75% of the waves saturated at altitude above 120 km.
     4371
     4372== 02/12/2023 == LL
     4373Bug fix in init_testphys and testphys. Index for water vapor and ice were not initialized
     4374(but used in testphys1d when atm_wat_profile > 0). It is fixed by calling
     4375initracer in init_testphys1d_mod. 
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90

    r3129 r3146  
    388388call ini_fillgeom(1,latitude,longitude,(/1.0/))
    389389call conf_phys(1,llm,nq)
    390 
     390call initracer(ngrid,nq,qsurf)
    391391! In 1D model physics are called every time step
    392392! ovverride iphysiq value that has been set by conf_phys
     
    509509! CO2 ice on the surface
    510510! ----------------------
    511 ! get the index of co2 tracer (not known at this stage)
    512 igcm_co2 = 0
    513 do iq = 1,nq
    514     if (trim(tname(iq)) == "co2") igcm_co2 = iq
    515 enddo
    516 if (igcm_co2 == 0) error stop "init_testphys1d error, missing co2 tracer!"
    517511
    518512if (.not. therestartfi) then
Note: See TracChangeset for help on using the changeset viewer.