pycasso-meteo-tm5-ei-nc2.rc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  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. ! and set class variable for filenames
  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. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  144. #elif "${my.meteo.class}" == "ei" :
  145. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  146. ! ~ era interim
  147. my.meteo.nlev : 60
  148. my.ecclass_ecl : ${my.meteo.class}
  149. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  150. #else :
  151. #error "unsupported meteo class : ${my.meteo.class}"
  152. #endif
  153. !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154. !previously ECLEVS:
  155. my.eclevs : tropo25 !ml${my.meteo.nlev}
  156. !----------------------------------------------------------
  157. ! ** name for choice of number of model levels (previously LEVS)
  158. !----------------------------------------------------------
  159. #if "${my.levs}" in ["all",""] :
  160. my.mlevs : ml${my.meteo.nlev}
  161. #elif "${my.levs}" in ["tropo25","tropo31","tropo34","ml40"] :
  162. my.mlevs : ${my.levs}
  163. #else :
  164. #error "unsupported number of model levels : ${my.levs}"
  165. #endif
  166. !----------------------------------------------------------
  167. ! ** which files should be read ?
  168. !----------------------------------------------------------
  169. ! by default, load nothing;
  170. ! processes will set flags if meteo is needed:
  171. meteo.read.*.* : F
  172. !----------------------------------------------------------
  173. ! ** temporal interpolation
  174. !----------------------------------------------------------
  175. !
  176. ! Temporal interpolation is defined first by general key:
  177. !
  178. ! meteo.tinterp.* : const6
  179. !
  180. ! Optionally, different settings might be chosen for specific meteo:
  181. !
  182. ! sp mflux_uv mflux_w temper humid cloud convec surf.inst surf.aver surf.day albedo sr
  183. !
  184. ! Possible time interpolations:
  185. ! o month : constant in month
  186. ! o const : constant
  187. ! o const24 : constant in 24hr intervals [00:00,24:00]
  188. ! o const6 : constant in 6hr intervals [21:00,03:00] [03:00,09:00] ...
  189. ! o const3 : constant in 3hr intervals [22:30,01:30] [01:30,04:30] ...
  190. ! o interp6 : interpoloated between 00, 06, 12, 18
  191. ! o interp6_3 : interpoloated between 03, 09, 15, 21
  192. ! o interp3 : interpoloated between 00, 03, 06, 09, 12, 15, 18, 21
  193. ! o aver6 : time averages over intervals ]00,06], [06,12], ...
  194. ! o aver3 : time averages over intervals [00,03], [03,06], ...
  195. ! o aver24 : time averages over interval [00,24]
  196. ! o aver24_3 : time averages over interval [21,21]
  197. !
  198. !
  199. ! ~~~ od meteo processed by TM5
  200. !
  201. ! ~ fc fields are 3 hourly instantaneous,
  202. ! except for the accumulated fields which have been averaged over 3 hour:
  203. meteo.tinterp.* : interp3
  204. meteo.tinterp.sfc.aver : aver3
  205. ! ~ an fields 6 hourly instantaneous,
  206. ! except oro and lsm which are constant:
  207. meteo.tinterp.sfc.an : interp6
  208. ! ~ constant
  209. meteo.tinterp.oro : const
  210. meteo.tinterp.lsm : const
  211. ! ~ surface roughness Olsson/Ganzeveld is per month:
  212. meteo.tinterp.srols : month
  213. !----------------------------------------------------------
  214. ! ** source keys : how to form a file name ?
  215. !----------------------------------------------------------
  216. !
  217. ! TMM requires keys on how to form a meteo filename.
  218. ! A key should be defined for each region (names are in 'dims_grid.F90'):
  219. !
  220. ! tmm.sourcekey.glb600x400.* : tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06
  221. !
  222. ! Optionally, some specific fields might be read from a different set:
  223. !
  224. ! tmm.sourcekey.glb600x400.sp : ecmwf:form=3hr;class=od;type=fc;nlev=60;sh=159;tres=_fc012up2tr3
  225. !
  226. ! Possible specific fields:
  227. !
  228. ! sp mflux_uv mflux_w temper humid cloud convec
  229. ! surf oro lsm albedo sr
  230. !
  231. ! Examples of source keys:
  232. !
  233. ! * tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06
  234. !
  235. ! Identifies the regular TMPP hdf files:
  236. ! xxxx/od-fc-2000-01-ml60-glb3x2-uvsp_20000101_21p06.hdf
  237. ! etc
  238. !
  239. ! * tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06;pathsep=\;namesep=\
  240. !
  241. ! Idem, but then for full Windows path names:
  242. ! xxxx\od\fc\2000\01\ml60\glb3x2\uvsp_20000101_21p06.hdf
  243. ! etc
  244. !
  245. ! * tm5-hdf:mdir=ec-fc012up2-ml60-tropo25-glb600x400;tres=_00p06
  246. !
  247. ! TM5 produced meteo files, hdf format.
  248. !
  249. ! * tm5-nc:mdir=ec-fc012up2-ml60-tropo25-glb600x400-<yyyy>;tres=_00p06
  250. !
  251. ! TM5 produced meteo files, netcdf format.
  252. ! The '<yyyy>' key will be replaced by the year.
  253. !
  254. ! * msc-data:nlev=71;sh=47;mdir=cmam;type=iau;tres=_6hrly;sp_unit=hPa
  255. !
  256. ! * ncep-gfs:
  257. ! * ncep-cdc:
  258. !
  259. #if "${my.meteo.format}" == "tm5-nc" :
  260. my.mext :
  261. ! -<yyyy>
  262. #else :
  263. my.mext :
  264. #endif
  265. !
  266. ! ~~~ TM5 produced
  267. !
  268. #if "${my.meteo.resol}" == "glb100x100" :
  269. !
  270. ! From global 1.00x1.00 set on all layers:
  271. tmm.sourcekey.*.* : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03
  272. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  273. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  274. !
  275. #elif "${my.meteo.resol}" == "coarsened" :
  276. !
  277. ! Coarsened to zoom regions and combined layers:
  278. tmm.sourcekey.${my.region1}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03
  279. #if len("${my.region2m}") > 0 :
  280. tmm.sourcekey.${my.region2}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region2m}${my.mext};tres=_00p03
  281. #endif
  282. #if len("${my.region3m}") > 0 :
  283. tmm.sourcekey.${my.region3}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region3m}${my.mext};tres=_00p03
  284. #endif
  285. #if len("${my.region4m}") > 0 :
  286. tmm.sourcekey.${my.region4}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region4m}${my.mext};tres=_00p03
  287. #endif
  288. #if len("${my.region5m}") > 0 :
  289. tmm.sourcekey.${my.region5}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region5m}${my.mext};tres=_00p03
  290. #endif
  291. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${region.glbsfc}${my.mext};tres=_00p03
  292. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${region.glbsfc}${my.mext};tres=_00p06
  293. !
  294. #else
  295. !#error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  296. #endif
  297. #if "${my.meteo.resol}" == "glb600x400" :
  298. !
  299. ! From global 1.00x1.00 set on all layers:
  300. tmm.sourcekey.${my.region1}.ml : ${my.meteo.format}:mdir=${my.region1m}/ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-${my.region1m}${my.mext};tres=_00p03
  301. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=glb100x100/ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  302. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=glb100x100/ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  303. #endif
  304. !----------------------------------------------------------
  305. ! ** install meteo files
  306. !----------------------------------------------------------
  307. ! location of meteo files;
  308. ! either a permanent archive, or a temporary scratch:
  309. tmm.dir : ${my.meteo.dir}
  310. ! Clean up the temporary meteo ?
  311. ! o Set the clean flag (T|F) such that files that have not been accessed
  312. ! for a long time are removed if a maximum buffer usage is exceeded.
  313. ! o specify a maximum size: 500k, 1M, 2G
  314. !
  315. tmm.dir.clean : F
  316. tmm.dir.size : 4G
  317. !
  318. ! Meteo files could be setup before the actual program is started.
  319. ! First set the main switch to apply this or not.
  320. ! If to be applied, specify details for a number of sets;
  321. ! each set can be applied by a seperate flag.
  322. !
  323. tmm.setup.apply : ${my.tmm.setup.apply}
  324. ! display progress ?
  325. tmm.setup.verbose : T
  326. ! file permission mode for newly created files:
  327. ! o user archive : 644
  328. ! o archive shared by group : 664
  329. tmm.setup.mode : 664
  330. tmm.setup.transfermode : copy
  331. ! number of sets defined below:
  332. !tmm.setup.nset : 5
  333. ! ** TM5 produced hdf files:
  334. !
  335. tmm.setup.001.apply : T
  336. tmm.setup.001.files : oro lsm albedo sr srols veg
  337. !tmm.setup.001.files : oro lsm sr srols
  338. tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  339. !tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb600x400${my.mext};tres=_00p06
  340. tmm.setup.001.search : ${my.meteo.search}/glb100x100
  341. !
  342. tmm.setup.002.apply : T
  343. tmm.setup.002.files : ci cp d2m lsp sd skt blh slhf src sshf ssr sst ewss nsss swvl1 t2m u10m v10m
  344. !tmm.setup.002.files : ewss nsss sshf slhf u10m v10m
  345. tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  346. !tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb600x400${my.mext};tres=_00p03
  347. tmm.setup.002.search : ${my.meteo.search}/glb100x100
  348. !
  349. #if "${my.meteo.resol}" == "glb100x100" :
  350. !
  351. ! number of sets defined below:
  352. tmm.setup.nset : 3
  353. !
  354. tmm.setup.003.apply : T
  355. tmm.setup.003.files : sp mfuv mfw t q cld sub
  356. !tmm.setup.003.files : sp mfuv mfw t q sub
  357. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03
  358. tmm.setup.003.search : ${my.meteo.search}
  359. !
  360. #elif "${my.meteo.resol}" == "coarsened" :
  361. !
  362. ! number of sets defined below:
  363. tmm.setup.nset : 5
  364. !
  365. tmm.setup.003.apply : T
  366. tmm.setup.003.files : sp mfuv mfw t q cld sub
  367. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03
  368. tmm.setup.003.search : ${my.meteo.search}/${my.region1m}
  369. !
  370. #if not("${my.region2m}" == "") :
  371. tmm.setup.004.apply : T
  372. tmm.setup.004.files : sp mfuv mfw t q cld sub
  373. tmm.setup.004.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region2m}${my.mext};tres=_00p03
  374. tmm.setup.004.search : ${my.meteo.search}/${my.region2m}
  375. #else :
  376. tmm.setup.004.apply : F
  377. #endif
  378. !
  379. #if not("${my.region3m}" == "") :
  380. tmm.setup.005.apply : T
  381. tmm.setup.005.files : sp mfuv mfw t q cld sub
  382. tmm.setup.005.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region3m}${my.mext};tres=_00p03
  383. tmm.setup.005.search : ${my.meteo.search}/${my.region3m}
  384. #else :
  385. tmm.setup.005.apply : F
  386. #endif
  387. !
  388. #else
  389. !#error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  390. #endif
  391. #if "${my.meteo.resol}" == "glb600x400" :
  392. !
  393. ! number of sets defined below:
  394. tmm.setup.nset : 3
  395. !
  396. tmm.setup.003.apply : T
  397. tmm.setup.003.files : sp mfuv mfw t q cld sub
  398. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-${my.region1m}${my.mext};tres=_00p03
  399. tmm.setup.003.search : ${my.meteo.search}
  400. #endif
  401. !----------------------------------------------------------
  402. ! ** CF conventions
  403. !----------------------------------------------------------
  404. ! file with standard name table:
  405. #if "${my.meteo.format}" == "tm5-nc"
  406. cf-standard-name-table : /home/ivdvelde/Modeling/TM5/tools/cf/data/cf-standard-name-table-v15.xml
  407. #endif