main-tm5-produce-glb100x100.rc 7.6 KB

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