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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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 : 2019-06-30 00:00:00
  12. timerange.end : 2019-07-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 : T
  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. ! to produce CONVEC only
  118. #include rc/meteo-tm5-produce-glb100x100_convec_ei.rc
  119. ! to produce CONVEC + KZZ
  120. !#include rc/meteo-tm5-produce-glb100x100_conveckzz_ei.rc
  121. ! to produce KZZ only
  122. !#include rc/meteo-tm5-produce-glb100x100_convec_ei.rc
  123. !=====================================================================!
  124. ! Extra ressources
  125. !=====================================================================!
  126. #include rc/expert-default.rc
  127. !=====================================================================!
  128. ! Log & output dir
  129. !=====================================================================!
  130. ! Log
  131. okdebug : F
  132. go.print.all : F
  133. go.print.prompt.pe : F
  134. go.print.trace : F
  135. go.print.file : F
  136. go.print.file.base : log.tm6
  137. output.dir : ${my.project.dir}/output
  138. output.overwrite : T
  139. ! alternative output dir
  140. output.dir.base :
  141. output.dir.extensions :
  142. output.types : timing
  143. !=====================================================================!
  144. ! Optional output from 'base' code
  145. !=====================================================================!
  146. ! mean mixing ratio
  147. output.mmix : F
  148. ! budget fluxes through boundaries
  149. apply.budget.global.flux : F
  150. budget.global.flux.lon_in : -12
  151. budget.global.flux.lon_out : 36
  152. budget.global.flux.lat_in : 34
  153. budget.global.flux.lat_out : 62
  154. ! profiling
  155. timing.output : F
  156. timing.output.subdir : profile
  157. !=====================================================================!
  158. ! Optional output from 'proj/user_output' code
  159. !=====================================================================!
  160. ! none
  161. !=====================================================================!
  162. ! PRE-Processing
  163. !=====================================================================!
  164. ! I - Installation of input files ("install" keys)
  165. install.tasks : ${my.install.tasks} tmm.output restart
  166. ! II - User scripts to setup run
  167. input.user.scripts : <bindir>/tm5-tmm-setup <rcfile>
  168. !=====================================================================!
  169. ! POST-Processing
  170. !=====================================================================!
  171. ! I - Archive output ("store" keys)
  172. default.store.zipper :
  173. default.store.arch : ${my.project.dir}/ARCHIVE
  174. default.store.renew : True
  175. !----------------------------------------------------------
  176. store.condition : False
  177. store.tasks :
  178. sources.store.extra.command :
  179. ! II - Touch files
  180. output.touch : False
  181. ! III - Run user scripts
  182. output.user.scripts.condition : "%{jobstep.timerange.end}" == "%{timerange.end}"
  183. output.user.scripts : <bindir>/tm5-tmm-store <rcfile>
  184. ! IV - DIADEM
  185. !#include tools/diadem/rc/diadem.rc
  186. !=====================================================================!
  187. ! Miscelleaneous (do not modify!) !
  188. !=====================================================================!
  189. par.ntask : 2