Ignore:
Timestamp:
01/08/16 10:35:53 (8 years ago)
Author:
acosce
Message:

change value of config_inca if we are working with aerosols and lmdz new physics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/DRIVER/inca.driver

    r2547 r2696  
    3030    echo "INCA Tag : LMDZ-INCA" ${config_UserChoices_TagName} 
    3131 
     32    ##- LMDZ physics version 
     33    ##  Read LMDZ_Physics option in lmdz.card, if not present take default value AP (old physics)  
     34    if [ ! X${lmdz_UserChoices_LMDZ_Physics} = X ] ; then 
     35        LMDZ_Physics=${lmdz_UserChoices_LMDZ_Physics} 
     36    else 
     37        LMDZ_Physics=AP 
     38    fi 
     39    echo LMDZ physics version : ${LMDZ_Physics} 
     40 
    3241    IGCM_debug_PopStack "CHM_Initialize" 
    3342} 
     
    4049    case ${CHEM} in  
    4150        AER) 
    42         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     51            if [ X${LMDZ_Physics} = X"AP" ] ; then 
     52                IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     53            else 
     54                IGCM_comp_modifyDefFile nonblocker run.def config_inca aeNP 
     55            fi 
    4356        ;; 
    4457        DUST) 
    45         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     58            if [ X${LMDZ_Physics} = X"AP" ] ; then 
     59                IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     60            else 
     61                IGCM_comp_modifyDefFile nonblocker run.def config_inca aeNP 
     62            fi 
    4663        ;; 
    4764        NMHC)  
     
    4966        ;; 
    5067        NMHC_AER) 
    51         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
    52         ;; 
    53         CH4) 
    54         IGCM_comp_modifyDefFile nonblocker run.def config_inca chem 
    55         ;; 
    56         CH4_AER) 
    57         IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     68            if [ X${LMDZ_Physics} = X"AP" ] ; then 
     69                IGCM_comp_modifyDefFile nonblocker run.def config_inca aero 
     70            else 
     71                IGCM_comp_modifyDefFile nonblocker run.def config_inca aeNP 
     72            fi 
    5873        ;; 
    5974        GES) 
Note: See TracChangeset for help on using the changeset viewer.