Changeset 2861 for CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
- Timestamp:
- 05/20/16 10:10:59 (8 years ago)
- Location:
- CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/oasis.driver
r2540 r2861 67 67 (( LagAtm = 86400 / day_step * iphysiq / nsplit_phys )) 68 68 69 (( LagOce = 86400 / OPA_NPDT_ JOUR))69 (( LagOce = 86400 / OPA_NPDT_DAY )) 70 70 71 IGCM_debug_Print 1 "OPA_NPDT_ JOUR : ${OPA_NPDT_JOUR}"71 IGCM_debug_Print 1 "OPA_NPDT_DAY : ${OPA_NPDT_DAY}" 72 72 IGCM_debug_Print 1 "LagAtm : ${LagAtm}" 73 73 IGCM_debug_Print 1 "LagOce : ${LagOce}" -
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver
r2833 r2861 37 37 # OPA_RDT=$( supergrep rn_rdt namelist_cfg ) 38 38 # OPA_NN_FSBC=$( supergrep nn_fsbc namelist_cfg ) 39 (( OPA_NPDT_JOUR = 86400 / OPA_RDT )) 39 (( OPA_NPDT_DAY = 86400 / OPA_RDT )) 40 (( OPA_NPDT_YEAR = OPA_NPDT_DAY * 365 )) 40 41 (( OPA_RDT_SBC = OPA_RDT * OPA_NN_FSBC )) 41 42 … … 48 49 IGCM_debug_Print 1 "OPA_NN_FSBC ${OPA_NN_FSBC}" 49 50 IGCM_debug_Print 1 "OPA_RDT_SBC ${OPA_RDT_SBC}" 50 IGCM_debug_Print 1 "OPA_NPDT_JOUR ${OPA_NPDT_JOUR}" 51 IGCM_debug_Print 1 "OPA_NPDT_DAY ${OPA_NPDT_DAY}" 52 IGCM_debug_Print 1 "OPA_NPDT_YEAR ${OPA_NPDT_YEAR}" 51 53 IGCM_debug_Print 1 "DaysSinceJC ${DaysSinceJC}" 52 54 … … 96 98 97 99 ##-- Number of time steps updated : the first, the last and the number of time steps 98 (( OPA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NPDT_ JOUR+ 1 ))99 (( OPA_NPDT = PeriodLengthInDays * OPA_NPDT_ JOUR))100 (( OPA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NPDT_DAY + 1 )) 101 (( OPA_NPDT = PeriodLengthInDays * OPA_NPDT_DAY )) 100 102 (( OPA_NITEND = OPA_NIT000 + OPA_NPDT - 1)) 101 103 -
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/pisces.driver
r2839 r2861 6 6 IGCM_debug_PushStack "MBG_Initialize" 7 7 8 # Local function to find namelists parameters 9 supergrep () { 10 grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 11 } 12 13 # Local function to find parameters in LMDZ .def files 8 # Local function to find parameters in LMDZ .def files 14 9 15 10 lmdzgrep2 () { … … 17 12 } 18 13 14 ##--Variables used by MBG -- 15 16 # ln_rsttr boolean term for tracer model restart (true or false) 17 # nrsttr control of the time step (0, 1 or 2) 18 19 19 IGCM_debug_PopStack "MBG_Initialize" 20 20 } … … 29 29 30 30 #echo "NO RESTART FOR TOP" 31 TOP_L RSTTR=.FALSE.32 TOP_N RSTTR=031 TOP_LN_RSSTR=.FALSE. 32 TOP_NN_RSTR=0 33 33 34 34 elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "y" ] ) ; then 35 35 36 36 #echo "RESTART TOP" 37 TOP_L RSTTR=.TRUE.38 TOP_N RSTTR=037 TOP_LN_RSSTR=.TRUE. 38 TOP_NN_RSTR=0 39 39 40 40 # If we start from IPSLCM5* restart files. … … 46 46 47 47 #echo "RESTART TOP" 48 TOP_L RSTTR=.TRUE.49 TOP_N RSTTR=248 TOP_LN_RSSTR=.TRUE. 49 TOP_NN_RSTR=2 50 50 51 51 fi … … 76 76 IPCC_PIS_CO2=$( echo "${PreviousLinelog[*]}" | gawk -F '|' '{gsub(" ",""); print $4}' ) 77 77 IGCM_debug_Print 1 "IPCC_PIS_CO2 : ${IPCC_PIS_CO2} " 78 IGCM_comp_modifyNamelist nonblocker namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2} 78 IGCM_comp_modifyNamelist force namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2} 79 79 else 80 80 IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." 81 # ATM_Update is done before MBG_Update and therefor config.def file contains the correct value for CO2.81 # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 82 82 IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 83 83 LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 84 84 IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 85 IGCM_comp_modifyNamelist nonblocker namelist_pisces_cfg atcco2 ${LMDZ_CO2} 85 IGCM_comp_modifyNamelist force namelist_pisces_cfg atcco2 ${LMDZ_CO2} 86 86 fi 87 87 … … 90 90 IGCM_comp_modifyNamelist blocker namelist_top_cfg nn_rsttr ${TOP_NRSTTR} 91 91 92 IGCM_debug_PopStack "MBG_Update" 92 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_rsttr ${TOP_LN_RSSTR} 93 IGCM_comp_modifyNamelist blocker namelist_top_cfg nn_rsttr ${TOP_NN_RSTR} 94 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg nn_pisdmp ${OPA_NPDT_YEAR} 95 96 IGCM_debug_PopStack "MBG_Update" 93 97 } 94 98
Note: See TracChangeset
for help on using the changeset viewer.