meteo-tm5-ei-noaa.rc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  2. !
  3. ! Include this METEO rc file in your main rcfile:
  4. !
  5. ! #include /path/to/thisfile.rc
  6. !
  7. ! The following variables are used and should have been defined:
  8. !
  9. ! * in the main rcfile:
  10. !
  11. ! ! short names for regions:
  12. ! my.region1 : glb600x400
  13. ! my.region2 : eur300x200
  14. ! my.region3 : eur100x100
  15. !
  16. ! ! grid names for meteo input:
  17. ! my.region1m : ${my.region1}
  18. ! my.region2m : ${my.region2}
  19. ! my.region3m : eux100x100
  20. !
  21. ! ! Number of model levels:
  22. ! my.levs : all | tropo25 | tropo31 | tropo34
  23. !
  24. ! ! ECMWF meteo class ('ei' or 'od')
  25. ! my.meteo.class : ei
  26. !
  27. ! ! what kind of meteo archive ? One of the following two:
  28. ! my.meteo.resol : glb100x100 ! main archive with all ECMWF layers and 1.00x1.00 grid
  29. ! my.meteo.resol : coarsened ! coarsened to ${LEVS} and regions
  30. !
  31. ! ! file format: "tm5-nc" for netcdf, "tm5-hdf" for hdf
  32. ! my.meteo.format : tm5-nc
  33. !
  34. ! ! call meteo setup script (T|F) ?
  35. ! my.tmm.setup.apply : F
  36. !
  37. ! * in the machine rc file:
  38. !
  39. ! ! local directory with unpacked meteo files:
  40. ! my.meteo.dir : /scratch/shared/meteo
  41. !
  42. ! ! where to search of missing files ?
  43. ! my.meteo.search : ec:ecfs[nlh]:TM/meteo
  44. !
  45. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  46. !
  47. ! The keys that define meteo usage have the form:
  48. !
  49. ! <key(s)>.<name(s)>
  50. !
  51. ! or, if the property depends on the zoom region:
  52. !
  53. ! <key(s)>.<region_name>.<name(s)>
  54. !
  55. ! The region_name is either a '*' or names like 'glb300x200' etc.
  56. !
  57. ! Multipe names could apply to the same field; see the table below.
  58. ! A '*' applies to all fields.
  59. ! If more than name applies to a field, the last one defines the value.
  60. ! For example, the following 3 keys all apply to the 'oro' field,
  61. ! but the resulting temporal interpolation will be 'const' :
  62. !
  63. ! meteo.tinterp.* : interp3
  64. ! meteo.tinterp.sfc.an : interp6
  65. ! meteo.tinterp.oro : const
  66. !
  67. ! Summary of possible name(s) :
  68. !
  69. ! field name(s) that apply to this field
  70. ! -------- ------------------------------------------------------
  71. ! sp ml sp
  72. ! mfw ml mflux_w
  73. ! tsp ml mflux_w
  74. ! mfu ml mflux_uv
  75. ! mfv ml mflux_uv
  76. ! T ml temper
  77. ! Q ml humid
  78. ! CLWC ml cloud
  79. ! CIWC ml cloud
  80. ! CC ml cloud
  81. ! CCO ml cloud
  82. ! CCU ml cloud
  83. ! eu ml convec
  84. ! ed ml convec
  85. ! du ml convec
  86. ! dd ml convec
  87. ! oro sfc sfc.const sfc.an oro
  88. ! lsm sfc sfc.const sfc.an lsm
  89. ! ci sfc sfc.inst sfc.day sfc.fc ci
  90. ! sst sfc sfc.inst sfc.fc sst
  91. ! u10m sfc sfc.inst sfc.fc u10m
  92. ! v10m sfc sfc.inst sfc.fc u10m
  93. ! g10m sfc sfc.inst sfc.fc g10m
  94. ! src sfc sfc.inst sfc.fc src
  95. ! d2m sfc sfc.inst sfc.fc d2m
  96. ! t2m sfc sfc.inst sfc.fc t2m
  97. ! skt sfc sfc.inst sfc.fc blh
  98. ! blh sfc sfc.inst sfc.fc skt
  99. ! sshf sfc sfc.aver sfc.fc sshf
  100. ! slhf sfc sfc.aver sfc.fc slhf
  101. ! ewss sfc sfc.aver sfc.fc ewss
  102. ! nsss sfc sfc.aver sfc.fc nsss
  103. ! cp sfc sfc.aver sfc.fc cp
  104. ! lsp sfc sfc.aver sfc.fc lsp
  105. ! sf sfc sfc.aver sfc.fc sf
  106. ! ssr sfc sfc.aver sfc.fc ssr
  107. ! sd sfc sfc.inst sfc.day sfc.fc sd
  108. ! swvl1 sfc sfc.inst sfc.day sfc.fc swvl1
  109. ! tv sfc sfc.inst sfc.day sfc.an veg
  110. ! cvl sfc sfc.inst sfc.day sfc.an veg
  111. ! cvh sfc sfc.inst sfc.day sfc.an veg
  112. ! albedo sfc sfc.inst sfc.day sfc.an albedo
  113. ! sr sfc sfc.inst sfc.day sfc.an sr
  114. ! srols sfc sfc.inst sfc.day sfc.an srols
  115. !
  116. ! Background:
  117. ! o 'ml' and 'sfc' indicate model levels and surface level
  118. ! o surface fields could have a constant value (sfc.const),
  119. ! have instananeous values (sfc.inst),
  120. ! or averaged over an accumulation interval (sfc.aver).
  121. ! o when meteo was produced by TMPP, some fields were stored
  122. ! as daily averages (sfc.day)
  123. ! o surface fields could originate from an ecmwf forecast (sfc.fc)
  124. ! or from the analysis (sfc.an)
  125. ! o group names apply to fields that usually belong together,
  126. ! for example the vegation fields (veg)
  127. !
  128. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  129. !----------------------------------------------------------
  130. ! ** get number of meteo levels,
  131. ! set class variable for filenames, and which convective fluxes to use
  132. !----------------------------------------------------------
  133. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  134. #if "${my.meteo.class}" == "od" :
  135. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  136. ! ~ number of levels for od data increases in time ...
  137. #if int("${timerange.start}"[0:4]) <= 2005 :
  138. my.meteo.nlev : 60
  139. #else
  140. my.meteo.nlev : 91
  141. #endif
  142. my.ecclass_ecl : ${my.meteo.class}_L${my.meteo.nlev}
  143. tiedtke:T
  144. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  145. #elif "${my.meteo.class}" == "ei" :
  146. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  147. ! ~ era interim
  148. my.meteo.nlev : 60
  149. my.ecclass_ecl : ${my.meteo.class}
  150. #if "${convective.fluxes.tiedtke}" == "T":
  151. tiedtke:T
  152. #else
  153. tiedtke:F
  154. #endif
  155. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  156. #else :
  157. #error "unsupported meteo class : ${my.meteo.class}"
  158. #endif
  159. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  160. !previously ECLEVS:
  161. my.eclevs : ml${my.meteo.nlev}
  162. !----------------------------------------------------------
  163. ! ** name for choice of number of model levels (previously LEVS)
  164. !----------------------------------------------------------
  165. #if "${my.levs}" in ["all",""] :
  166. my.mlevs : ml${my.meteo.nlev}
  167. #elif "${my.levs}" in ["tropo25","tropo31","tropo34","ml40"] :
  168. my.mlevs : ${my.levs}
  169. #else :
  170. #error "unsupported number of model levels : ${my.levs}"
  171. #endif
  172. !----------------------------------------------------------
  173. ! ** which files should be read ?
  174. !----------------------------------------------------------
  175. ! by default, load nothing;
  176. ! processes will set flags if meteo is needed:
  177. meteo.read.*.* : F
  178. !----------------------------------------------------------
  179. ! ** temporal interpolation
  180. !----------------------------------------------------------
  181. !
  182. ! Temporal interpolation is defined first by general key:
  183. !
  184. ! meteo.tinterp.* : const6
  185. !
  186. ! Optionally, different settings might be chosen for specific meteo:
  187. !
  188. ! sp mflux_uv mflux_w temper humid cloud convec surf.inst surf.aver surf.day albedo sr
  189. !
  190. ! Possible time interpolations:
  191. ! o month : constant in month
  192. ! o const : constant
  193. ! o const24 : constant in 24hr intervals [00:00,24:00]
  194. ! o const6 : constant in 6hr intervals [21:00,03:00] [03:00,09:00] ...
  195. ! o const3 : constant in 3hr intervals [22:30,01:30] [01:30,04:30] ...
  196. ! o interp6 : interpoloated between 00, 06, 12, 18
  197. ! o interp6_3 : interpoloated between 03, 09, 15, 21
  198. ! o interp3 : interpoloated between 00, 03, 06, 09, 12, 15, 18, 21
  199. ! o aver6 : time averages over intervals ]00,06], [06,12], ...
  200. ! o aver3 : time averages over intervals [00,03], [03,06], ...
  201. ! o aver24 : time averages over interval [00,24]
  202. ! o aver24_3 : time averages over interval [21,21]
  203. !
  204. !
  205. ! ~~~ od meteo processed by TM5
  206. !
  207. ! ~ fc fields are 3 hourly instantaneous,
  208. ! except for the accumulated fields which have been averaged over 3 hour:
  209. meteo.tinterp.* : interp3
  210. meteo.tinterp.sfc.aver : aver3
  211. ! ~ an fields 6 hourly instantaneous,
  212. ! except oro and lsm which are constant:
  213. meteo.tinterp.sfc.an : interp6
  214. ! ~ constant
  215. meteo.tinterp.oro : const
  216. meteo.tinterp.lsm : const
  217. ! ~ surface roughness Olsson/Ganzeveld is per month:
  218. meteo.tinterp.srols : month
  219. #if "${tiedtke}" == "F":
  220. ! convec files
  221. meteo.tinterp.convec : aver3
  222. #endif
  223. !----------------------------------------------------------
  224. ! ** source keys : how to form a file name ?
  225. !----------------------------------------------------------
  226. !
  227. ! TMM requires keys on how to form a meteo filename.
  228. ! A key should be defined for each region (names are in 'dims_grid.F90'):
  229. !
  230. ! tmm.sourcekey.glb600x400.* : tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06
  231. !
  232. ! Optionally, some specific fields might be read from a different set:
  233. !
  234. ! tmm.sourcekey.glb600x400.sp : ecmwf:form=3hr;class=od;type=fc;nlev=60;sh=159;tres=_fc012up2tr3
  235. !
  236. ! Possible specific fields:
  237. !
  238. ! sp mflux_uv mflux_w temper humid cloud convec
  239. ! surf oro lsm albedo sr
  240. !
  241. ! Examples of source keys:
  242. !
  243. ! * tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06
  244. !
  245. ! Identifies the regular TMPP hdf files:
  246. ! xxxx/od-fc-2000-01-ml60-glb3x2-uvsp_20000101_21p06.hdf
  247. ! etc
  248. !
  249. ! * tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06;pathsep=\;namesep=\
  250. !
  251. ! Idem, but then for full Windows path names:
  252. ! xxxx\od\fc\2000\01\ml60\glb3x2\uvsp_20000101_21p06.hdf
  253. ! etc
  254. !
  255. ! * tm5-hdf:mdir=ec-fc012up2-ml60-tropo25-glb600x400;tres=_00p06
  256. !
  257. ! TM5 produced meteo files, hdf format.
  258. !
  259. ! * tm5-nc:mdir=ec-fc012up2-ml60-tropo25-glb600x400-<yyyy>;tres=_00p06
  260. !
  261. ! TM5 produced meteo files, netcdf format.
  262. ! The '<yyyy>' key will be replaced by the year.
  263. !
  264. ! * msc-data:nlev=71;sh=47;mdir=cmam;type=iau;tres=_6hrly;sp_unit=hPa
  265. !
  266. ! * ncep-gfs:
  267. ! * ncep-cdc:
  268. !
  269. #if "${my.meteo.format}" == "tm5-nc" :
  270. my.mext : -<yyyy>
  271. #else :
  272. my.mext :
  273. #endif
  274. !
  275. ! ~~~ TM5 produced
  276. !
  277. #if "${my.meteo.resol}" == "glb100x100" :
  278. !
  279. ! From global 1.00x1.00 set on all layers:
  280. tmm.sourcekey.*.* : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03;psep=/
  281. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03;psep=/
  282. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06;psep=/
  283. tmm.sourcekey.*.convec : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03;psep=/
  284. !
  285. #elif "${my.meteo.resol}" == "coarsened" :
  286. !
  287. ! Coarsened to zoom regions and combined layers:
  288. tmm.sourcekey.${my.region1}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03;psep=/
  289. tmm.sourcekey.${my.region1}.convec : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03;psep=/
  290. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${region.glbsfc}${my.mext};tres=_00p03;psep=/
  291. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${region.glbsfc}${my.mext};tres=_00p06;psep=/
  292. !
  293. #else
  294. #error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  295. #endif
  296. !----------------------------------------------------------
  297. ! ** install meteo files
  298. !----------------------------------------------------------
  299. ! location of meteo files;
  300. ! either a permanent archive, or a temporary scratch:
  301. tmm.dir : ${my.meteo.dir}
  302. ! Clean up the temporary meteo ?
  303. ! o Set the clean flag (T|F) such that files that have not been accessed
  304. ! for a long time are removed if a maximum buffer usage is exceeded.
  305. ! o specify a maximum size: 500k, 1M, 2G
  306. !
  307. tmm.dir.clean : F
  308. tmm.dir.size : 4G
  309. !
  310. ! Meteo files could be setup before the actual program is started.
  311. ! First set the main switch to apply this or not.
  312. ! If to be applied, specify details for a number of sets;
  313. ! each set can be applied by a seperate flag.
  314. !
  315. tmm.setup.apply : ${my.tmm.setup.apply}
  316. ! display progress ?
  317. tmm.setup.verbose : T
  318. ! file permission mode for newly created files:
  319. ! o user archive : 644
  320. ! o archive shared by group : 664
  321. tmm.setup.mode : 664
  322. ! number of sets defined below:
  323. !tmm.setup.nset : 5
  324. ! ** TM5 produced hdf/nc files:
  325. !
  326. tmm.setup.001.apply : T
  327. tmm.setup.001.files : oro lsm albedo sr srols veg
  328. !tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${region.glbsfc}${my.mext};tres=_00p06
  329. tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  330. tmm.setup.001.search : ${my.meteo.search}
  331. !
  332. tmm.setup.002.apply : T
  333. tmm.setup.002.files : ci cp d2m lsp sd skt blh slhf src sshf ssr sst ewss nsss swvl1 t2m u10m v10m
  334. !tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${region.glbsfc}${my.mext};tres=_00p03
  335. tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  336. tmm.setup.002.search : ${my.meteo.search}
  337. !
  338. #if "${my.meteo.resol}" == "glb100x100" :
  339. !
  340. ! number of sets defined below:
  341. tmm.setup.nset : 3
  342. !
  343. tmm.setup.003.apply : T
  344. #if "${tiedtke}" == "T":
  345. tmm.setup.003.files : sp mfuv mfw t q cld sub
  346. #else
  347. tmm.setup.003.files : sp mfuv mfw t q cld convec
  348. #endif
  349. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03
  350. tmm.setup.003.search : ${my.meteo.search}
  351. !
  352. #elif "${my.meteo.resol}" == "coarsened" :
  353. !
  354. ! number of sets defined below:
  355. tmm.setup.nset : 3
  356. !
  357. tmm.setup.003.apply : T
  358. #if "${tiedtke}" == "T":
  359. tmm.setup.003.files : sp mfuv mfw t q cld sub
  360. #else
  361. tmm.setup.003.files : sp mfuv mfw t q cld convec
  362. #endif
  363. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03
  364. tmm.setup.003.search : ${my.meteo.search}
  365. !
  366. #else
  367. #error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  368. #endif
  369. !================================================
  370. ! ** output meteo
  371. !================================================
  372. ! Write output (T/F)?
  373. tmm.output : F
  374. ! Write all fields (T/F)?
  375. tmm.output.* : F
  376. ! Write all fields (T/F)?
  377. tmm.output.*.ml : F
  378. ! ~ surface fields on global surface region:
  379. tmm.output.${my.region1}.sfc : F
  380. tmm.destkey.${my.region1}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1}${my.mext};tres=_00p03
  381. tmm.destkey.${my.region1}.sfc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${my.region1}${my.mext};tres=_00p03
  382. tmm.destkey.${my.region1}.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${my.region1}${my.mext};tres=_00p06
  383. ! TM5 writes new meteo files to:
  384. tmm.output.dir : ${my.scratch}/tm5_meteo_in
  385. ! ensure creation via 'install' facilty:
  386. tmm.output.install.dir : ${tmm.output.dir}
  387. !----------------------------------------------------------
  388. ! ** CF conventions
  389. !----------------------------------------------------------
  390. ! file with standard name table:
  391. #if "${my.meteo.format}" == "tm5-nc"
  392. cf-standard-name-table : ${PWD}/tools/cf/data/cf-standard-name-table-v15.xml
  393. !cf-standard-name-table : /scratch/ms/nl/nm6/cf-standard-name-table-v15.xml
  394. #endif