meteo-tm5-convert-hdf-to-nc-ecmwf-convec.rc 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  2. !
  3. ! Version to convert the "CONVEC" files from HDF to NETCDF
  4. !
  5. tiedtke:F
  6. !====================================================
  7. ! ~ get number of meteo levels, and set class variable for filenames
  8. !====================================================
  9. ! ~ era interim
  10. my.meteo.nlev : 60
  11. my.ecclass_ecl : ${my.meteo.class}
  12. !previously ECLEVS:
  13. my.eclevs : ml${my.meteo.nlev}
  14. !------------------------------
  15. ! name for choice of number of model levels (previously LEVS)
  16. !------------------------------
  17. #if "${my.levs}" in ["all",""] :
  18. my.mlevs : ml${my.meteo.nlev}
  19. #elif "${my.levs}" in ["tropo25","tropo34","ml40"] :
  20. my.mlevs : ${my.levs}
  21. #else :
  22. #error "unsupported number of model levels : ${my.levels}"
  23. #endif
  24. !------------------------------
  25. ! ** global surface region:
  26. !------------------------------
  27. ! name of global surface region in meteo files:
  28. #if "${region.glbsfc}" != ""
  29. my.regiongm : ${region.glbsfc}
  30. #else
  31. my.regiongm : glb100x100
  32. #endif
  33. !------------------------------
  34. ! ** which fields should be read ?
  35. !------------------------------
  36. ! by default, load nothing, just convec
  37. meteo.read.*.* : F
  38. meteo.read.*.convec : T
  39. ! ! ~ read model level fields,
  40. ! ! except on global surface region:
  41. ! meteo.read.*.ml : F
  42. ! meteo.read.${my.regiongm}.ml : F
  43. ! ! ~ read surface fields on global surface region:
  44. ! meteo.read.${my.regiongm}.sfc : F
  45. ! ! not the exotic ones yet ...
  46. ! meteo.read.${my.regiongm}.ch4fire : F
  47. !------------------------------
  48. ! ** temporal interpolation
  49. !------------------------------
  50. !
  51. ! ~ fc fields are 3 hourly instantaneous; keep them constant,
  52. ! except for the accumulated fields which have been averaged over 3 hour:
  53. ! ~ fc 3 hourly
  54. meteo.tinterp.* : const3
  55. meteo.tinterp.sp : interp3
  56. meteo.tinterp.sfc.aver : aver3
  57. meteo.tinterp.convec : aver3
  58. !
  59. ! ~ an fields 6 hourly instantaneous; keep them constant,
  60. ! except oro and lsm which are constant:
  61. meteo.tinterp.sfc.an : interp6
  62. ! ~ constant
  63. meteo.tinterp.oro : const
  64. meteo.tinterp.lsm : const
  65. ! ~ surface roughness Olsson/Ganzeveld is per month:
  66. meteo.tinterp.srols : month
  67. !------------------------------
  68. ! ** source keys : how to form a file name ?
  69. !------------------------------
  70. tmm.sourcekey.*.ml : tm5-hdf:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m};tres=_00p03
  71. tmm.sourcekey.*.sfc.fc : tm5-hdf:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${my.regiongm};tres=_00p03
  72. tmm.sourcekey.*.sfc.an : tm5-hdf:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${my.regiongm};tres=_00p06
  73. tmm.sourcekey.*.convec : tm5-hdf:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100;tres=_00p03
  74. !------------------------------
  75. ! ** install meteo files
  76. !------------------------------
  77. ! location of meteo files;
  78. ! either a permanent archive, or a temporary scratch:
  79. tmm.dir : ${my.meteo.dir}
  80. ! Clean up the temporary meteo ?
  81. tmm.dir.clean : F
  82. tmm.dir.size : 300G
  83. ! Meteo files could be setup before the actual program is started.
  84. tmm.setup.apply : ${my.tmm.setup.apply}
  85. ! display progress ?
  86. tmm.setup.verbose : T
  87. ! file permission mode for newly created files:
  88. ! o user archive : 644
  89. ! o archive shared by group : 664
  90. tmm.setup.mode : 664
  91. ! number of sets defined below:
  92. tmm.setup.nset : 4
  93. tmm.setup.001.apply : F
  94. tmm.setup.001.files : oro lsm albedo sr srols veg
  95. tmm.setup.001.sources : tm5-hdf:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${my.regiongm};tres=_00p06
  96. tmm.setup.001.search : ${my.meteo.search}
  97. !
  98. tmm.setup.002.apply : F
  99. tmm.setup.002.files : blh ci cp d2m ewss g10m lsp nsss sd sf skt slhf src sshf ssr ssrd sst str strd swvl1 t2m u10m v10m
  100. tmm.setup.002.sources : tm5-hdf:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${my.regiongm};tres=_00p03
  101. tmm.setup.002.search : ${my.meteo.search}
  102. !
  103. tmm.setup.003.apply : F
  104. tmm.setup.003.files : sp mfuv mfw t q cld convec
  105. tmm.setup.003.sources : tm5-hdf:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m};tres=_00p03
  106. tmm.setup.003.search : ${my.meteo.search}
  107. tmm.setup.004.apply : T
  108. tmm.setup.004.files : sp convec
  109. tmm.setup.004.sources : tm5-hdf:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m};tres=_00p03
  110. tmm.setup.004.search : ${my.meteo.search}
  111. !------------------------------
  112. ! ** output meteo
  113. !------------------------------
  114. ! should meteo be put out ? (used in the storage script):
  115. tmm.output : T
  116. ! By default, write none:
  117. tmm.output.*.* : F
  118. tmm.output.*.convec : T
  119. tmm.destkey.${my.region1}.convec : tm5-nc:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1}-<yyyy>;tres=_00p03
  120. !tmm.destkey.${my.region1}.ml : tm5-nc:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1}-<yyyy>;tres=_00p03
  121. tmm.destkey.${my.regiongm}.sfc : tm5-nc:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${my.regiongm}-<yyyy>;tres=_00p03
  122. tmm.destkey.${my.regiongm}.sfc.an : tm5-nc:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${my.regiongm}-<yyyy>;tres=_00p06
  123. ! TM5 writes new meteo files to:
  124. tmm.output.dir : ${my.project.dir}/tm5_meteo_out
  125. ! ensure creation via 'install' facilty:
  126. tmm.output.install.dir : ${tmm.output.dir}
  127. !------------------------------
  128. ! Options for "tm5-tmm-store" script.
  129. !------------------------------
  130. ! display messages ?
  131. tmm.output.store.verbose : T
  132. ! Specify one or more archives
  133. !
  134. tmm.output.store.archives : ecfs:umask=002%/nlh/TM/meteo-nc/*.tar5
  135. !tmm.output.store.archives : ${SCRATCH}/NO-TAPE-YET/TM/meteo-nc/*.tar5
  136. ! zip tar files (empty or zipper command: gzip bzip2):
  137. tmm.output.store.zipper : gzip
  138. !------------------------------
  139. ! ** CF conventions
  140. !------------------------------
  141. cf-standard-name-table : ${PWD}/tools/cf/data/cf-standard-name-table-v15.xml