Ignore:
Timestamp:
Apr 28, 2021, 4:55:57 PM (4 years ago)
Author:
idelkadi
Message:

Online implementation of the radiative transfer code ECRAD in LMDZ.

  • Inclusion of the ecrad directory containing the sources of the ECRAD code
  • Adaptation of compilation scripts (CPP_ECRAD keys)
  • Call of ecrad in radlwsw_m.F90 under the logical key iflag_rrtm = 2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/LMDZ-ECRAD/makelmdz_fcm

    r3804 r3880  
    2626inlandsis=false
    2727rrtm=false
     28ecrad=false
    2829dust=false
    2930strataer=false
     
    5556PHY_COMMON_PATH=$LMDGCM/.void_dir
    5657RRTM_PATH=$LMDGCM/.void_dir
     58ECRAD_PATH=$LMDGCM/.void_dir
    5759DUST_PATH=$LMDGCM/.void_dir
    5860STRATAER_PATH=$LMDGCM/.void_dir
     
    102104[-inlandsis true/false]  : compile with/without inlandsis package (default: false)
    103105[-rrtm true/false]    : compile with/without rrtm package (default: false)
     106[-ecrad true/false]    : compile with/without ecrad package (default: false)
    104107[-dust true/false]    : compile with/without the dust package by Boucher and co (default: false)
    105108[-strataer true/false]    : compile with/without the strat aer package by Boucher and co (default: false)
     
    159162      "-rrtm")
    160163          rrtm="$2" ; shift ; shift ;;
     164
     165      "-ecrad")
     166          ecrad="$2" ; shift ; shift ;;
    161167
    162168      "-dust")
     
    433439fi
    434440
     441if [[ "$ecrad" == "true" ]]
     442then
     443   CPP_KEY="$CPP_KEY CPP_ECRAD"
     444   ECRAD_PATH="$LIBFGCM/%PHYS/ecrad"
     445fi
     446
     447
    435448if [[ "$dust" == "true" ]]
    436449then
     
    695708echo "%DYN_PHYS_SUB  $DYN_PHYS_SUB_PATH" >> $config_fcm
    696709echo "%RRTM          $RRTM_PATH"     >> $config_fcm
     710echo "%ECRAD         $ECRAD_PATH"    >> $config_fcm
    697711echo "%DUST          $DUST_PATH"     >> $config_fcm
    698712echo "%STRATAER      $STRATAER_PATH" >> $config_fcm
Note: See TracChangeset for help on using the changeset viewer.