Changeset 3969 for CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/oasis.driver
- Timestamp:
- 07/11/18 10:32:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/oasis.driver
r3121 r3969 25 25 esac 26 26 done 27 28 # Initialisation required for AddNoise done during one Period 29 Test_AddNoise_First_Only=y 27 30 28 31 IGCM_debug_PopStack "CPL_Initialize" … … 99 102 IGCM_comp_modifyXmlFile force iodef.xml using_oasis NONE true 100 103 104 if [ X"${Test_AddNoise_First_Only}" = X"y" ]; then 105 106 Test_AddNoise_First_Only=n 107 108 # AddNoise if required but only for one Period 109 110 # Read ByPass_addnoise_sst option in oasis.card --> apply addnoise for sst in CPL restart file if [ $ByPass_addnoise_sst = y ] 111 ByPass_addnoise_sst=${oasis_UserChoices_ByPass_addnoise_sst} 112 if [ X"${ByPass_addnoise_sst}" = X"y" ] ; then 113 114 ByPass_PerturbExe=${oasis_UserChoices_ByPass_PerturbExe} 115 ByPass_FileOut=${oasis_UserChoices_ByPass_FileOut} 116 ByPass_PerturbVar=${oasis_UserChoices_ByPass_PerturbVar} 117 ByPass_PerturbAmp=${oasis_UserChoices_ByPass_PerturbAmp} 118 119 IGCM_sys_Chmod 644 ${RUN_DIR}/${ByPass_FileOut}.nc 120 IGCM_debug_Print 1 "${ByPass_PerturbExe} ${RUN_DIR}/${ByPass_FileOut}.nc ${ByPass_PerturbVar} ${ByPass_PerturbAmp}" 121 122 ${ByPass_PerturbExe} ${RUN_DIR}/${ByPass_FileOut}.nc ${ByPass_PerturbVar} ${ByPass_PerturbAmp} 123 if [ $? -ne 0 ] ; then 124 IGCM_debug_Exit "Error with $( basename ${ByPass_PerturbExe} )" 125 IGCM_debug_Verif_Exit 126 fi 127 128 echo 129 IGCM_debug_Print 1 "ByPass_addnoise_sst : applied addnoise for sst in CPL restart file" 130 echo 131 ByPass_addnoise_sst=n 132 # necessary to reset ByPass in next Period during the same Job (PeriodNb<>1) 133 export oasis_UserChoicesByPass_addnoise_sst=n 134 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/oasis.card UserChoices ByPass_addnoise_sst "${ByPass_addnoise_sst}" 135 fi 136 137 fi 138 101 139 IGCM_debug_PopStack "CPL_Update" 102 140 }
Note: See TracChangeset
for help on using the changeset viewer.