Ignore:
Timestamp:
05/10/23 12:56:33 (12 months ago)
Author:
cetlod
Message:

merge useless IPSLCM6.5.1 into IPSLCM6.5 CONFIG & restructuration of PARAM sub-directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.5/GENERAL/DRIVER/pisces.driver

    r5066 r6443  
    7676    fi 
    7777 
    78  
    79     ##-- CO2 forcing : update atcco2 value in namelist_pisces_cfg with the same one used in LMDZ 
    80     IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." 
    81     # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 
    82     IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 
    83     LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 
    84     IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 
    85     IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${LMDZ_CO2} 
     78    if [ X${pisces_UserChoices_AtmCo2} != X ] ; then 
     79       ##-- CO2 forcing : update atcco2 value in namelist_pisces_cfg with the value defined in pisces.card 
     80       IGCM_debug_Print 1 "the atmospheric CO2 is specfied in pisces.card" 
     81       ATM_CO2=${pisces_UserChoices_AtmCo2} 
     82    else 
     83      ##-- CO2 forcing : update atcco2 value in namelist_pisces_cfg with the same one used in LMDZ 
     84      IGCM_debug_Print 1 "Take same atpmospheric CO2 as for LMDZ, in parameter file config.def." 
     85      # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 
     86      ATM_CO2=$( lmdzgrep2 co2_ppm config.def ) 
     87    fi 
     88    IGCM_debug_Print 1 "Update atcco2 in namelist_pisces_cfg with value AtmCO2 : ${ATM_CO2}" 
     89    IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${ATM_CO2} 
     90     
    8691 
    8792    if [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.