Ignore:
Timestamp:
10/23/23 15:18:20 (9 months ago)
Author:
cetlod
Message:

CM7_work : finalisation, update drivers and monitoring files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/oasis.driver

    r5479 r6662  
    1313 
    1414    #RESOL_CPL=$( echo $RESOL | awk "-F-" '{print $1}' ) 
    15     RESOL_CPL=${RESOL_OCE}xICO${RESOL_NBP} 
     15    if [ X${config_ListOfComponents_ICO} = X ] ; then 
     16       RESOL_CPL=${RESOL_OCE}x${RESOL_ATM} 
     17    else 
     18       RESOL_CPL=${RESOL_OCE}xICO${RESOL_NBP} 
     19    fi 
    1620    IGCM_debug_Print 1 "RESOL_CPL      : ${RESOL_CPL}" 
    1721 
     
    5963    ## LagAtm="1day in sec"/day_step * iphysiq/nsplit_phys 
    6064    ## First get day_step, iphyisq and nsplit_phys from LMDZ parameter files 
    61     step=$(    lmdzgrep dt run_dynamico.def ) 
    62     iphysiq=$(     lmdzgrep itau_physics run_dynamico.def ) 
    63     nsplit_phys=$( lmdzgrep nsplit_phys physiq.def ) 
     65    if [ X${config_ListOfComponents_ICO} = X ] ; then 
     66       day_step=$(    lmdzgrep day_step gcm.def ) 
     67       iphysiq=$(     lmdzgrep iphysiq gcm.def ) 
     68       nsplit_phys=$( lmdzgrep nsplit_phys physiq.def ) 
    6469 
    65     IGCM_debug_Print 3 "Parametre de calcul Lag LMDZ recuperes " ${step} ${iphysiq} ${nsplit_phys} 
     70       IGCM_debug_Print 3 "Parametre de calcul Lag LMDZ recuperes " ${day_step} ${iphysiq} ${nsplit_phys} 
     71       [[ ${nsplit_phys} -eq 0 || "X${nsplit_phys}" = "X" ]] && nsplit_phys=1 
     72       IGCM_debug_Print 3 "Parametre de calcul Lag LMDZ mis a jour " ${day_step} ${iphysiq} ${nsplit_phys} 
    6673 
    67     [[ ${nsplit_phys} -eq 0 || "X${nsplit_phys}" = "X" ]] && nsplit_phys=1 
     74       (( LagAtm = 86400 * iphysiq / day_step / nsplit_phys )) 
     75       (( LagAtmRoffCalv = $FreqCoupling + $LagAtm )) 
     76       (( LagOce = 86400 / OPA_NPDT_DAY )) 
    6877 
    69     IGCM_debug_Print 3 "Parametre de calcul Lag LMDZ mis a jour " ${step} ${iphysiq} ${nsplit_phys} 
     78    else 
     79       step=$(    lmdzgrep dt run_dynamico.def ) 
     80       iphysiq=$(     lmdzgrep itau_physics run_dynamico.def ) 
     81       nsplit_phys=$( lmdzgrep nsplit_phys physiq.def ) 
     82 
     83       IGCM_debug_Print 3 "Parametre de calcul Lag LMDZ recuperes " ${step} ${iphysiq} ${nsplit_phys} 
     84       [[ ${nsplit_phys} -eq 0 || "X${nsplit_phys}" = "X" ]] && nsplit_phys=1 
     85       IGCM_debug_Print 3 "Parametre de calcul Lag LMDZ mis a jour " ${step} ${iphysiq} ${nsplit_phys} 
     86 
     87       (( LagAtm = step * iphysiq / nsplit_phys )) 
     88       (( LagAtmRoffCalv = $FreqCoupling + $LagAtm )) 
     89       (( LagOce = 86400 / OPA_NPDT_DAY )) 
     90    fi 
     91 
    7092                                                               
    71     (( LagAtm = step * iphysiq / nsplit_phys )) 
    72     (( LagAtmRoffCalv = $FreqCoupling + $LagAtm )) 
    73     (( LagOce = 86400 / OPA_NPDT_DAY )) 
    7493 
    7594    IGCM_debug_Print 1 "OPA_NPDT_DAY : ${OPA_NPDT_DAY}" 
     
    101120    # For use of XIOS 
    102121    IGCM_comp_modifyXmlFile force iodef.xml using_oasis NONE true 
     122    if [ ! "X${config_ListOfComponents_ICO}" = "X" ] ; then 
     123       IGCM_comp_modifyXmlFile force iodef.xml oasis_codes_id NONE icosa,oceanx 
     124    fi 
    103125 
    104126    if [ X"${Test_AddNoise_First_Only}" = X"y" ]; then 
Note: See TracChangeset for help on using the changeset viewer.