Changeset 6662 for CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/oasis.driver
- Timestamp:
- 10/23/23 15:18:20 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/oasis.driver
r5479 r6662 13 13 14 14 #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 16 20 IGCM_debug_Print 1 "RESOL_CPL : ${RESOL_CPL}" 17 21 … … 59 63 ## LagAtm="1day in sec"/day_step * iphysiq/nsplit_phys 60 64 ## 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 ) 64 69 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} 66 73 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 )) 68 77 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 70 92 71 (( LagAtm = step * iphysiq / nsplit_phys ))72 (( LagAtmRoffCalv = $FreqCoupling + $LagAtm ))73 (( LagOce = 86400 / OPA_NPDT_DAY ))74 93 75 94 IGCM_debug_Print 1 "OPA_NPDT_DAY : ${OPA_NPDT_DAY}" … … 101 120 # For use of XIOS 102 121 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 103 125 104 126 if [ X"${Test_AddNoise_First_Only}" = X"y" ]; then
Note: See TracChangeset
for help on using the changeset viewer.