Changeset 332 for CONFIG/trunk/LMDZ4OR_v2/CREATE/COMP
- Timestamp:
- 05/28/08 16:23:53 (16 years ago)
- Location:
- CONFIG/trunk/LMDZ4OR_v2/CREATE/COMP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/trunk/LMDZ4OR_v2/CREATE/COMP/lmdz.card
r325 r332 18 18 19 19 [BoundaryFiles] 20 List= 20 List= () 21 21 ListNonDel= () 22 22 … … 28 28 29 29 [RestartFiles] 30 List= (start.nc, start.nc, start.nc), \ 31 (startphy.nc, startphy.nc, startphy.nc), \ 32 (limit.nc, limit.nc, limit.nc) 33 30 List= (NONE) 31 34 32 [OutputText] 35 List= 33 List= () 36 34 37 35 [OutputFiles] 38 List= () 36 List= ( limit.nc, ${R_OUT_ATM_O}/Boundary/${config_UserChoices_JobName}_clim_limit.nc, NONE), \ 37 ( start.nc, ${R_OUT_ATM_O}/Restart/${config_UserChoices_JobName}_clim_start.nc, NONE), \ 38 ( startphy.nc, ${R_OUT_ATM_O}/Restart/${config_UserChoices_JobName}_clim_startphy.nc, NONE) 39 39 40 -
CONFIG/trunk/LMDZ4OR_v2/CREATE/COMP/lmdz.card_AMIP
r197 r332 7 7 8 8 [InitialStateFiles] 9 List= 9 List= () 10 10 11 11 [BoundaryFiles] 12 12 List= (${R_INIT}/ATM/${config_UserChoices_TagName}/Amip6/amipbc_sst_360x180_${year}.nc, amipbc_sst_1x1.nc), \ 13 13 (${R_INIT}/ATM/${config_UserChoices_TagName}/Amip6/amipbc_sic_360x180_${year}.nc, amipbc_sic_1x1.nc) 14 14 15 ListNonDel= (${R_INIT}/ATM/${config_UserChoices_TagName}/Albedo.nc, .), \ 15 16 (${R_INIT}/ATM/${config_UserChoices_TagName}/ECDYN.nc, .), \ … … 26 27 27 28 [RestartFiles] 28 List= (start.nc, start.nc, start.nc), \ 29 (startphy.nc, startphy.nc, startphy.nc), \ 30 (limit.nc, limit.nc, limit.nc) 29 List= (NONE) 31 30 32 31 [OutputText] 33 List= (ftrace.out.1.0)32 List= () 34 33 35 34 [OutputFiles] 36 List= () 35 List= ( limit.nc, ${R_OUT_ATM_O}/Boundary/${config_UserChoices_JobName}_${year}_limit.nc, NONE), \ 36 ( start.nc, ${R_OUT_ATM_O}/Restart/${config_UserChoices_JobName}_${year}_start.nc, NONE), \ 37 ( startphy.nc, ${R_OUT_ATM_O}/Restart/${config_UserChoices_JobName}_${year}_startphy.nc, NONE) 37 38 -
CONFIG/trunk/LMDZ4OR_v2/CREATE/COMP/lmdz.driver
r197 r332 1 1 #!/bin/ksh 2 3 # MPI Variables4 ATM_PARA=05 6 2 #----------------------------------------------------------------- 7 3 function ATM_Initialize … … 10 6 11 7 RESOL_ATM=${RESOL} 12 13 ##--Frequency purpose ....14 ##-- Initialisation ....15 OK_instan=n16 ##--17 OK_journe=n18 OK_mensuel=n19 20 case ${config_UserChoices_PeriodLength} in21 1Y|1y|1M|1m) OK_mensuel=y ;;22 5D|5d|1D|1d) OK_journe=y ;;23 esac24 25 for frequency in ${config_ATM_WriteFrequency} ; do26 case ${frequency} in27 5D|5d|1D|1d) OK_journe=y ;;28 esac29 done30 31 ##--Variables used by LMDZ --32 PAT_INST=$( grep 'OK_instan' ${SUBMIT_DIR}/PARAM/physiq.def )33 PAT_JOUR=$( grep 'OK_journe' ${SUBMIT_DIR}/PARAM/physiq.def )34 PAT_MOIS=$( grep 'OK_mensuel' ${SUBMIT_DIR}/PARAM/physiq.def )35 36 PAT_iphysiq=$( grep 'iphysiq' ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL} )37 PAT_iperiod=$( grep 'iperiod' ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL} | tail -1)38 PAT_day_step=$( grep 'day_step' ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL} )39 PAT_ecritphy=$( grep 'ecritphy' ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL} )40 41 ##-- This could be define in lmdz.card, inside section [UserChoices]42 ##-- Otherwise we get the value in *.def43 iperiod=$(grep iperiod ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL} | awk -F= '{print $2}' | tail -1)44 iphysiq=$(grep iphysiq ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL} | awk -F= '{print $2}')45 # day_step : number of steps per day (multiple of iperiod)46 (( day_step = 48 * iphysiq ))47 8 48 9 IGCM_debug_PopStack "ATM_Initialize" … … 54 15 IGCM_debug_PushStack "ATM_Update" 55 16 56 ecritphy=${PeriodLengthInDays}57 58 17 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 59 18 if [ ${CumulPeriod} -eq 1 ] ; then … … 62 21 RAZ_DATE=0 63 22 fi 64 65 ## Mise en forme du fichier physiq.def66 sed -e "s/OK_instan=.*/OK_instan=${OK_instan}/" \67 -e "s/OK_journe=.*/OK_journe=${OK_journe}/" \68 -e "s/OK_mensuel=.*/OK_mensuel=${OK_mensuel}/" \69 physiq.def > physiq.def.tmp70 IGCM_sys_Mv physiq.def.tmp physiq.def71 72 ## Mise en forme du fichier gcm.def73 sed -e "s/${PAT_ecritphy}/ecritphy=${ecritphy}/" \74 -e "s/${PAT_day_step}/day_step=${day_step}/" \75 -e "s/${PAT_iperiod}/iperiod=${iperiod}/" \76 -e "s/${PAT_iphysiq}/iphysiq=${iphysiq}/" \77 gcm.def > gcm.def.tmp78 IGCM_sys_Mv gcm.def.tmp gcm.def79 23 80 24 ## Mise en forme du fichier run.def
Note: See TracChangeset
for help on using the changeset viewer.