Changeset 2706
- Timestamp:
- 01/20/16 19:33:46 (9 years ago)
- Location:
- CONFIG/UNIFORM/v6/NEMO_v6
- Files:
-
- 13 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/clim/COMP/pisces.card
r2647 r2706 3 3 4 4 [UserChoices] 5 Offline_Mode=n 5 6 6 7 [InitialStateFiles] -
CONFIG/UNIFORM/v6/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/ia/COMP/pisces.card
r2657 r2706 3 3 4 4 [UserChoices] 5 Offline_Mode=n 5 6 6 7 [InitialStateFiles] -
CONFIG/UNIFORM/v6/NEMO_v6/EXPERIMENTS/ORCA2_LIM2_PISCES/clim/COMP/lim2.card
r2656 r2706 16 16 17 17 [RestartFiles] 18 List= (${config_UserChoices_JobName}_${NEMO_END}_restart_ice.nc, restart_icemod.nc, restart_ice .nc)18 List= (${config_UserChoices_JobName}_${NEMO_END}_restart_ice.nc, restart_icemod.nc, restart_ice_in.nc) 19 19 20 20 [OutputText] -
CONFIG/UNIFORM/v6/NEMO_v6/EXPERIMENTS/ORCA2_LIM2_PISCES/clim/COMP/pisces.card
r2647 r2706 3 3 4 4 [UserChoices] 5 Offline_Mode=n 5 6 6 7 [InitialStateFiles] -
CONFIG/UNIFORM/v6/NEMO_v6/EXPERIMENTS/ORCA2_LIM3_PISCES/clim/COMP/pisces.card
r2647 r2706 3 3 4 4 [UserChoices] 5 Offline_Mode=n 5 6 6 7 [InitialStateFiles] -
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/pisces.driver
r2639 r2706 5 5 { 6 6 IGCM_debug_PushStack "MBG_Initialize" 7 8 # Local function to find namelists parameters 9 supergrep () { 10 grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 11 } 12 13 if [ X"${pisces_UserChoices_Offline_Mode}" = X"y" ] ; then 14 RESOL_OCE=$( echo ${config_UserChoices_ExperimentName} | cut -c1-5 ) 15 EXPTYPE=$( echo ${config_UserChoices_ExperimentName} | cut -c6- ) 16 OPA_RDT=$( supergrep rn_rdt ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}${EXPTYPE}_offline_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' ) 17 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 18 # /!\ Needed by OPA namelist to compute file names /!\ 19 (( DaysSinceJC = $( IGCM_date_DaysSinceJC ${DateBegin} ) + 1 )) 20 21 (( OPA_NDT_DAY = 86400 / OPA_RDT )) 22 fi 23 7 24 IGCM_debug_PopStack "MBG_Initialize" 8 25 } … … 38 55 done 39 56 57 if [ X"${pisces_UserChoices_Offline_Mode}" = X"y" ] ; then 58 59 60 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 61 # Needed by OPA namelist to compute correct file names 62 (( PeriodDaysSinceJC = $( IGCM_date_DaysSinceJC ${PeriodDateBegin} ) + 1 )) 63 64 ## Count of number of time steps from begin of OPA job 65 (( OPA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NDT_DAY + 1 )) 66 (( OPA_NDT = PeriodLengthInDays * OPA_NDT_DAY )) 67 (( OPA_NITEND = OPA_NIT000 + OPA_NDT - 1)) 68 69 ## Forcing to write one restart file at the end of period 70 OPA_NSTOCK="${OPA_NITEND}" 71 72 ## Verification of number of time steps per day 73 (( NB_SEC_DAY_MODEL = OPA_NDT_DAY * OPA_RDT )) 74 (( NB_SEC_DAY = 60 * 60 * 24 )) 75 76 if [ ${NB_SEC_DAY_MODEL} -ne ${NB_SEC_DAY} ] ; then 77 echo " NB_SEC_DAY_MODEL "${NB_SEC_DAY_MODEL} "NB_SEC_DAY" ${NB_SEC_DAY} "OPA_NDT_DAY" ${OPA_NDT_DAY} "OPA_RDT" ${OPA_RDT} 78 echo " VERIFY OPA_NDT_DAY in opa9.card " 79 exit 80 fi 81 82 # nleapy configuration 83 case ${config_UserChoices_CalendarType} in 84 leap) 85 OPA_NLEAPY=1;; 86 noleap) 87 OPA_NLEAPY=0;; 88 360d) 89 OPA_NLEAPY=30;; 90 esac 91 92 typeset -r PRECIS=8 93 NEMO_END=$( echo $( awk "BEGIN { printf \"%0${PRECIS}d\",${OPA_NITEND} }" ) ) 94 fi 95 40 96 ##-- Restart configuration 41 97 if ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "n" ] ) ; then … … 60 116 61 117 # on force les sorties PISCES comme les sorties OPA 118 if [ X"${pisces_UserChoices_Offline_Mode}" = X"y" ] ; then 119 IGCM_comp_modifyNamelist blocker namelist_cfg cn_exp ${config_UserChoices_JobName} 120 IGCM_comp_modifyNamelist blocker namelist_cfg nn_it000 ${OPA_NIT000} 121 IGCM_comp_modifyNamelist blocker namelist_cfg nn_itend ${OPA_NITEND} 122 IGCM_comp_modifyNamelist blocker namelist_cfg nn_stock ${OPA_NSTOCK} 123 IGCM_comp_modifyNamelist blocker namelist_cfg nn_date0 ${PeriodDateBegin} 124 IGCM_comp_modifyNamelist blocker namelist_cfg nn_leapy ${OPA_NLEAPY} 125 fi 62 126 63 127 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_rsttr ${TOP_LRSTTR} 64 128 IGCM_comp_modifyNamelist blocker namelist_top_cfg nn_rsttr ${TOP_NRSTTR} 129 130 # update domain_def.xml file 131 if [ X"${pisces_UserChoices_Offline_Mode}" = X"y" ] ; then 132 case ${RESOL_OCE} in 133 ( *ORCA2* ) 134 sed -e 's/<domain id="1point" zoom_ibegin="150" zoom_jbegin="150"/<domain id="1point" zoom_ibegin="10" zoom_jbegin="10"/' domain_def.xml > domain_def.xml.tmp 135 IGCM_sys_Mv domain_def.xml.tmp domain_def.xml ; 136 esac 137 fi 65 138 66 139 IGCM_debug_PopStack "MBG_Update" -
CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/PARAM/namelist_top_ORCA2_cfg
r2647 r2706 58 58 rn_trfac(5) = 122.0e-06 ! - - - - 59 59 rn_trfac(7) = 1.0e-06 ! - - - - 60 rn_trfac(10) = 1.0 61 rn_trfac(14) = 1.0 60 rn_trfac(10) = 1.0e-06 ! - - - - 61 rn_trfac(14) = 1.0E-06 ! - - - - 62 62 rn_trfac(23) = 7.6e-06 ! - - - - 63 63 /
Note: See TracChangeset
for help on using the changeset viewer.