main-tm5-produce-glb100x100.rc 7.6 KB

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