Ignore:
Timestamp:
06/28/19 13:36:53 (5 years ago)
Author:
cetlod
Message:

Add PISCES-Gas tracers for ESMCO2 configuration

File:
1 edited

Legend:

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

    r3786 r4477  
    8585    IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${LMDZ_CO2} 
    8686 
     87    if [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
     88        ##-- N2O forcing : update atcn2o value in namelist_pisces_cfg with the same one used in LMDZ 
     89        IGCM_debug_Print 1 "Take same N2O as for LMDZ, in parameter file config.def." 
     90        # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for N2O 
     91        IGCM_debug_Print 1 'Update atcn2o in namelist_pisces_cfg with same value as for LMDZ' 
     92        LMDZ_N2O=$( lmdzgrep2 N2O_ppb config.def ) 
     93        IGCM_debug_Print 1 "LMDZ_N2O : ${LMDZ_N2O} " 
     94        IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcn2o ${LMDZ_N2O} 
     95    fi 
     96 
    8797    ##-- Update namelist_top_cfg and namelist_pisces_cfg 
    8898    IGCM_comp_modifyNamelist blocker  namelist_top_cfg     ln_rsttr   ${TOP_LN_RSTR} 
     
    105115    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y_pis output_level ${pisces_UserChoices_OutputLevel} 
    106116 
     117    if [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
     118      # Output file with PISCES gas variables 
     119      IGCM_comp_modifyXmlFile force file_def_nemo-pisces.xml file41 enabled .TRUE. 
     120    else 
     121      IGCM_comp_modifyXmlFile force file_def_nemo-pisces.xml file41 enabled .FALSE. 
     122    fi 
     123     
    107124    
    108125    IGCM_debug_PopStack "MBG_Update" 
Note: See TracChangeset for help on using the changeset viewer.