main-tm5-produce-glb100x100-conv.rc 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. !
  2. ! MAIN RC FILE FOR PROCESSING EI **CONVEC** and/or KZZ MET FIELDS FROM
  3. ! MARS TO TM5 GLOBAL 1X1 GRID. SWITCH IS DONE THRU THE METEO.RC FILE
  4. !
  5. !-----------------------------------------------------------------------
  6. ! Only the following keys need to be regularly modified. They are here
  7. ! at the top of the file for quick access.
  8. ! Operational Data (od) or ERA Interim (ei) ?
  9. my.meteo.class : ei
  10. ! timing
  11. timerange.start : 2017-10-31 00:00:00
  12. timerange.end : 2017-12-31 00:00:00
  13. ! file format: "tm5-nc" for netcdf, "tm5-hdf" for good old hdf:
  14. my.meteo.format : tm5-nc
  15. !=====================================================================!
  16. ! Run main specifications
  17. !=====================================================================!
  18. ! [id] basename for executable, runtime rcfile, job script (hence logfiles too), ${my.basename}__sources.tar
  19. my.basename : meteo_${my.meteo.class}
  20. jobstep.length : inf
  21. ! autorun
  22. submit.auto : True
  23. ! main directories
  24. my.project.dir : ${my.scratch}/TM5-RUNS/${my.meteo.class}-${my.meteo.format}-1x1-prod-convec
  25. my.run.dir : ${my.project.dir}/rundir
  26. ! dir of standard input files (read in model init)
  27. inputdir : ${my.data.dir}
  28. ! run time meteo dir (not use for meteo pre-processing)
  29. !my.meteo.dir :
  30. !=====================================================================!
  31. ! Environment (compiler, libraries, job manager, //, ...)
  32. !=====================================================================!
  33. !#include rc/machine-ecmwf-cca-cray.rc
  34. #include rc/machine-ecmwf-cca-ifort.rc
  35. my.queue.account : nlchekli
  36. my.queue.make : F
  37. my.build.configure.flags : optim-strict
  38. par.mpi : T
  39. par.nx : 1
  40. par.ny : 2
  41. !=====================================================================!
  42. ! Grids & Levels
  43. !=====================================================================!
  44. my.levs : all
  45. ! regions name
  46. my.region1 : glb100x100
  47. ! grid names for meteo input (allows on the flight regridding):
  48. my.region1m : ${my.region1}
  49. #include rc/regions-${my.region1}.rc
  50. !=====================================================================!
  51. ! Source code
  52. !=====================================================================!
  53. my.source.proj : proj/inert1
  54. !=====================================================================!
  55. ! C-preprocessors
  56. !=====================================================================!
  57. #if "${my.meteo.format}" == "tm5-nc"
  58. my.df.define : with_hdf4 with_hdf5_par with_netcdf4_par
  59. #else
  60. my.df.define : with_hdf4
  61. #endif
  62. ! macro to output pre-processed meteo
  63. #if "${my.meteo.format}" == "tm5-nc"
  64. my.tmm.write : with_tmm_tm5 with_udunits2
  65. #else
  66. my.tmm.write : with_tmm_tm5
  67. #endif
  68. ! macro for input meteo from MARS @ ECMWF
  69. my.tmm.read : with_tmm_ecmwf with_grib_api
  70. my.tmm.define : ${my.tmm.read} ${my.tmm.write} with_tmm_convec_ec
  71. my.without : without_advection without_convection without_diffusion without_dry_deposition without_wet_deposition without_chemistry without_emission without_photolysis
  72. ! meteo production requires
  73. my.def_advec : slopes
  74. my.def_misc : without_lmax_conv
  75. my.tm5.define : ${my.without} ${my.def_advec} ${my.def_misc}
  76. !=====================================================================!
  77. ! Model tuning
  78. !=====================================================================!
  79. ! model timestep
  80. time.ntimestep : 3600
  81. time.ndyn_max : 3600
  82. ! processes
  83. proces.advection.reduced : F
  84. proces.wet_removal.cp_scale : 0.5
  85. ! read diffusion coefficients (instead of calculate) (also: write if does not exist)
  86. diffusion.write : F
  87. diffusion.dir : ${my.run.dir}/output
  88. !(diffusion dir is parent dir of diffusion files)
  89. !=====================================================================!
  90. ! Restart files
  91. !=====================================================================!
  92. ! initial fields
  93. istart : 2
  94. ! Directory (case of istart=33)
  95. restart.read.dir : ${my.scratch}/TM-restart
  96. ! File (case of istart=4, 30, 31, 5)
  97. start.31.glb100x100 : ${my.scratch}/TM-restart/save_2005010100_glb300x200.hdf
  98. start.31.glb600x400 : ${my.scratch}/TM-restart/save_2005010100_glb300x200.hdf
  99. restart.write : F
  100. ! extra restart files (T|F) ?
  101. restart.write.extra : F
  102. restart.write.extra.hour : 00
  103. restart.write.extra.dhour : 24
  104. ! where to write restart files:
  105. restart.write.dir : ${my.run.dir}/restart
  106. ! ensure creation of directory;
  107. restart.install.dir : ${restart.write.dir}
  108. !=====================================================================!
  109. ! METEO SETTINGS
  110. !=====================================================================!
  111. ! - see top of the file - my.meteo.class : ei
  112. my.meteo.resol : glb100x100
  113. ! - see top of the file - my.meteo.format : tm5-nc
  114. time.fc : F
  115. time.fc.day0 :
  116. my.tmm.setup.apply : T
  117. tiedtke : F
  118. ! to produce CONVEC only
  119. #include rc/meteo-tm5-produce-glb100x100_convec_ei.rc
  120. ! to produce CONVEC + KZZ
  121. !#include rc/meteo-tm5-produce-glb100x100_conveckzz_ei.rc
  122. ! to produce KZZ only
  123. !#include rc/meteo-tm5-produce-glb100x100_convec_ei.rc
  124. !=====================================================================!
  125. ! Extra ressources
  126. !=====================================================================!
  127. #include rc/expert-default.rc
  128. !=====================================================================!
  129. ! Log & output dir
  130. !=====================================================================!
  131. ! Log
  132. okdebug : F
  133. go.print.all : F
  134. go.print.prompt.pe : F
  135. go.print.trace : F
  136. go.print.file : F
  137. go.print.file.base : log.tm6
  138. output.dir : ${my.project.dir}/output
  139. output.overwrite : T
  140. ! alternative output dir
  141. output.dir.base :
  142. output.dir.extensions :
  143. output.types : timing
  144. !=====================================================================!
  145. ! Optional output from 'base' code
  146. !=====================================================================!
  147. ! mean mixing ratio
  148. output.mmix : F
  149. ! budget fluxes through boundaries
  150. apply.budget.global.flux : F
  151. budget.global.flux.lon_in : -12
  152. budget.global.flux.lon_out : 36
  153. budget.global.flux.lat_in : 34
  154. budget.global.flux.lat_out : 62
  155. ! profiling
  156. timing.output : F
  157. timing.output.subdir : profile
  158. !=====================================================================!
  159. ! Optional output from 'proj/user_output' code
  160. !=====================================================================!
  161. ! none
  162. !=====================================================================!
  163. ! PRE-Processing
  164. !=====================================================================!
  165. ! I - Installation of input files ("install" keys)
  166. install.tasks : ${my.install.tasks} tmm.output
  167. ! II - User scripts to setup run
  168. input.user.scripts : <bindir>/tm5-tmm-setup <rcfile>
  169. !=====================================================================!
  170. ! POST-Processing
  171. !=====================================================================!
  172. ! I - Archive output ("store" keys)
  173. default.store.zipper :
  174. default.store.arch : ${my.project.dir}/ARCHIVE
  175. default.store.renew : True
  176. !----------------------------------------------------------
  177. store.condition : False
  178. store.tasks :
  179. sources.store.extra.command :
  180. ! II - Touch files
  181. output.touch : False
  182. ! III - Run user scripts
  183. output.user.scripts.condition : "%{jobstep.timerange.end}" == "%{timerange.end}"
  184. output.user.scripts : <bindir>/tm5-tmm-store <rcfile>
  185. ! IV - DIADEM
  186. !#include tools/diadem/rc/diadem.rc
  187. !=====================================================================!
  188. ! Miscelleaneous (do not modify!) !
  189. !=====================================================================!
  190. par.ntask : 2