Ignore:
Timestamp:
Mar 19, 2024, 3:34:21 PM (2 months ago)
Author:
idelkadi
Message:

Ecrad update in LMDZ / Implementation of Ecrad double call in LMDZ

  • version 1.6.1 (commit 210d7911380f53a788c3cad73b3cf9b4e022ef87)
  • interface routines between lmdz and ecrad grouped in a new "lmdz" directory
  • double call method redesigned so as to go through the Ecrad initialization and configuration part only once for the entire simulation
  • clean-up in the read.F routine: delete unitules arguments
  • modification of default gas model in namelist (default: ECCKD)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/ecrad/driver/ecrad_driver.F90

    r4773 r4853  
    5555  implicit none
    5656
     57  ! Uncomment this if you want to use the "satur" routine below
     58!#include "satur.intfb.h"
     59 
    5760  ! The NetCDF file containing the input profiles
    5861  type(netcdf_file)         :: file
     
    269272
    270273  ! Compute saturation with respect to liquid (needed for aerosol
    271   ! hydration) call
     274  ! hydration) call...
    272275  call thermodynamics%calc_saturation_wrt_liquid(driver_config%istartcol,driver_config%iendcol)
    273276
     277  ! ...or alternatively use the "satur" function in the IFS (requires
     278  ! adding -lifs to the linker command line) but note that this
     279  ! computes saturation with respect to ice at colder temperatures,
     280  ! which is almost certainly incorrect
     281  !allocate(thermodynamics%h2o_sat_liq(ncol,nlev))
     282  !call satur(driver_config%istartcol, driver_config%iendcol, ncol, 1, nlev, .false., &
     283  !     0.5_jprb * (thermodynamics.pressure_hl(:,1:nlev)+thermodynamics.pressure_hl(:,2:nlev)), &
     284  !     0.5_jprb * (thermodynamics.temperature_hl(:,1:nlev)+thermodynamics.temperature_hl(:,2:nlev)), &
     285  !     thermodynamics%h2o_sat_liq, 2)
     286 
    274287  ! Check inputs are within physical bounds, printing message if not
    275288  is_out_of_bounds =     gas%out_of_physical_bounds(driver_config%istartcol, driver_config%iendcol, &
Note: See TracChangeset for help on using the changeset viewer.