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

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