Changeset 1546 for CONFIG/IPSLCM
- Timestamp:
- 08/24/11 16:42:22 (13 years ago)
- Location:
- CONFIG/IPSLCM/IPSLCM5-2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5-2/Chistorical/COMP/lmdz.driver
r1545 r1546 129 129 ;; 130 130 esac 131 131 132 132 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 133 133 if [ ${CumulPeriod} -eq 1 ] ; then … … 160 160 161 161 ##-- GHG forcing : 162 ## If forcing file exist in run directory, read values for the current year and modify physiq.def162 ## If forcing file exist in run directory, read values for the current year and modify config.def 163 163 if [ -f SOLARANDVOLCANOES.txt ] ; then 164 164 IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 165 LMDZ_sed physiq.def solaire ${IPCC_SOLAR}165 LMDZ_sed config.def solaire ${IPCC_SOLAR} 166 166 fi 167 167 if [ -f CO2.txt ] ; then 168 168 IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 169 LMDZ_sed physiq.def co2_ppm ${IPCC_CO2}169 LMDZ_sed config.def co2_ppm ${IPCC_CO2} 170 170 fi 171 171 if [ -f CH4.txt ] ; then 172 172 IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 173 LMDZ_sed physiq.def CH4_ppb ${IPCC_CH4}173 LMDZ_sed config.def CH4_ppb ${IPCC_CH4} 174 174 fi 175 175 if [ -f N2O.txt ] ; then 176 176 IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 177 LMDZ_sed physiq.def N2O_ppb ${IPCC_N2O}177 LMDZ_sed config.def N2O_ppb ${IPCC_N2O} 178 178 fi 179 179 if [ -f CFC11.txt ] ; then 180 180 IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 181 LMDZ_sed physiq.def CFC11_ppt ${IPCC_CFC11}181 LMDZ_sed config.def CFC11_ppt ${IPCC_CFC11} 182 182 fi 183 183 if [ -f CFC12.txt ] ; then 184 184 IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 185 LMDZ_sed physiq.def CFC12_ppt ${IPCC_CFC12} 186 fi 187 185 LMDZ_sed config.def CFC12_ppt ${IPCC_CFC12} 186 fi 188 187 189 188 # Add special treatement for CARBON CYCLE 190 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then189 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 191 190 192 191 typeset InitPeriodCo2 InitDateBeginCo2 InitDateEndCo2 … … 262 261 263 262 if [ ${lmdz_UserChoices_CARBON_CYCLE} = historical ] ; then 264 # Modify co2_ppm in physiq.def only for historical run265 LMDZ_sed physiq.def co2_ppm ${CO2_ppm}263 # Modify co2_ppm in config.def only for historical run 264 LMDZ_sed config.def co2_ppm ${CO2_ppm} 266 265 fi 267 266 fi … … 276 275 277 276 ## output.def parameters 278 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in physiq.def :277 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def : 279 278 # histmth histday histhf histfh3h histhf3hm histstn 280 LMDZ_sed output.def phys_out_filekeys ${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}279 LMDZ_sed output.def phys_out_filekeys "${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}" 281 280 LMDZ_sed output.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 282 281 LMDZ_sed output.def ok_cosp ${LMDZ_COSP_OK} … … 335 334 if [ ${DRYRUN} -le 2 ] ; then 336 335 ##-- suppression of ozone file construction -- 337 cp physiq.def physiq.def.save338 LMDZ_sed physiq.def read_climoz 0336 cp config.def config.def.save 337 LMDZ_sed config.def read_climoz 0 339 338 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 340 339 if [ ${DRYRUN} -le 1 ] ; then … … 343 342 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 344 343 fi 345 IGCM_sys_Mv physiq.def.save physiq.def344 IGCM_sys_Mv config.def.save config.def 346 345 else 347 346 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" … … 364 363 365 364 # Add special treatement for CARBON CYCLE 366 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then365 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 367 366 typeset CO2SBG_3V CO2SBG CO2MBG CO2SRF CO2LU CO2_ppm CO2_ppm_prec fCO2_ff 368 367 -
CONFIG/IPSLCM/IPSLCM5-2/CpiControl/COMP/lmdz.driver
r1545 r1546 129 129 ;; 130 130 esac 131 131 132 132 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 133 133 if [ ${CumulPeriod} -eq 1 ] ; then … … 160 160 161 161 ##-- GHG forcing : 162 ## If forcing file exist in run directory, read values for the current year and modify physiq.def162 ## If forcing file exist in run directory, read values for the current year and modify config.def 163 163 if [ -f SOLARANDVOLCANOES.txt ] ; then 164 164 IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 165 LMDZ_sed physiq.def solaire ${IPCC_SOLAR}165 LMDZ_sed config.def solaire ${IPCC_SOLAR} 166 166 fi 167 167 if [ -f CO2.txt ] ; then 168 168 IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 169 LMDZ_sed physiq.def co2_ppm ${IPCC_CO2}169 LMDZ_sed config.def co2_ppm ${IPCC_CO2} 170 170 fi 171 171 if [ -f CH4.txt ] ; then 172 172 IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 173 LMDZ_sed physiq.def CH4_ppb ${IPCC_CH4}173 LMDZ_sed config.def CH4_ppb ${IPCC_CH4} 174 174 fi 175 175 if [ -f N2O.txt ] ; then 176 176 IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 177 LMDZ_sed physiq.def N2O_ppb ${IPCC_N2O}177 LMDZ_sed config.def N2O_ppb ${IPCC_N2O} 178 178 fi 179 179 if [ -f CFC11.txt ] ; then 180 180 IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 181 LMDZ_sed physiq.def CFC11_ppt ${IPCC_CFC11}181 LMDZ_sed config.def CFC11_ppt ${IPCC_CFC11} 182 182 fi 183 183 if [ -f CFC12.txt ] ; then 184 184 IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 185 LMDZ_sed physiq.def CFC12_ppt ${IPCC_CFC12} 186 fi 187 185 LMDZ_sed config.def CFC12_ppt ${IPCC_CFC12} 186 fi 188 187 189 188 # Add special treatement for CARBON CYCLE 190 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then189 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 191 190 192 191 typeset InitPeriodCo2 InitDateBeginCo2 InitDateEndCo2 … … 262 261 263 262 if [ ${lmdz_UserChoices_CARBON_CYCLE} = historical ] ; then 264 # Modify co2_ppm in physiq.def only for historical run265 LMDZ_sed physiq.def co2_ppm ${CO2_ppm}263 # Modify co2_ppm in config.def only for historical run 264 LMDZ_sed config.def co2_ppm ${CO2_ppm} 266 265 fi 267 266 fi … … 276 275 277 276 ## output.def parameters 278 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in physiq.def :277 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def : 279 278 # histmth histday histhf histfh3h histhf3hm histstn 280 LMDZ_sed output.def phys_out_filekeys ${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}279 LMDZ_sed output.def phys_out_filekeys "${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}" 281 280 LMDZ_sed output.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 282 281 LMDZ_sed output.def ok_cosp ${LMDZ_COSP_OK} … … 335 334 if [ ${DRYRUN} -le 2 ] ; then 336 335 ##-- suppression of ozone file construction -- 337 cp physiq.def physiq.def.save338 LMDZ_sed physiq.def read_climoz 0336 cp config.def config.def.save 337 LMDZ_sed config.def read_climoz 0 339 338 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 340 339 if [ ${DRYRUN} -le 1 ] ; then … … 343 342 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 344 343 fi 345 IGCM_sys_Mv physiq.def.save physiq.def344 IGCM_sys_Mv config.def.save config.def 346 345 else 347 346 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" … … 364 363 365 364 # Add special treatement for CARBON CYCLE 366 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then365 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 367 366 typeset CO2SBG_3V CO2SBG CO2MBG CO2SRF CO2LU CO2_ppm CO2_ppm_prec fCO2_ff 368 367 -
CONFIG/IPSLCM/IPSLCM5-2/EXP00/COMP/lmdz.driver
r1544 r1546 129 129 ;; 130 130 esac 131 131 132 132 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 133 133 if [ ${CumulPeriod} -eq 1 ] ; then … … 160 160 161 161 ##-- GHG forcing : 162 ## If forcing file exist in run directory, read values for the current year and modify physiq.def162 ## If forcing file exist in run directory, read values for the current year and modify config.def 163 163 if [ -f SOLARANDVOLCANOES.txt ] ; then 164 164 IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 165 LMDZ_sed physiq.def solaire ${IPCC_SOLAR}165 LMDZ_sed config.def solaire ${IPCC_SOLAR} 166 166 fi 167 167 if [ -f CO2.txt ] ; then 168 168 IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 169 LMDZ_sed physiq.def co2_ppm ${IPCC_CO2}169 LMDZ_sed config.def co2_ppm ${IPCC_CO2} 170 170 fi 171 171 if [ -f CH4.txt ] ; then 172 172 IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 173 LMDZ_sed physiq.def CH4_ppb ${IPCC_CH4}173 LMDZ_sed config.def CH4_ppb ${IPCC_CH4} 174 174 fi 175 175 if [ -f N2O.txt ] ; then 176 176 IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 177 LMDZ_sed physiq.def N2O_ppb ${IPCC_N2O}177 LMDZ_sed config.def N2O_ppb ${IPCC_N2O} 178 178 fi 179 179 if [ -f CFC11.txt ] ; then 180 180 IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 181 LMDZ_sed physiq.def CFC11_ppt ${IPCC_CFC11}181 LMDZ_sed config.def CFC11_ppt ${IPCC_CFC11} 182 182 fi 183 183 if [ -f CFC12.txt ] ; then 184 184 IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 185 LMDZ_sed physiq.def CFC12_ppt ${IPCC_CFC12} 186 fi 187 185 LMDZ_sed config.def CFC12_ppt ${IPCC_CFC12} 186 fi 188 187 189 188 # Add special treatement for CARBON CYCLE 190 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then189 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 191 190 192 191 typeset InitPeriodCo2 InitDateBeginCo2 InitDateEndCo2 … … 262 261 263 262 if [ ${lmdz_UserChoices_CARBON_CYCLE} = historical ] ; then 264 # Modify co2_ppm in physiq.def only for historical run265 LMDZ_sed physiq.def co2_ppm ${CO2_ppm}263 # Modify co2_ppm in config.def only for historical run 264 LMDZ_sed config.def co2_ppm ${CO2_ppm} 266 265 fi 267 266 fi … … 276 275 277 276 ## output.def parameters 278 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in physiq.def :277 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def : 279 278 # histmth histday histhf histfh3h histhf3hm histstn 280 LMDZ_sed output.def phys_out_filekeys ${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}279 LMDZ_sed output.def phys_out_filekeys "${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}" 281 280 LMDZ_sed output.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 282 281 LMDZ_sed output.def ok_cosp ${LMDZ_COSP_OK} … … 335 334 if [ ${DRYRUN} -le 2 ] ; then 336 335 ##-- suppression of ozone file construction -- 337 cp physiq.def physiq.def.save338 LMDZ_sed physiq.def read_climoz 0336 cp config.def config.def.save 337 LMDZ_sed config.def read_climoz 0 339 338 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 340 339 if [ ${DRYRUN} -le 1 ] ; then … … 343 342 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 344 343 fi 345 IGCM_sys_Mv physiq.def.save physiq.def344 IGCM_sys_Mv config.def.save config.def 346 345 else 347 346 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" … … 364 363 365 364 # Add special treatement for CARBON CYCLE 366 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then365 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 367 366 typeset CO2SBG_3V CO2SBG CO2MBG CO2SRF CO2LU CO2_ppm CO2_ppm_prec fCO2_ff 368 367 -
CONFIG/IPSLCM/IPSLCM5-2/historical/COMP/lmdz.driver
r1545 r1546 129 129 ;; 130 130 esac 131 131 132 132 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 133 133 if [ ${CumulPeriod} -eq 1 ] ; then … … 160 160 161 161 ##-- GHG forcing : 162 ## If forcing file exist in run directory, read values for the current year and modify physiq.def162 ## If forcing file exist in run directory, read values for the current year and modify config.def 163 163 if [ -f SOLARANDVOLCANOES.txt ] ; then 164 164 IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 165 LMDZ_sed physiq.def solaire ${IPCC_SOLAR}165 LMDZ_sed config.def solaire ${IPCC_SOLAR} 166 166 fi 167 167 if [ -f CO2.txt ] ; then 168 168 IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 169 LMDZ_sed physiq.def co2_ppm ${IPCC_CO2}169 LMDZ_sed config.def co2_ppm ${IPCC_CO2} 170 170 fi 171 171 if [ -f CH4.txt ] ; then 172 172 IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 173 LMDZ_sed physiq.def CH4_ppb ${IPCC_CH4}173 LMDZ_sed config.def CH4_ppb ${IPCC_CH4} 174 174 fi 175 175 if [ -f N2O.txt ] ; then 176 176 IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 177 LMDZ_sed physiq.def N2O_ppb ${IPCC_N2O}177 LMDZ_sed config.def N2O_ppb ${IPCC_N2O} 178 178 fi 179 179 if [ -f CFC11.txt ] ; then 180 180 IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 181 LMDZ_sed physiq.def CFC11_ppt ${IPCC_CFC11}181 LMDZ_sed config.def CFC11_ppt ${IPCC_CFC11} 182 182 fi 183 183 if [ -f CFC12.txt ] ; then 184 184 IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 185 LMDZ_sed physiq.def CFC12_ppt ${IPCC_CFC12} 186 fi 187 185 LMDZ_sed config.def CFC12_ppt ${IPCC_CFC12} 186 fi 188 187 189 188 # Add special treatement for CARBON CYCLE 190 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then189 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 191 190 192 191 typeset InitPeriodCo2 InitDateBeginCo2 InitDateEndCo2 … … 262 261 263 262 if [ ${lmdz_UserChoices_CARBON_CYCLE} = historical ] ; then 264 # Modify co2_ppm in physiq.def only for historical run265 LMDZ_sed physiq.def co2_ppm ${CO2_ppm}263 # Modify co2_ppm in config.def only for historical run 264 LMDZ_sed config.def co2_ppm ${CO2_ppm} 266 265 fi 267 266 fi … … 276 275 277 276 ## output.def parameters 278 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in physiq.def :277 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def : 279 278 # histmth histday histhf histfh3h histhf3hm histstn 280 LMDZ_sed output.def phys_out_filekeys ${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}279 LMDZ_sed output.def phys_out_filekeys "${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}" 281 280 LMDZ_sed output.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 282 281 LMDZ_sed output.def ok_cosp ${LMDZ_COSP_OK} … … 335 334 if [ ${DRYRUN} -le 2 ] ; then 336 335 ##-- suppression of ozone file construction -- 337 cp physiq.def physiq.def.save338 LMDZ_sed physiq.def read_climoz 0336 cp config.def config.def.save 337 LMDZ_sed config.def read_climoz 0 339 338 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 340 339 if [ ${DRYRUN} -le 1 ] ; then … … 343 342 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 344 343 fi 345 IGCM_sys_Mv physiq.def.save physiq.def344 IGCM_sys_Mv config.def.save config.def 346 345 else 347 346 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" … … 364 363 365 364 # Add special treatement for CARBON CYCLE 366 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then365 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 367 366 typeset CO2SBG_3V CO2SBG CO2MBG CO2SRF CO2LU CO2_ppm CO2_ppm_prec fCO2_ff 368 367 -
CONFIG/IPSLCM/IPSLCM5-2/piControl/COMP/lmdz.driver
r1545 r1546 129 129 ;; 130 130 esac 131 131 132 132 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 133 133 if [ ${CumulPeriod} -eq 1 ] ; then … … 160 160 161 161 ##-- GHG forcing : 162 ## If forcing file exist in run directory, read values for the current year and modify physiq.def162 ## If forcing file exist in run directory, read values for the current year and modify config.def 163 163 if [ -f SOLARANDVOLCANOES.txt ] ; then 164 164 IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 165 LMDZ_sed physiq.def solaire ${IPCC_SOLAR}165 LMDZ_sed config.def solaire ${IPCC_SOLAR} 166 166 fi 167 167 if [ -f CO2.txt ] ; then 168 168 IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 169 LMDZ_sed physiq.def co2_ppm ${IPCC_CO2}169 LMDZ_sed config.def co2_ppm ${IPCC_CO2} 170 170 fi 171 171 if [ -f CH4.txt ] ; then 172 172 IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 173 LMDZ_sed physiq.def CH4_ppb ${IPCC_CH4}173 LMDZ_sed config.def CH4_ppb ${IPCC_CH4} 174 174 fi 175 175 if [ -f N2O.txt ] ; then 176 176 IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 177 LMDZ_sed physiq.def N2O_ppb ${IPCC_N2O}177 LMDZ_sed config.def N2O_ppb ${IPCC_N2O} 178 178 fi 179 179 if [ -f CFC11.txt ] ; then 180 180 IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 181 LMDZ_sed physiq.def CFC11_ppt ${IPCC_CFC11}181 LMDZ_sed config.def CFC11_ppt ${IPCC_CFC11} 182 182 fi 183 183 if [ -f CFC12.txt ] ; then 184 184 IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 185 LMDZ_sed physiq.def CFC12_ppt ${IPCC_CFC12} 186 fi 187 185 LMDZ_sed config.def CFC12_ppt ${IPCC_CFC12} 186 fi 188 187 189 188 # Add special treatement for CARBON CYCLE 190 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then189 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 191 190 192 191 typeset InitPeriodCo2 InitDateBeginCo2 InitDateEndCo2 … … 262 261 263 262 if [ ${lmdz_UserChoices_CARBON_CYCLE} = historical ] ; then 264 # Modify co2_ppm in physiq.def only for historical run265 LMDZ_sed physiq.def co2_ppm ${CO2_ppm}263 # Modify co2_ppm in config.def only for historical run 264 LMDZ_sed config.def co2_ppm ${CO2_ppm} 266 265 fi 267 266 fi … … 276 275 277 276 ## output.def parameters 278 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in physiq.def :277 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def : 279 278 # histmth histday histhf histfh3h histhf3hm histstn 280 LMDZ_sed output.def phys_out_filekeys ${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}279 LMDZ_sed output.def phys_out_filekeys "${ok_mensuel} ${ok_journe} ${ok_hf} ${ok_hf3h} ${ok_hf3hm} ${ok_stn}" 281 280 LMDZ_sed output.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 282 281 LMDZ_sed output.def ok_cosp ${LMDZ_COSP_OK} … … 335 334 if [ ${DRYRUN} -le 2 ] ; then 336 335 ##-- suppression of ozone file construction -- 337 cp physiq.def physiq.def.save338 LMDZ_sed physiq.def read_climoz 0336 cp config.def config.def.save 337 LMDZ_sed config.def read_climoz 0 339 338 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 340 339 if [ ${DRYRUN} -le 1 ] ; then … … 343 342 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 344 343 fi 345 IGCM_sys_Mv physiq.def.save physiq.def344 IGCM_sys_Mv config.def.save config.def 346 345 else 347 346 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" … … 364 363 365 364 # Add special treatement for CARBON CYCLE 366 if [ ${lmdz_UserChoices_CARBON_CYCLE} = control ] || [ ${lmdz_UserChoices_CARBON_CYCLE} = historical] ; then365 if [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"control" ] || [ X"${lmdz_UserChoices_CARBON_CYCLE}" = X"historical" ] ; then 367 366 typeset CO2SBG_3V CO2SBG CO2MBG CO2SRF CO2LU CO2_ppm CO2_ppm_prec fCO2_ff 368 367
Note: See TracChangeset
for help on using the changeset viewer.