Changeset 4281 for CONFIG/UNIFORM
- Timestamp:
- 02/14/19 15:35:36 (5 years ago)
- Location:
- CONFIG/UNIFORM/v7/ICOLMDZOR_v7
- Files:
-
- 1 deleted
- 6 edited
- 9 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZ/clim_noleap/COMP/dynamico.card
r4280 r4281 4 4 [UserChoices] 5 5 RESOL_NBP=40 6 RESOL_ LLM=796 RESOL_ATM_Z=79 7 7 Aquaplanet = n 8 9 # LMDZ_Physics=NPv6.1b is very close to NPv6.1 used for CMIP6 but for use in bucket mode (without ORCHIDEE) and therefor ifl_pbltree=010 LMDZ_Physics=NPv6.1b11 12 # Specify output files to activate for LMDZ13 output_histmth_lmdz=TRUE14 output_histday_lmdz=TRUE15 output_histhf_lmdz=FALSE16 output_histmthNMC_lmdz=FALSE17 output_histdayNMC_lmdz=FALSE18 output_histhfNMC_lmdz=FALSE19 output_histstn_lmdz=FALSE20 output_histstrataer_lmdz=FALSE21 8 22 9 … … 29 16 List=() 30 17 ListNonDel= (${R_IN}/ATM/START/dynamico_lmdz_nbp${RESOL_NBP}/limit_365d_nbp${RESOL_NBP}_v0.nc, limit.nc),\ 31 (${R_IN}/ATM/OZONE/UReading/historical.v20160711.v2/interpol/nbp${RESOL_NBP}/climoz_LMDZ_2000_v0.nc, climoz_LMDZ.nc),\ 32 (${R_IN}/ATM/SOLAR/CMIP6/v3.1corr/Control/solarforcing_v3.1_pdControl_ave_6bands_365days.nc, solarforcing.nc) 18 (${R_IN}/ATM/OZONE/UReading/historical.v20160711.v2/interpol/nbp${RESOL_NBP}/climoz_LMDZ_2000_v0.nc, climoz_LMDZ.nc) 33 19 34 20 [SmoothFiles] … … 37 23 [ParametersFiles] 38 24 List= \ 39 (${SUBMIT_DIR}/PARAM/config.def_actuel, config.def),\40 25 (${SUBMIT_DIR}/PARAM/earth_const.def, .),\ 41 (${SUBMIT_DIR}/PARAM/physiq.def_${LMDZ_Physics}, physiq.def),\42 (${SUBMIT_DIR}/PARAM/run.def, .),\43 26 (${SUBMIT_DIR}/PARAM/run_icosa.def, .),\ 44 (${SUBMIT_DIR}/PARAM/traceur.def, .),\45 (${SUBMIT_DIR}/PARAM/vert.def_L${RESOL_LLM}, vert.def),\46 27 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 47 28 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 48 29 (${MODIPSL}/modeles/DYNAMICO/xml/field_def_dynamico.xml, .),\ 49 (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .),\ 50 (${MODIPSL}/modeles/LMDZ/DefLists/context_lmdz.xml, .),\ 51 (${MODIPSL}/modeles/LMDZ/DefLists/field_def_lmdz.xml, .),\ 52 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histLES_lmdz.xml, .),\ 53 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayCOSP_lmdz.xml, .),\ 54 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayNMC_lmdz.xml, .),\ 55 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histday_lmdz.xml, .),\ 56 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhfCOSP_lmdz.xml, .),\ 57 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhfNMC_lmdz.xml, .),\ 58 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histhf_lmdz.xml, .),\ 59 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histins_lmdz.xml, .),\ 60 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthCOSP_lmdz.xml, .),\ 61 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthNMC_lmdz.xml, .),\ 62 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmth_lmdz.xml, .),\ 63 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histstn_lmdz.xml, .),\ 64 (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histstrataer_lmdz.xml, .) 30 (${MODIPSL}/modeles/DYNAMICO/xml/file_def_dynamico.xml, .) 65 31 66 32 67 33 [RestartFiles] 68 List= (restart.nc, restart.nc, start.nc),\ 69 (restartphy.nc, restartphy.nc, startphy.nc) 34 List= (restart.nc, restart.nc, start.nc) 70 35 71 36 [OutputText] 72 List= ( config.def, earth_const.def, physiq.def, run.def, run_icosa.def, start.def, traceur.def, vert.def, context_lmdz.xml, file_def_histLES_lmdz.xml, file_def_histday_lmdz.xml, file_def_histhf_lmdz.xml, file_def_histmthNMC_lmdz.xml, iodef.xml, context_dynmico.xml, field_def_dynamico.xml, file_def_dynamico.xml, file_def_histdayCOSP_lmdz.xml, file_def_histhfCOSP_lmdz.xml, file_def_histins_lmdz.xml, file_def_histmth_lmdz.xml, field_def_lmdz.xml, file_def_histdayNMC_lmdz.xml, file_def_histhfNMC_lmdz.xml, file_def_histmthCOSP_lmdz.xml,file_def_histstn_lmdz.xml,out_icosa_lmdz.exe.out*, out_icosa_lmdz.exe.err*, xios_client_*)37 List= (run_dynamico.def, earth_const.def, iodef.xml, context_dynmico.xml, field_def_dynamico.xml, file_def_dynamico.xml, out_icosa_lmdz.exe.out*, out_icosa_lmdz.exe.err*, xios_client_*) 73 38 74 39 75 40 [OutputFiles] 76 List= (histmth.nc, ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmth.nc, NONE), \ 77 (histmthCOSP.nc, ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthCOSP.nc, NONE), \ 78 (histmthNMC.nc, ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthNMC.nc, NONE), \ 79 (histday.nc, ${R_OUT_ATM_O_D}/${PREFIX}_1D_histday.nc, NONE), \ 80 (histdayCOSP.nc, ${R_OUT_ATM_O_D}/${PREFIX}_1D_histdayCOSP.nc, NONE), \ 81 (histdayNMC.nc, ${R_OUT_ATM_O_D}/${PREFIX}_1D_histdayNMC.nc, NONE), \ 82 (histhf.nc, ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhf.nc, NONE), \ 83 (histhfCOSP.nc, ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhfCOSP.nc, NONE), \ 84 (histhfNMC.nc, ${R_OUT_ATM_O_H}/${PREFIX}_HF_histhfNMC.nc, NONE), \ 85 (histhf3h.nc, ${R_OUT_ATM_O_H}/${PREFIX}_3H_histhf3h.nc, NONE), \ 86 (histhf3hm.nc, ${R_OUT_ATM_O_H}/${PREFIX}_3H_histhf3hm.nc, NONE), \ 87 (output_dcmip2016_native.nc, ${R_OUT_ATM_O_H}/${PREFIX}_3H_output_dcmip2016_native.nc, NONE), \ 88 (output_dcmip2016_regular.nc, ${R_OUT_ATM_O_H}/${PREFIX}_3H_output_dcmip2016_regular.nc, NONE) 41 List= (output_dcmip2016_native.nc, ${R_OUT_ICO_O_H}/${PREFIX}_3H_output_dcmip2016_native.nc, NONE), \ 42 (output_dcmip2016_regular.nc, ${R_OUT_ICO_O_H}/${PREFIX}_3H_output_dcmip2016_regular.nc, NONE) 89 43 90 44 91 #List= ( limit.nc, ${R_OUT_ ATM_O}/Boundary/${config_UserChoices_JobName}_clim_limit.nc, NONE), \92 # ( start.nc, ${R_OUT_ ATM_O}/Restart/${config_UserChoices_JobName}_clim_start.nc, NONE), \93 # ( startphy.nc, ${R_OUT_ ATM_O}/Restart/${config_UserChoices_JobName}_clim_startphy.nc, NONE)45 #List= ( limit.nc, ${R_OUT_ICO_O}/Boundary/${config_UserChoices_JobName}_clim_limit.nc, NONE), \ 46 # ( start.nc, ${R_OUT_ICO_O}/Restart/${config_UserChoices_JobName}_clim_start.nc, NONE), \ 47 # ( startphy.nc, ${R_OUT_ICO_O}/Restart/${config_UserChoices_JobName}_clim_startphy.nc, NONE) 94 48 -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZ/clim_noleap/COMP/lmdz.card
r4280 r4281 5 5 # Physics package to use : 6 6 # LMDZ_Physics=AP for standard/old physics(defalut), can be used with LMDZ4_AR5 or LMDZ5/trunk sources 7 # LMDZ_Physics=NPv3.2 for an early version of the new physics, to be used with LMDZ5/trunk revision 1554 or later8 # LMDZ_Physics=NPv5.70 for new physics to be used with LMDZ5/testing revision 2595 or later9 # LMDZ_Physics=NPv5.80bz0 for new physics to be used with LMDZ5/trunk revision 2699 or later10 # LMDZ_Physics=NPv6.0.7 for new physics to be used with LMDZ5/trunk revision 2720 or later11 # LMDZ_Physics=NPv6.0.8 for new physics to be used with LMDZ5/trunk revision 2739 or later12 # LMDZ_Physics=NPv6.0.15_T or NPv6.0.15_S to be used with LMDZ6/branches/IPSLCM6.0.15 rev 322413 # LMDZ_Physics=NPv6.1 to be used with LMDZ6/branches/IPSLCM6.0.15 rev 330114 # LMDZ_Physics=NPv6.1.3 as NPv6.1 but allows tau_gl to be modified15 7 LMDZ_Physics=NPv6.1.3 16 8 … … 31 23 tau_gl=2. 32 24 33 # ByPass_hgardfou_teta=y : modify teta_ parameters for following CumulPeriod only34 ByPass_hgardfou_teta=n35 36 # ByPass_hgardfou_mats=y : set parameter purmats=y for following CumulPeriod only37 ByPass_hgardfou_mats=n38 39 25 # Set OutLevel to choose the level of output for LMDZ 40 26 # OutLevel=low/medium/high … … 57 43 58 44 [InitialStateFiles] 59 List= (${R_IN}/ATM/START/eORCA1.2xLMD${RESOL_ATM_XY}/start_eORCA1.2xLMD${RESOL_ATM_3D}_o2a_v3.nc, start.nc),\ 60 (${R_IN}/ATM/START/eORCA1.2xLMD${RESOL_ATM_XY}/startphy_eORCA1.2xLMD${RESOL_ATM_3D}_o2a_v3.nc, startphy.nc) 45 # start.nc and startphy.nc are both set in dynamico.card to easier insure coherence of the files 46 List=() 61 47 62 48 [BoundaryFiles] … … 65 51 # With CMIP6 aerosols version 1 66 52 # With 3D ozone 67 ListNonDel= (${R_IN}/ATM/AEROSOLS/CMIP6/v1/${RESOL_ATM_XY}/L${RESOL_ATM_Z}/aerosols1850_from_inca.nc, aerosols.nat.nc),\ 68 (${R_IN}/ATM/AEROSOLS/CMIP6/v1/${RESOL_ATM_XY}/L${RESOL_ATM_Z}/aerosols1995_from_inca.nc, aerosols1980.nc),\ 69 (${R_IN}/ATM/OZONE/UReading/historical.v20160711.v2/interpol/${RESOL_ATM_XY}/climoz_LMDZ_1979_2008_clim.nc, climoz_LMDZ.nc),\ 70 (${R_IN}/ATM/LIMIT/AMIP.v20180427/interpol/${RESOL_ATM_XY}_eORCA1.2_365d/limit_1979_2008_clim.nc, limit.nc),\ 53 ListNonDel= (${R_IN}/ATM/AEROSOLS/CMIP6/v1/144x142/L${RESOL_ATM_Z}/aerosols1850_from_inca.nc, aerosols.nat.nc),\ 54 (${R_IN}/ATM/AEROSOLS/CMIP6/v1/144x142/L${RESOL_ATM_Z}/aerosols1995_from_inca.nc, aerosols1980.nc),\ 55 (${R_IN}/ATM/OZONE/UReading/historical.v20160711.v2/interpol/144x142/climoz_LMDZ_1979_2008_clim.nc, climoz_LMDZ.nc),\ 71 56 (${R_IN}/ATM/SOLAR/CMIP6/v3.1corr/Control/solarforcing_v3.1_pdControl_ave_6bands_365days.nc, solarforcing.nc),\ 72 (${R_IN}/ATM/STRATAERO/CMIP6/v3/ ${RESOL_ATM_XY}/L${RESOL_ATM_Z}/taulwstrat.2D.ave.nc, taulwstrat.2D.nc),\73 (${R_IN}/ATM/STRATAERO/CMIP6/v3/ ${RESOL_ATM_XY}/L${RESOL_ATM_Z}/tauswstrat.2D.ave.nc, tauswstrat.2D.nc)57 (${R_IN}/ATM/STRATAERO/CMIP6/v3/144x142/L${RESOL_ATM_Z}/taulwstrat.2D.ave.nc, taulwstrat.2D.nc),\ 58 (${R_IN}/ATM/STRATAERO/CMIP6/v3/144x142/L${RESOL_ATM_Z}/tauswstrat.2D.ave.nc, tauswstrat.2D.nc) 74 59 75 60 [SmoothFiles] … … 78 63 [ParametersFiles] 79 64 List= (${SUBMIT_DIR}/PARAM/physiq.def_${LMDZ_Physics}, physiq.def), \ 80 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_XY}_${LMDZ_Physics}, gcm.def),\81 65 (${SUBMIT_DIR}/PARAM/vert.def_L${RESOL_ATM_Z}, vert.def), \ 82 66 (${MODIPSL}/modeles/LMDZ/DefLists/cosp_input_nl.txt, .), \ … … 86 70 (${SUBMIT_DIR}/PARAM/run.def, .), \ 87 71 (${SUBMIT_DIR}/PARAM/traceur.def, .), \ 88 (${SUBMIT_DIR}/PARAM/iodef.xml, . ), \89 72 (${MODIPSL}/modeles/LMDZ/DefLists/context_lmdz.xml, . ), \ 90 73 (${MODIPSL}/modeles/LMDZ/DefLists/field_def_lmdz.xml, . ), \ … … 104 87 105 88 [RestartFiles] 106 List= (restart.nc, restart.nc, start.nc), \ 107 (restartphy.nc, restartphy.nc, startphy.nc) 89 List= (restartphy.nc, restartphy.nc, startphy.nc) 108 90 109 91 [OutputText] 110 List= (physiq.def, gcm.def, run.def, traceur.def, guide.def, config.def, vert.def, used_run.def, iodef.xml, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt, out_lmdz.x.err, out_lmdz.x.out)92 List= (physiq.def, run.def, traceur.def, guide.def, config.def, vert.def, used_run.def, context_lmdz.xml, field_def_lmdz.xml, file_def_*lmdz.xml, debug.01, lmdz.prt) 111 93 112 94 [OutputFiles] -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/EXPERIMENTS/ICOLMDZ/clim_noleap/config.card
r4277 r4281 34 34 [ListOfComponents] 35 35 #D- For each component, Name of component, Tag of component 36 ATM= (dynamicolmdz, DLMDZ) 36 ICO= (dynamico, DYNAMICO) 37 ATM= (lmdz, LMDZ) 37 38 IOS= (xios, XIOS) 38 39 … … 40 41 #D-- Executable - 41 42 [Executable] 42 #D- For each component: Real name of executable, Name of executable in the run directory 43 ATM= (icosa_lmdz.exe, icosa_lmdz.exe, 40MPI) 44 # max nsplit_i*nsplit_j*10 43 ICO= (icosa_lmdz.exe, icosa_lmdz.exe, 40MPI) 44 ATM= ("","") 45 45 IOS= (xios_server.exe, xios.x, 1MPI) 46 46 … … 68 68 MetricsPCMDI=FALSE 69 69 70 71 #======================================================================== 72 #D-- ICO - 73 [ICO] 74 # 75 WriteFrequency="" 76 # If config_Restarts_OverRule == 'n' all params are read 77 Restart= n 78 # Last day of the experience used as restart 79 RestartDate= 80 # Define restart simulation name 81 RestartJobName= 82 RestartPath= 83 70 84 #======================================================================== 71 85 #D-- ATM - … … 80 94 RestartJobName= 81 95 RestartPath= 96 82 97 #======================================================================== 83 98 #D-- IOS - -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/dynamico.driver
r4280 r4281 1 1 #!/bin/ksh 2 2 #----------------------------------------------------------------- 3 function ATM_Initialize3 function ICO_Initialize 4 4 { 5 IGCM_debug_PushStack " ATM_Initialize"5 IGCM_debug_PushStack "ICO_Initialize" 6 6 7 ##- Horizontal resolution read from dynamic olmdz.card8 if [ ! X${dynamico lmdz_UserChoices_RESOL_NBP} = X ] ; then9 RESOL_NBP=${dynamico lmdz_UserChoices_RESOL_NBP}7 ##- Horizontal resolution read from dynamic.card 8 if [ ! X${dynamico_UserChoices_RESOL_NBP} = X ] ; then 9 RESOL_NBP=${dynamico_UserChoices_RESOL_NBP} 10 10 else 11 11 # Set default resolution … … 13 13 fi 14 14 15 ##- Horizontal resolution read from dynamico lmdz.card16 if [ ! X${dynamico lmdz_UserChoices_RESOL_LLM} = X ] ; then17 RESOL_ LLM=${dynamicolmdz_UserChoices_RESOL_LLM}15 ##- Horizontal resolution read from dynamico.card 16 if [ ! X${dynamico_UserChoices_RESOL_ATM_Z} = X ] ; then 17 RESOL_ATM_Z=${dynamico_UserChoices_RESOL_ATM_Z} 18 18 else 19 # Set default resolution 20 RESOL_LLM=79 19 # RESOL_ATM_Z is not set in dynamico.card but this is needed 20 IGCM_debug_Exit "RESOL_ATM_Z must be set in dynamico.card UserSection" 21 IGCM_debug_Verif_Exit 21 22 fi 22 23 23 ##- LMDZ physics version 24 ## Read LMDZ_Physics option in lmdz.card, if not present take default value NPv6.1.3 25 if [ ! X${dynamicolmdz_UserChoices_LMDZ_Physics} = X ] ; then 26 LMDZ_Physics=${dynamicolmdz_UserChoices_LMDZ_Physics} 27 else 28 LMDZ_Physics=NPv6.0.11 29 fi 30 echo LMDZ physics version : ${LMDZ_Physics} 31 32 33 IGCM_debug_PopStack "ATM_Initialize" 24 IGCM_debug_PopStack "ICO_Initialize" 34 25 } 35 26 36 27 #----------------------------------------------------------------- 37 function ATM_Update28 function ICO_Update 38 29 { 39 IGCM_debug_PushStack "ATM_Update" 40 41 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 42 if [ ${CumulPeriod} -eq 1 ] ; then 43 IGCM_comp_modifyDefFile blocker run.def raz_date 1 44 else 45 IGCM_comp_modifyDefFile blocker run.def raz_date 0 46 fi 47 48 ##-- Calendar type for LMDZ and create_etat0_limit 49 case ${config_UserChoices_CalendarType} in 50 leap|gregorian) 51 IGCM_comp_modifyDefFile blocker run.def calend gregorian ;; 52 noleap) 53 IGCM_comp_modifyDefFile blocker run.def calend earth_365d ;; 54 360d) 55 IGCM_comp_modifyDefFile blocker run.def calend earth_360d ;; 56 *) 57 IGCM_comp_modifyDefFile blocker run.def calend earth_360d ;; 58 esac 59 60 IGCM_comp_modifyDefFile blocker run.def dayref ${InitDay} 61 IGCM_comp_modifyDefFile blocker run.def anneeref ${InitYear} 30 IGCM_debug_PushStack "ICO_Update" 62 31 63 32 IGCM_comp_modifyDefFile blocker run_icosa.def run_length $(( ${PeriodLengthInDays} * 86400 )) … … 70 39 IGCM_debug_Print 1 "Maximum nubmer of MPI for resolution nbp=${RESOL_NBP} is $(( ${RESOL_NBP} * ${RESOL_NBP} / 10 ))" 71 40 else 72 IGCM_debug_Print 1 "nbp=${RESOL_NBP} is set in dynamico lmdz.card"73 IGCM_debug_Exit "This resolution has not been prepared in dynamico lmdz.driver"41 IGCM_debug_Print 1 "nbp=${RESOL_NBP} is set in dynamico.card" 42 IGCM_debug_Exit "This resolution has not been prepared in dynamico.driver" 74 43 IGCM_debug_Verif_Exit 75 44 fi 76 45 77 if [ X${dynamicolmdz_UserChoices_Aquaplanet} == Xy ] ; then78 IGCM_comp_modifyDefFile nonblocker earth_const.def solarlong0 1000.079 IGCM_comp_modifyDefFile nonblocker config.def R_ecc 080 IGCM_comp_modifyDefFile nonblocker config.def read_climoz -181 IGCM_comp_modifyDefFile nonblocker run_icosa.def etat0 held_suarez82 else83 IGCM_comp_modifyDefFile nonblocker earth_const.def solarlong0 -9999.99984 IGCM_comp_modifyDefFile nonblocker config.def R_ecc 0.01671585 IGCM_comp_modifyDefFile nonblocker config.def read_climoz 186 # IGCM_comp_modifyDefFile nonblocker run_icosa.def etat0 database87 IGCM_comp_modifyDefFile nonblocker run_icosa.def etat0 start_file88 fi89 46 90 91 92 # Add include of context xml files for LMDZ and DYNAMICO in iodef.xml 47 # Add include of context xml files for DYNAMICO in iodef.xml 93 48 # In iodef.xml add on the next line after "COMPONENT CONTEXT" 94 echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp95 49 echo '<context id="icosagcm" src="./context_dynamico.xml"/>' >> add.tmp 96 50 97 # Add inclusion of file context_input_lmdz.xml if this file exists98 if [ -f context_input_lmdz.xml ] ; then99 echo '<context id="LMDZ" src="./context_input_lmdz.xml"/>' >> add.tmp100 fi101 51 # Add inclusion of file context_input_dynamico.xml if this file exists 102 52 if [ -f context_input_dynamico.xml ] ; then … … 104 54 fi 105 55 106 107 56 # Include xml files for output configuration if running with workflow CMIP6 108 57 if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then 109 echo '<context id="LMDZ" src="./ping_lmdz.xml"/>' >> add.tmp 110 echo '<context id="LMDZ" src="./dr2xml_lmdz.xml"/>' >> add.tmp 58 if [ -f ping_dynamico.xml ] ; then 59 echo '<context id="icosagcm" src="./ping_dynamico.xml"/>' >> add.tmp 60 echo '<context id="icosagcm" src="./dr2xml_dynamico.xml"/>' >> add.tmp 61 fi 111 62 fi 112 63 cp iodef.xml iodef.xml.tmp … … 116 67 # Add a Long Name as global attribute in output files if LongName is set in config.card 117 68 if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 118 listfile=$(ls file_def* lmdz.xml)69 listfile=$(ls file_def*dynamico.xml) 119 70 echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 120 71 for file in ${listfile} ; do … … 127 78 fi 128 79 129 # Do modifications for LMDZ output according to settings in dynamicolmdz.card 130 if [ ! X${dynamicolmdz_UserChoices_output_histmth_lmdz} = X ]; then 131 IGCM_comp_modifyXmlFile nonblocker file_def_histmth_lmdz.xml histmth enabled ${dynamicolmdz_UserChoices_output_histmth_lmdz} 132 else 133 IGCM_comp_modifyXmlFile nonblocker file_def_histmth_lmdz.xml histmth enabled FALSE 134 fi 135 136 if [ ! X${dynamicolmdz_UserChoices_output_histday_lmdz} = X ]; then 137 IGCM_comp_modifyXmlFile nonblocker file_def_histday_lmdz.xml histday enabled ${dynamicolmdz_UserChoices_output_histday_lmdz} 138 else 139 IGCM_comp_modifyXmlFile nonblocker file_def_histday_lmdz.xml histday enabled FALSE 140 fi 141 142 if [ ! X${dynamicolmdz_UserChoices_output_histhf_lmdz} = X ]; then 143 IGCM_comp_modifyXmlFile nonblocker file_def_histhf_lmdz.xml histhf enabled ${dynamicolmdz_UserChoices_output_histhf_lmdz} 144 else 145 IGCM_comp_modifyXmlFile nonblocker file_def_histhf_lmdz.xml histhf enabled FALSE 146 fi 147 148 if [ ! X${dynamicolmdz_UserChoices_output_histmthNMC_lmdz} = X ]; then 149 IGCM_comp_modifyXmlFile nonblocker file_def_histmthNMC_lmdz.xml histmthNMC enabled ${dynamicolmdz_UserChoices_output_histmthNMC_lmdz} 150 else 151 IGCM_comp_modifyXmlFile nonblocker file_def_histmthNMC_lmdz.xml histmthNMC enabled FALSE 152 fi 153 154 if [ ! X${dynamicolmdz_UserChoices_output_histdayNMC_lmdz} = X ]; then 155 IGCM_comp_modifyXmlFile nonblocker file_def_histdayNMC_lmdz.xml histdayNMC enabled ${dynamicolmdz_UserChoices_output_histdayNMC_lmdz} 156 else 157 IGCM_comp_modifyXmlFile nonblocker file_def_histdayNMC_lmdz.xml histdayNMC enabled FALSE 158 fi 159 160 if [ ! X${dynamicolmdz_UserChoices_output_histhfNMC_lmdz} = X ]; then 161 IGCM_comp_modifyXmlFile nonblocker file_def_histhfNMC_lmdz.xml histhfNMC enabled ${dynamicolmdz_UserChoices_output_histhfNMC_lmdz} 162 else 163 IGCM_comp_modifyXmlFile nonblocker file_def_histhfNMC_lmdz.xml histhfNMC enabled FALSE 164 fi 165 166 if [ ! X${dynamicolmdz_UserChoices_output_histstn_lmdz} = X ]; then 167 IGCM_comp_modifyXmlFile nonblocker file_def_histstn_lmdz.xml histstn enabled ${dynamicolmdz_UserChoices_output_histstn_lmdz} 168 else 169 IGCM_comp_modifyXmlFile nonblocker file_def_histstn_lmdz.xml histstn enabled FALSE 170 fi 171 172 if [ ! X${dynamicolmdz_UserChoices_output_histstrataer_lmdz} = X ]; then 173 IGCM_comp_modifyXmlFile nonblocker file_def_histstrataer_lmdz.xml histstrataer enabled ${dynamicolmdz_UserChoices_output_histstrataer_lmdz} 174 else 175 IGCM_comp_modifyXmlFile nonblocker file_def_histstrataer_lmdz.xml histstrataer enabled FALSE 176 fi 177 178 179 180 IGCM_debug_PopStack "ATM_Update" 80 IGCM_debug_PopStack "ICO_Update" 181 81 } 182 82 183 83 #----------------------------------- 184 function ATM_Finalize84 function ICO_Finalize 185 85 { 186 IGCM_debug_PushStack " ATM_Finalize"86 IGCM_debug_PushStack "ICO_Finalize" 187 87 188 IGCM_debug_PopStack " ATM_Finalize"88 IGCM_debug_PopStack "ICO_Finalize" 189 89 } 190 90 -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/lmdz.driver
r4280 r4281 5 5 IGCM_debug_PushStack "ATM_Initialize" 6 6 7 RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' | awk "-F-" '{print $1}') 8 9 [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x39 10 11 RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' ) 12 RESOL_ATM_X=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $1}' ) 13 RESOL_ATM_Y=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $2}' ) 14 RESOL_ATM_XY="${RESOL_ATM_X}x${RESOL_ATM_Y}" 7 8 # Define the resolution only if the composant ICO for DYNAMICO is not set in config.card 9 if [ X${config_ListOfComponents_ICO} = X ] ; then 10 11 [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x39 12 13 RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' ) 14 RESOL_ATM_X=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $1}' ) 15 RESOL_ATM_Y=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $2}' ) 16 RESOL_ATM_XY="${RESOL_ATM_X}x${RESOL_ATM_Y}" 17 18 else 19 RESOL_ATM_Z=${dynamico_UserChoices_RESOL_ATM_Z} 20 fi 15 21 16 22 ##- LMDZ physics version … … 335 341 336 342 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 343 337 344 if [ ${CumulPeriod} -eq 1 ] ; then 338 345 IGCM_comp_modifyDefFile blocker run.def raz_date 1 … … 342 349 343 350 ##-- Calendar type for LMDZ and create_etat0_limit 351 # calend is read from both LMDZ dynamics and physics parts of the model 344 352 case ${config_UserChoices_CalendarType} in 345 353 leap|gregorian) … … 353 361 esac 354 362 355 IGCM_comp_modifyDefFile blocker run.def dayref ${InitDay} 356 IGCM_comp_modifyDefFile blocker run.def nday ${PeriodLengthInDays} 357 358 # Set anneeref different for gcm and ce0l 359 # Test if executable create_etat0_limit is present and lmdz.x is not present 360 if [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then 361 # for case ce0l : always take current year 362 IGCM_comp_modifyDefFile blocker run.def anneeref ${year} 363 364 # Temporary, set use_filtre_fft=n because we now use dyn3d for ce0l version where fft is not implemented. 365 # In more recent versions of LMDZ, this will not be needed. 366 IGCM_comp_modifyDefFile force run.def use_filtre_fft n 367 else 368 # for case gcm : take first year of simulation 369 IGCM_comp_modifyDefFile blocker run.def anneeref ${InitYear} 363 364 ## -- Modify more calendar related variables. These variables are only read by LMDZ dynamics part. 365 # Set them to dummy if component ICO (DYNAMICO) is set in config.card. 366 if [ X${config_ListOfComponents_ICO} = X ] ; then 367 # Following variables are read by LMDZ dynamics 368 IGCM_comp_modifyDefFile blocker run.def dayref ${InitDay} 369 IGCM_comp_modifyDefFile blocker run.def nday ${PeriodLengthInDays} 370 371 # Set anneeref different for gcm and ce0l 372 # Test if executable create_etat0_limit is present and lmdz.x is not present 373 if [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then 374 # for case ce0l : always take current year 375 IGCM_comp_modifyDefFile blocker run.def anneeref ${year} 376 377 # Temporary, set use_filtre_fft=n because we now use dyn3d for ce0l version where fft is not implemented. 378 # In more recent versions of LMDZ, this will not be needed. 379 IGCM_comp_modifyDefFile force run.def use_filtre_fft n 380 else 381 # for case gcm : take first year of simulation 382 IGCM_comp_modifyDefFile blocker run.def anneeref ${InitYear} 383 fi 384 385 else 386 # ICO is found in config.card which means that DYNMAICO is activated. 387 # Set these variables to DUMMY. They will not be read. 388 IGCM_comp_modifyDefFile blocker run.def dayref DUMMY 389 IGCM_comp_modifyDefFile blocker run.def nday DUMMY 390 IGCM_comp_modifyDefFile blocker run.def anneeref DUMMY 391 IGCM_comp_modifyDefFile force run.def use_filtre_fft DUMMY 370 392 fi 371 393 … … 501 523 502 524 503 ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ] 504 ByPass_hgardfou_teta=${lmdz_UserChoices_ByPass_hgardfou_teta} 505 if [ X"${ByPass_hgardfou_teta}" = X"y" ] ; then 506 awk '{ if ($0 ~ /^teta.*=/) {split($0,a,"=") ; print a[1]"="a[2]/2"."} else print $0}' gcm.def > gcm.def.tmp 507 IGCM_sys_Mv gcm.def.tmp gcm.def 508 echo 509 IGCM_debug_Print 1 "ByPass_hgardfou_teta : ^teta*/2 in gcm.def" 510 echo 511 cat gcm.def 512 ByPass_hgardfou_teta=n 513 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_teta "${ByPass_hgardfou_teta}" 514 fi 515 516 ## Read ByPass_hgardfou_mats option in lmdz.card --> purmats=y 2 if [ $ByPass_hgardfou_mats = 1 ] 517 ByPass_hgardfou_mats=${lmdz_UserChoices_ByPass_hgardfou_mats} 518 if [ X"${ByPass_hgardfou_mats}" = X"y" ] ; then 519 sed -e "s/^purmats=.*/purmats=y/" gcm.def > gcm.def.tmp 520 IGCM_sys_Mv gcm.def.tmp gcm.def 521 echo 522 IGCM_debug_Print 1 "ByPass_hgardfou_mats : purmats=y in gcm.def" 523 echo 524 cat gcm.def 525 ByPass_hgardfou_mats=n 526 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_mats "${ByPass_hgardfou_mats}" 527 fi 525 # Specific ByPass option only used with LMDZ dynamcis (without DYNMAICO) 526 if [ X${config_ListOfComponents_ICO} = X ] ; then 527 528 ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ] 529 ByPass_hgardfou_teta=${lmdz_UserChoices_ByPass_hgardfou_teta} 530 if [ X"${ByPass_hgardfou_teta}" = X"y" ] ; then 531 awk '{ if ($0 ~ /^teta.*=/) {split($0,a,"=") ; print a[1]"="a[2]/2"."} else print $0}' gcm.def > gcm.def.tmp 532 IGCM_sys_Mv gcm.def.tmp gcm.def 533 echo 534 IGCM_debug_Print 1 "ByPass_hgardfou_teta : ^teta*/2 in gcm.def" 535 echo 536 cat gcm.def 537 ByPass_hgardfou_teta=n 538 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_teta "${ByPass_hgardfou_teta}" 539 fi 540 541 ## Read ByPass_hgardfou_mats option in lmdz.card --> purmats=y 2 if [ $ByPass_hgardfou_mats = 1 ] 542 ByPass_hgardfou_mats=${lmdz_UserChoices_ByPass_hgardfou_mats} 543 if [ X"${ByPass_hgardfou_mats}" = X"y" ] ; then 544 sed -e "s/^purmats=.*/purmats=y/" gcm.def > gcm.def.tmp 545 IGCM_sys_Mv gcm.def.tmp gcm.def 546 echo 547 IGCM_debug_Print 1 "ByPass_hgardfou_mats : purmats=y in gcm.def" 548 echo 549 cat gcm.def 550 ByPass_hgardfou_mats=n 551 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_mats "${ByPass_hgardfou_mats}" 552 fi 553 fi 554 528 555 529 556 # Add include of LMDZ context in iodef.xml -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/xios.driver
r4180 r4281 16 16 17 17 echo UPDATE IOS !!! 18 # Activate server mode19 IGCM_comp_modifyXmlFile force iodef.xml using_server NONE true20 18 21 19 if [ -f namcouple ] ; then -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/config.def_actuel
r4180 r4281 4 4 soil_model=y 5 5 ## Pas de temps de couplage (s). 6 t_coupl= 864006 t_coupl=_AUTO_ 7 7 8 8 ## Nombre d'appels des routines de rayonnements ( par jour) … … 10 10 11 11 ## Facteur additif pour l'albedo 12 pmagic =0.012 pmagic = _AUTO_: DEFAULT = 0.0 13 13 14 14 # … … 16 16 # 17 17 ### R_ecc = Excentricite (lue dans Eccentricity.txt) 18 R_ecc = _AUTO_ : DEFAULT=0.01671518 R_ecc = _AUTO_: DEFAULT = 0.016715 19 19 ### R_peri = Equinoxe (lue dans Perihelie.txt) 20 R_peri =102.720 R_peri = _AUTO_: DEFAULT = 102.7 21 21 ### R_incl = Inclinaison (lue dans Obliquity.txt) 22 R_incl =23.44122 R_incl = _AUTO_: DEFAULT = 23.441 23 23 ### solaire = Constante solaire 24 24 #solaire = _AUTO_ : DEFAULT = 1366.0896 25 solaire =1361.2025 solaire = _AUTO_ : DEFAULT = 1361.20 26 26 # solaire est modifie avec les valeurs du fichier SOLARANDVOLCANOES.txt 27 27 ### constante solaire lue dans un fichier par defaut … … 31 31 # 32 32 ### co2_ppm = taux CO2 en ppm, l'année 2000 forcage CMIP6 33 co2_ppm =3.6912e+0233 co2_ppm = _AUTO_: DEFAULT = 3.6912e+02 34 34 ### co2_ppm_per = taux 4xCO2 en ppm (uniqument pour calcul des diags) 35 co2_ppm_per =14.7648e+0235 co2_ppm_per = _AUTO_: DEFAULT = 14.7648e+02 36 36 ### CH4_ppb = taux CH4 en ppb, l'année 2000 forcage CMIP6 37 CH4_ppb =1.7780e+0337 CH4_ppb = _AUTO_ : DEFAULT = 1.7780e+03 38 38 ### N2O_ppb = taux N2O en ppb, l'année 2000 forcage CMIP6 39 N2O_ppb =3.1576e+0239 N2O_ppb = _AUTO_ : DEFAULT = 3.1576e+02 40 40 ### CFC11_ppt = taux en ppt, l'année 2000 forcage CFC11eq_CMIP6 41 CFC11_ppt =6.3990e+0141 CFC11_ppt = _AUTO_ : DEFAULT = 6.3990e+01 42 42 ### CFC12_ppt = taux en ppt, l'année 2000 forcage CFC12eq_CMIP6 43 CFC12_ppt =1.0511e+0343 CFC12_ppt = _AUTO_ : DEFAULT = 1.0511e+03 44 44 # 45 45 # Parametres effets directs/indirects des "aerosols" 46 46 # 47 47 ### ok_ade=y/n flag Aerosol direct effect 48 49 #ym ok_ade= y 50 ok_ade= n 51 48 ok_ade=_AUTO_ 52 49 ### ok_aie=y/n flag Aerosol indirect effect 53 54 #ym ok_aie= y 55 ok_aie= n 56 50 ok_aie=_AUTO_ 57 51 ### aer_type = Aerosol variation type : actuel / preind / scenario / annuel 58 52 aer_type=actuel 59 53 ### aerosol coupling = online (y) or offline (n) 60 aerosol_couple= n 54 aerosol_couple=_AUTO_ 55 ### Ozone chemistry coupling = online (y) or offline (n) 56 chemistry_couple=_AUTO_ 61 57 ### flag_aerosol = type of coupled aerosol, if aerosol offline 62 58 ### 0 => no aerosol, 1 => sulfate only, 2 => bc only, 3 => pom only, 4 => seasalt only, 5 => dust only, 6 => all aerosol 63 64 #ym flag_aerosol= 6 65 flag_aerosol= 0 66 59 flag_aerosol=_AUTO_ 67 60 ### ok_cdnc=y/n Cloud droplet number concentration 68 69 #ym ok_cdnc= y 70 ok_cdnc= n 71 61 ok_cdnc=_AUTO_ 72 62 # ok_alw=y flag pour activer l effet LW des poussieres 73 63 ok_alw=y … … 79 69 # 1: read a single ozone climatology that will be used day and night 80 70 # 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 81 read_climoz=_AUTO_ : DEFAULT = 1 82 71 read_climoz=_AUTO_ 83 72 # 84 73 # Aerosols stratospheriques utilises par defaut 85 86 #ym flag_aerosol_strat=2 87 flag_aerosol_strat=0 88 74 flag_aerosol_strat=2 75 # Diag VolMIP to get volcanic aerosols effects instead of tropospheric ones 76 ok_volcan=n 89 77 # 90 78 # COSP 91 ok_cosp= n 92 93 79 ok_cosp=_AUTO_ -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/run.def
r4180 r4281 1 # $Id : run.def 1403 2010-07-01 09:02:53Z fairhead$1 # $Id$ 2 2 # 3 ## Fichier de configuration general4 ##5 INCLUDEDEF=physiq.def6 INCLUDEDEF=config.def7 INCLUDEDEF=traceur.def8 3 INCLUDEDEF=run_icosa.def 9 4 INCLUDEDEF=earth_const.def 5 INCLUDEDEF=physiq.def 6 INCLUDEDEF=gcm.def 10 7 INCLUDEDEF=vert.def 11 8 INCLUDEDEF=orchidee.def 9 INCLUDEDEF=config.def 10 INCLUDEDEF=reprobus.def 11 INCLUDEDEF=guide.def 12 INCLUDEDEF=inca.def 12 13 ## Type de calendrier utilise 13 14 ## valeur possible: earth_360d (defaut), earth_365d, earth_366d 14 calend=_AUTOBLOCKER_ 15 ## Jour de l'etat initial ( = 350 si 20 Decembre ,par expl. ,comme ici ) 16 dayref=_AUTOBLOCKER_ 17 ## Annee de l'etat initial ( avec 4 chiffres ) 18 anneeref=_AUTOBLOCKER_ 19 15 calend= _AUTOBLOCKER_ 16 ## Jour de l etat initial ( = 350 si 20 Decembre ,par expl. ,comme ici ) 17 dayref= _AUTOBLOCKER_ 18 ## Annee de l etat initial ( avec 4 chiffres ) 19 anneeref= _AUTOBLOCKER_ 20 ## Nombre de jours d integration 21 nday= _AUTOBLOCKER_ 20 22 ## Remise a zero de la date initiale 21 raz_date=_AUTOBLOCKER_ 22 23 ## niveau d'impression de controle 23 raz_date= _AUTOBLOCKER_ 24 ## periode de sortie des variables de controle (en pas) 25 iconser=240 26 ## periode d ecriture du fichier histoire (en jour) 27 iecri=1 28 ## flag de sortie dynzon 29 ok_dynzon=n 30 ## activation du calcul d equilibrage de charge 31 adjust= n 32 ## activation du filtre fft 33 use_filtre_fft=y 34 ## niveau d impression de controle 24 35 prt_level=0 25 26 36 ### 27 37 ### Informations sur la configuration utilisee 28 38 ### 29 39 ### type_ocean = force / slab /couple 30 ### type_ocean is modified automatically by the lmdz.driver 31 type_ocean= force40 ### type_ocean is modified automatically by the lmdz.driver 41 type_ocean=_AUTOBLOCKER_ 32 42 ### version_ocean = nemo / opa8 33 43 version_ocean=nemo … … 35 45 cpl_current=y 36 46 ### VEGET= y si ORCHIDEE, =n si bucket 37 ### VEGET is modified automatically by the lmdz.driver 38 VEGET= n 47 ### VEGET is modified automatically by the lmdz.driver 48 VEGET=_AUTOBLOCKER_ 49 ### Choice of tracers type_trac=lmdz/inca/repr 50 ### type_trac is set automatically by the lmdz.driver 51 type_trac=_AUTOBLOCKER_ 52 ### config_inca=aero/chem needed only if type_trac=inca 53 config_inca=_AUTOBLOCKER_ 39 54 ### To activate XIOS ouputs only, set n to use IOIPSL 40 55 ok_all_xml= y … … 42 57 no_ter_antartique=y 43 58 ### Do not call phytrac to speed things up 44 iflag_phytrac= 059 iflag_phytrac=_AUTO_: DEFAULT = 0 45 60 -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/traceur.def
r4180 r4281 1 6 1 4 2 2 14 14 H2Ov 3 3 10 10 H2Ol 4 4 10 10 H2Oi 5 10 10 Aga 6 10 10 RN 7 10 10 PB 5 00 00 Aga -
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/vert.def_L79
r4180 r4281 1 1 # 2 # $Id: vert_L79.def 24 82 2016-03-30 08:23:28Z idelkadi$2 # $Id: vert_L79.def 2446 2016-02-16 12:32:59Z fairhead $ 3 3 # 4 4 #### Verticale discretisation … … 6 6 ## The new version can be controled by following parameters 7 7 ## Al the parameters are given in km assuming a given scalehigh 8 vert_sampling=strato_custom 8 9 ## scale hight 9 10 vert_scale=7. … … 32 33 ## Avec ou sans strato 33 34 ok_strato=y 34 ## Parametrisation de Hines pour la strato35 ## Activation ou non de la parametrisation de Hines pour la strato 35 36 ok_hines=n 36 37 # Couche eponge dans les couches de pression plus faible que 100 fois la pression de la derniere couche
Note: See TracChangeset
for help on using the changeset viewer.