Changeset 4884


Ignore:
Timestamp:
01/10/20 12:08:42 (6 months ago)
Author:
acosce
Message:

standardization of inca.driver, inca.def in all default configuration using inca

Location:
CONFIG/UNIFORM/v6
Files:
8 edited

Legend:

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

    r4878 r4884  
    299299 
    300300    #inca.def : choose which xml will be use (with group or no = cmip files)  
    301     if [ x${cmip_xml} = Xy ] ; then  
     301    if [ X${cmip_xml} = Xy ] ; then  
    302302         
    303303        IGCM_comp_modifyDefFile nonblocker inca.def  cmip_xml  y 
  • CONFIG/UNIFORM/v6/IPSLCM6/EXPERIMENTS/IPSLESM/AER/piControl_AER_TEST/COMP/inca.card

    r4437 r4884  
    2222#be careful name of sflx file change with the choice of emi_interp_time ( no file / sflx_p2p.nc )  
    2323emi_interp_time=1 
     24#activate the flag cmip_xml if you are running a CMIP experiment 
     25cmip_xml=y 
    2426 
    2527 
     
    5052List=   (${SUBMIT_DIR}/PARAM/inca.def, .),\ 
    5153        (${MODIPSL}/modeles/INCA/src/INCA_XML/context_inca.xml, .)   ,\ 
    52         (${MODIPSL}/modeles/INCA/src/INCA_XML/field_def_inca.xml, .) ,\ 
     54        (${MODIPSL}/modeles/INCA/src/INCA_XML/field_def_inca_CM6.xml, field_def_inca.xml) ,\ 
    5355        (${MODIPSL}/modeles/INCA/src/INCA_XML/file_def_inca_restart.xml, .) ,\ 
    54         (${MODIPSL}/modeles/INCA/src/INCA_XML/file_def_inca_AER_daily.xml, file_def_inca_daily.xml ), \ 
    55         (${MODIPSL}/modeles/INCA/src/INCA_XML/file_def_inca_AER_monthly.xml, file_def_inca_monthly.xml ), \ 
     56        (${MODIPSL}/modeles/INCA/src/INCA_XML/file_def_inca_AER_daily_CM6.xml, file_def_inca_daily.xml ), \ 
     57        (${MODIPSL}/modeles/INCA/src/INCA_XML/file_def_inca_AER_monthly_CM6.xml, file_def_inca_monthly.xml ), \ 
    5658        (${MODIPSL}/bin/inca.dat, .) 
    5759 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/inca.driver

    r4437 r4884  
    2424    [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x19 
    2525    RESOL_CHM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' | awk "-F-" '{print $1}') 
    26     echo 'resol chimie', $RESOL_CHM 
     26    RESOL_CHM_XY=$( echo ${RESOL_CHM} | awk "-F-" '{print $1}' ) 
     27    echo 'resol chimie : ' $RESOL_CHM', resol lonlat : ' ${RESOL_CHM_XY} 
     28 
    2729 
    2830    [ -f ${SUBMIT_DIR}/../.chimie ] && eval $(grep CHEM ${SUBMIT_DIR}/../.chimie)  
     
    4143    enable1=.FALSE. 
    4244    enable2=.FALSE. 
     45    enable3=.FALSE.  
    4346 
    4447    for frequency in ${config_CHM_WriteFrequency} ; do 
     
    4851        case ${frequency} in 
    4952            1M|1m) enable2=.TRUE. ;; 
     53        esac 
     54        case ${frequency} in  
     55            1H|1h) enable3=.TRUE. ;;  
    5056        esac 
    5157    done 
     
    155161 
    156162        NMHC_AER_S) 
     163            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero_chem1  enabled ${enable3} 
     164 
    157165            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml forcage1     enabled ${enable1} 
    158166            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero1        enabled ${enable1} 
     
    235243    fi 
    236244 
     245    #inca.def : choose sedimentation schema  
     246    if [ ! X${inca_UserChoices_multilayer_sedim} = X ]; then  
     247        IGCM_comp_modifyDefFile nonblocker inca.def multilayer_sediment ${inca_UserChoices_multilayer_sedim} 
     248    else 
     249        IGCM_comp_modifyDefFile nonblocker inca.def multilayer_sediment y 
     250    fi 
    237251 
    238252    #inca.def : choose calcul interactif des diagnostiques flux chimique ou non   
     
    259273 
    260274 
     275    #inca.def : choose which xml will be use (with group or no = cmip files)  
     276    if [ X${cmip_xml} = Xy ] ; then  
     277         
     278        IGCM_comp_modifyDefFile nonblocker inca.def  cmip_xml  y 
     279    else 
     280        IGCM_comp_modifyDefFile nonblocker inca.def  cmip_xml  n 
     281    fi 
     282         
    261283 
    262284 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/PARAM/inca.def

    r4437 r4884  
    2727#choose which time interpolation you want to interpolate sflx file. ( 0 - 1 - 2) (no interpolation / point to point interpolation / Sheng & Zwiers interpolation)  
    2828emi_interp_time=_AUTO_ 
     29#activate the flag cmip_xml if you are running a CMIP experiment 
     30cmip_xml=_AUTO_: DEFAULT =n 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/DRIVER/inca.driver

    r4854 r4884  
    245245    fi 
    246246 
     247    #inca.def : choose sedimentation schema  
     248    if [ ! X${inca_UserChoices_multilayer_sedim} = X ]; then  
     249        IGCM_comp_modifyDefFile nonblocker inca.def multilayer_sediment ${inca_UserChoices_multilayer_sedim} 
     250    else 
     251        IGCM_comp_modifyDefFile nonblocker inca.def multilayer_sediment y 
     252    fi 
    247253 
    248254    #inca.def : choose calcul interactif des diagnostiques flux chimique ou non   
     
    266272        IGCM_comp_modifyDefFile nonblocker inca.def emi_interp_time 1 
    267273    fi 
     274 
     275 
     276 
     277    #inca.def : choose which xml will be use (with group or no = cmip files)  
     278    if [ X${cmip_xml} = Xy ] ; then  
     279         
     280        IGCM_comp_modifyDefFile nonblocker inca.def  cmip_xml  y 
     281    else 
     282        IGCM_comp_modifyDefFile nonblocker inca.def  cmip_xml  n 
     283    fi 
     284         
    268285 
    269286 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.1.10/GENERAL/PARAM/inca.def

    r4638 r4884  
    2626#choose which time interpolation you want to interpolate sflx file. ( 0 - 1 - 2) (no interpolation / point to point interpolation / Sheng & Zwiers interpolation)  
    2727emi_interp_time=_AUTO_ 
     28#activate the flag cmip_xml if you are running a CMIP experiment 
     29cmip_xml=_AUTO_: DEFAULT =n 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/GENERAL/DRIVER/inca.driver

    r4625 r4884  
    5151    enable1=.FALSE. 
    5252    enable2=.FALSE. 
     53    enable3=.FALSE.  
    5354 
    5455    for frequency in ${config_CHM_WriteFrequency} ; do 
     
    5859        case ${frequency} in 
    5960            1M|1m) enable2=.TRUE. ;; 
     61        esac 
     62        case ${frequency} in  
     63            1H|1h) enable3=.TRUE. ;;  
    6064        esac 
    6165    done 
     
    167171 
    168172        NMHC_AER_S) 
     173            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero_chem1  enabled ${enable3} 
     174 
    169175            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml forcage1     enabled ${enable1} 
    170176            IGCM_comp_modifyXmlFile nonblocker file_def_inca_daily.xml aero1        enabled ${enable1} 
     
    211217    fi 
    212218 
    213     if [  X${inca_UserChoices_10m_winds_method} = X ] ; then 
    214     IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method  threshold 
    215     else 
    216     IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method ${inca_UserChoices_10m_winds_method} 
    217     fi 
    218  
    219219 
    220220    if [ ! X${inca_UserChoices_wind_parameter} = X ] ; then  
    221         if [  X${inca_UserChoices_10m_winds_method} = Xthreshold ] ; then  
    222             IGCM_comp_modifyDefFile nonblocker inca.def  tref ${inca_UserChoices_wind_parameter} 
    223             IGCM_comp_modifyDefFile nonblocker inca.def  kref DEFAULT 
    224         else 
    225             IGCM_comp_modifyDefFile nonblocker inca.def  kref ${inca_UserChoices_wind_parameter} 
    226             IGCM_comp_modifyDefFile nonblocker inca.def  tref DEFAULT 
    227         fi 
    228     else 
    229             IGCM_comp_modifyDefFile nonblocker inca.def  kref DEFAULT 
    230             IGCM_comp_modifyDefFile nonblocker inca.def  tref DEFAULT 
     221        IGCM_comp_modifyDefFile nonblocker inca.def  tref ${inca_UserChoices_wind_parameter} 
     222    else 
     223        IGCM_comp_modifyDefFile nonblocker inca.def  tref DEFAULT 
    231224    fi 
    232225 
     
    288281    fi 
    289282 
    290     #inca.def : choose output library  
    291     if [  X${inca_UserChoices_XIOS} = Xy ] ; then 
    292         IGCM_comp_modifyDefFile nonblocker inca.def  XIOS_INCA_OK  y 
    293     else 
    294         IGCM_comp_modifyDefFile nonblocker inca.def  XIOS_INCA_OK n 
    295     fi 
    296  
    297     if [  X${inca_UserChoices_IOIPSL} = Xy ] ; then 
    298         IGCM_comp_modifyDefFile nonblocker inca.def  IOIPSL_INCA_OK  y 
    299     else 
    300         IGCM_comp_modifyDefFile nonblocker inca.def  IOIPSL_INCA_OK n 
    301     fi 
    302  
    303  
    304  
     283 
     284 
     285    #inca.def : choose which xml will be use (with group or no = cmip files)  
     286    if [ X${cmip_xml} = Xy ] ; then  
     287         
     288        IGCM_comp_modifyDefFile nonblocker inca.def  cmip_xml  y 
     289    else 
     290        IGCM_comp_modifyDefFile nonblocker inca.def  cmip_xml  n 
     291    fi 
     292         
    305293 
    306294 
     
    308296    # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    309297    #  <context id="inca" src="./context_inca.xml"/> 
    310         echo '<context id="inca" src="./context_inca.xml"/>' > add.tmp 
    311         cp iodef.xml iodef.xml.tmp 
    312         sed -e "/COMPONENT CONTEXT/r add.tmp" \ 
    313             iodef.xml.tmp > iodef.xml 
    314         rm iodef.xml.tmp add.tmp 
     298    echo '<context id="inca" src="./context_inca.xml"/>' > add.tmp 
     299    cp iodef.xml iodef.xml.tmp 
     300    sed -e "/COMPONENT CONTEXT/r add.tmp" \ 
     301        iodef.xml.tmp > iodef.xml 
     302    rm iodef.xml.tmp add.tmp 
    315303 
    316304 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/GENERAL/PARAM/inca.def

    r4625 r4884  
    44#LMDZ_10m_winds=y --> use 10m wind from LMDZ, =n --> use 10m wind from output file 
    55LMDZ_10m_winds=_AUTO_ 
    6 10m_winds_method=_AUTO_ 
    76#choose if there is a feedback with the areosol effect 
    87feedb=_AUTO_ 
    9 #indicate if we are running with xios and/or ioipsl 
    10 XIOS_INCA_OK=_AUTO_ 
    11 IOIPSL_INCA_OK=_AUTO_ 
    12 #weibull 10m wind parameter / def 4 
    13 kref=_AUTO_: DEFAULT =4 
    148#threshold 10m wind parameter / def 0.78 
    159tref=_AUTO_: DEFAULT =0.78 
    1610#seasalt_correctif / def = 1  
    1711ss_corr=_AUTO_: DEFAULT =1  
    18 #sedimentation  
    19 multilayer_sediment=_AUTO_ 
    2012#coupled model with orchidee 
    2113CoupOrchInca=_AUTO_ 
     14nbveget=15 
    2215#use or not the deposition from orchidee 
    2316DepOrch=n 
     
    3326#choose which time interpolation you want to interpolate sflx file. ( 0 - 1 - 2) (no interpolation / point to point interpolation / Sheng & Zwiers interpolation)  
    3427emi_interp_time=_AUTO_ 
     28#activate the flag cmip_xml if you are running a CMIP experiment 
     29cmip_xml=_AUTO_: DEFAULT =n 
Note: See TracChangeset for help on using the changeset viewer.