pycasso-meteo-tm5-ei-nc-noninterpolated_ct_emis.rc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  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. ! specials to preserve pre-computed emissions:
  205. meteo.tinterp.t2m : const3
  206. meteo.tinterp.ssr : aver3
  207. meteo.tinterp.u10m : const3
  208. meteo.tinterp.v10m : const3
  209. meteo.tinterp.sfc.aver : aver3
  210. ! ~ an fields 6 hourly instantaneous,
  211. ! except oro and lsm which are constant:
  212. meteo.tinterp.sfc.an : interp6
  213. ! ~ constant
  214. meteo.tinterp.oro : const
  215. meteo.tinterp.lsm : const
  216. ! ~ surface roughness Olsson/Ganzeveld is per month:
  217. meteo.tinterp.srols : month
  218. !----------------------------------------------------------
  219. ! ** source keys : how to form a file name ?
  220. !----------------------------------------------------------
  221. !
  222. ! TMM requires keys on how to form a meteo filename.
  223. ! A key should be defined for each region (names are in 'dims_grid.F90'):
  224. !
  225. ! tmm.sourcekey.glb600x400.* : tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06
  226. !
  227. ! Optionally, some specific fields might be read from a different set:
  228. !
  229. ! tmm.sourcekey.glb600x400.sp : ecmwf:form=3hr;class=od;type=fc;nlev=60;sh=159;tres=_fc012up2tr3
  230. !
  231. ! Possible specific fields:
  232. !
  233. ! sp mflux_uv mflux_w temper humid cloud convec
  234. ! surf oro lsm albedo sr
  235. !
  236. ! Examples of source keys:
  237. !
  238. ! * tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06
  239. !
  240. ! Identifies the regular TMPP hdf files:
  241. ! xxxx/od-fc-2000-01-ml60-glb3x2-uvsp_20000101_21p06.hdf
  242. ! etc
  243. !
  244. ! * tmpp:class=od;type=fc;levs=ml60;grid=glb3x2;tres=_21p06;pathsep=\;namesep=\
  245. !
  246. ! Idem, but then for full Windows path names:
  247. ! xxxx\od\fc\2000\01\ml60\glb3x2\uvsp_20000101_21p06.hdf
  248. ! etc
  249. !
  250. ! * tm5-hdf:mdir=ec-fc012up2-ml60-tropo25-glb600x400;tres=_00p06
  251. !
  252. ! TM5 produced meteo files, hdf format.
  253. !
  254. ! * tm5-nc:mdir=ec-fc012up2-ml60-tropo25-glb600x400-<yyyy>;tres=_00p06
  255. !
  256. ! TM5 produced meteo files, netcdf format.
  257. ! The '<yyyy>' key will be replaced by the year.
  258. !
  259. ! * msc-data:nlev=71;sh=47;mdir=cmam;type=iau;tres=_6hrly;sp_unit=hPa
  260. !
  261. ! * ncep-gfs:
  262. ! * ncep-cdc:
  263. !
  264. #if "${my.meteo.format}" == "tm5-nc" :
  265. my.mext :
  266. ! -<yyyy>
  267. #else :
  268. my.mext :
  269. #endif
  270. !
  271. ! ~~~ TM5 produced
  272. !
  273. #if "${my.meteo.resol}" == "glb100x100" :
  274. !
  275. ! From global 1.00x1.00 set on all layers:
  276. tmm.sourcekey.*.* : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03
  277. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  278. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  279. !
  280. #elif "${my.meteo.resol}" == "coarsened" :
  281. !
  282. ! Coarsened to zoom regions and combined layers:
  283. tmm.sourcekey.${my.region1}.ml : ${my.meteo.format}:mdir=${my.region1m}/ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03
  284. #if len("${${my.region2m}") > 0 :
  285. tmm.sourcekey.${my.region2}.ml : ${my.meteo.format}:mdir=${my.region2m}/ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region2m}${my.mext};tres=_00p03
  286. #endif
  287. #if len("${${my.region3m}") > 0 :
  288. tmm.sourcekey.${my.region3}.ml : ${my.meteo.format}:mdir=${my.region3m}/ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region3m}${my.mext};tres=_00p03
  289. #endif
  290. !#if len("${${my.region4m}") > 0 :
  291. !tmm.sourcekey.${my.region4}.ml : ${my.meteo.format}:mdir=${my.region4m}/ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region4m}${my.mext};tres=_00p03
  292. !#endif
  293. !#if len("${${my.region5m}") > 0 :
  294. !tmm.sourcekey.${my.region5}.ml : ${my.meteo.format}:mdir=${my.region5m}/ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region5m}${my.mext};tres=_00p03
  295. !#endif
  296. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=glb100x100/ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${region.glbsfc}${my.mext};tres=_00p03
  297. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=glb100x100/ec-${my.ecclass_ecl}-an0tr6-sfc-${region.glbsfc}${my.mext};tres=_00p06
  298. !
  299. #else
  300. !#error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  301. #endif
  302. #if "${my.meteo.resol}" == "glb600x400" :
  303. !
  304. ! From global 1.00x1.00 set on all layers:
  305. tmm.sourcekey.${my.region1}.ml : ${my.meteo.format}:mdir=${my.region1m}/ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-${my.region1m}${my.mext};tres=_00p03
  306. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=glb100x100/ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  307. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=glb100x100/ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  308. #endif
  309. !----------------------------------------------------------
  310. ! ** install meteo files
  311. !----------------------------------------------------------
  312. ! location of meteo files;
  313. ! either a permanent archive, or a temporary scratch:
  314. tmm.dir : ${my.meteo.dir}
  315. ! Clean up the temporary meteo ?
  316. ! o Set the clean flag (T|F) such that files that have not been accessed
  317. ! for a long time are removed if a maximum buffer usage is exceeded.
  318. ! o specify a maximum size: 500k, 1M, 2G
  319. !
  320. tmm.dir.clean : F
  321. tmm.dir.size : 4G
  322. !
  323. ! Meteo files could be setup before the actual program is started.
  324. ! First set the main switch to apply this or not.
  325. ! If to be applied, specify details for a number of sets;
  326. ! each set can be applied by a seperate flag.
  327. !
  328. tmm.setup.apply : ${my.tmm.setup.apply}
  329. ! display progress ?
  330. tmm.setup.verbose : T
  331. ! file permission mode for newly created files:
  332. ! o user archive : 644
  333. ! o archive shared by group : 664
  334. tmm.setup.mode : 664
  335. ! number of sets defined below:
  336. !tmm.setup.nset : 5
  337. ! ** TM5 produced hdf files:
  338. !
  339. tmm.setup.001.apply : T
  340. tmm.setup.001.files : oro lsm albedo sr srols veg
  341. !tmm.setup.001.files : oro lsm sr srols
  342. tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  343. !tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb600x400${my.mext};tres=_00p06
  344. tmm.setup.001.search : ${my.meteo.search}
  345. !
  346. tmm.setup.002.apply : T
  347. tmm.setup.002.files : ci cp d2m lsp sd skt blh slhf src sshf ssr sst ewss nsss swvl1 t2m u10m v10m
  348. !tmm.setup.002.files : ewss nsss sshf slhf u10m v10m
  349. tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  350. !tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb600x400${my.mext};tres=_00p03
  351. tmm.setup.002.search : ${my.meteo.search}
  352. !
  353. #if "${my.meteo.resol}" == "glb100x100" :
  354. !
  355. ! number of sets defined below:
  356. tmm.setup.nset : 3
  357. !
  358. tmm.setup.003.apply : T
  359. tmm.setup.003.files : sp mfuv mfw t q cld sub
  360. !tmm.setup.003.files : sp mfuv mfw t q sub
  361. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03
  362. tmm.setup.003.search : ${my.meteo.search}
  363. !
  364. #elif "${my.meteo.resol}" == "coarsened" :
  365. !
  366. ! number of sets defined below:
  367. tmm.setup.nset : 5
  368. !
  369. tmm.setup.003.apply : T
  370. tmm.setup.003.files : sp mfuv mfw t q cld sub
  371. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03
  372. tmm.setup.003.search : ${my.meteo.search}
  373. !
  374. #if len("${${my.region2m}") > 0 :
  375. tmm.setup.004.apply : T
  376. tmm.setup.004.files : sp mfuv mfw t q cld sub
  377. tmm.setup.004.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region2m}${my.mext};tres=_00p03
  378. tmm.setup.004.search : ${my.meteo.search}
  379. #else :
  380. tmm.setup.004.apply : F
  381. #endif
  382. !
  383. #if len("${${my.region3m}") > 0 :
  384. tmm.setup.005.apply : T
  385. tmm.setup.005.files : sp mfuv mfw t q cld sub
  386. tmm.setup.005.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region3m}${my.mext};tres=_00p03
  387. tmm.setup.005.search : ${my.meteo.search}
  388. #else :
  389. tmm.setup.005.apply : F
  390. #endif
  391. !
  392. #else
  393. !#error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  394. #endif
  395. #if "${my.meteo.resol}" == "glb600x400" :
  396. !
  397. ! number of sets defined below:
  398. tmm.setup.nset : 3
  399. !
  400. tmm.setup.003.apply : T
  401. tmm.setup.003.files : sp mfuv mfw t q cld sub
  402. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-${my.region1m}${my.mext};tres=_00p03
  403. tmm.setup.003.search : ${my.meteo.search}
  404. #endif
  405. !----------------------------------------------------------
  406. ! ** CF conventions
  407. !----------------------------------------------------------
  408. ! file with standard name table:
  409. #if "${my.meteo.format}" == "tm5-nc"
  410. cf-standard-name-table : /Users/ivar/Modeling/TM5/tools/cf/data/cf-standard-name-table-v15.xml
  411. #endif