pycasso-meteo-tm5-maunaloa.rc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  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 : 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 : -<yyyy>
  261. #else :
  262. my.mext :
  263. #endif
  264. !
  265. ! ~~~ TM5 produced
  266. !
  267. #if "${my.meteo.resol}" == "glb100x100" :
  268. !
  269. ! From global 1.00x1.00 set on all layers:
  270. tmm.sourcekey.*.* : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03
  271. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  272. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  273. !
  274. #elif "${my.meteo.resol}" == "coarsened" :
  275. !
  276. ! Coarsened to zoom regions and combined layers:
  277. tmm.sourcekey.${my.region1}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03
  278. #if len("${${my.region2m}") > 0 :
  279. tmm.sourcekey.${my.region2}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region2m}${my.mext};tres=_00p03
  280. #endif
  281. #if len("${${my.region3m}") > 0 :
  282. tmm.sourcekey.${my.region3}.ml : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region3m}${my.mext};tres=_00p03
  283. #endif
  284. tmm.sourcekey.*.sfc.fc : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${region.glbsfc}${my.mext};tres=_00p03
  285. tmm.sourcekey.*.sfc.an : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${region.glbsfc}${my.mext};tres=_00p06
  286. !
  287. #else
  288. #error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  289. #endif
  290. !----------------------------------------------------------
  291. ! ** install meteo files
  292. !----------------------------------------------------------
  293. ! location of meteo files;
  294. ! either a permanent archive, or a temporary scratch:
  295. tmm.dir : ${my.meteo.dir}/meteo-buffer
  296. ! Clean up the temporary meteo ?
  297. ! o Set the clean flag (T|F) such that files that have not been accessed
  298. ! for a long time are removed if a maximum buffer usage is exceeded.
  299. ! o specify a maximum size: 500k, 1M, 2G
  300. !
  301. tmm.dir.clean : F
  302. tmm.dir.size : 4G
  303. !
  304. ! Meteo files could be setup before the actual program is started.
  305. ! First set the main switch to apply this or not.
  306. ! If to be applied, specify details for a number of sets;
  307. ! each set can be applied by a seperate flag.
  308. !
  309. tmm.setup.apply : ${my.tmm.setup.apply}
  310. ! display progress ?
  311. tmm.setup.verbose : T
  312. ! file permission mode for newly created files:
  313. ! o user archive : 644
  314. ! o archive shared by group : 664
  315. tmm.setup.mode : 664
  316. ! number of sets defined below:
  317. !tmm.setup.nset : 5
  318. ! ** TM5 produced hdf files:
  319. !
  320. tmm.setup.001.apply : T
  321. tmm.setup.001.files : oro lsm albedo sr srols veg
  322. !tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-${region.glbsfc}${my.mext};tres=_00p06
  323. tmm.setup.001.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-an0tr6-sfc-glb100x100${my.mext};tres=_00p06
  324. tmm.setup.001.search : ${my.meteo.search}
  325. !
  326. tmm.setup.002.apply : T
  327. tmm.setup.002.files : ci cp d2m lsp sd skt blh slhf src sshf ssr sst ewss nsss swvl1 t2m u10m v10m
  328. !tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-${region.glbsfc}${my.mext};tres=_00p03
  329. tmm.setup.002.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-sfc-glb100x100${my.mext};tres=_00p03
  330. tmm.setup.002.search : ${my.meteo.search}
  331. !
  332. #if "${my.meteo.resol}" == "glb100x100" :
  333. !
  334. ! number of sets defined below:
  335. tmm.setup.nset : 3
  336. !
  337. tmm.setup.003.apply : T
  338. tmm.setup.003.files : sp mfuv mfw t q cld sub
  339. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.eclevs}-glb100x100${my.mext};tres=_00p03
  340. tmm.setup.003.search : ${my.meteo.search}
  341. !
  342. #elif "${my.meteo.resol}" == "coarsened" :
  343. !
  344. ! number of sets defined below:
  345. tmm.setup.nset : 5
  346. !
  347. tmm.setup.003.apply : T
  348. tmm.setup.003.files : sp mfuv mfw t q cld sub
  349. tmm.setup.003.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region1m}${my.mext};tres=_00p03
  350. tmm.setup.003.search : ${my.meteo.search}
  351. !
  352. #if len("${${my.region2m}") > 0 :
  353. tmm.setup.004.apply : T
  354. tmm.setup.004.files : sp mfuv mfw t q cld sub
  355. tmm.setup.004.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region2m}${my.mext};tres=_00p03
  356. tmm.setup.004.search : ${my.meteo.search}
  357. #else :
  358. tmm.setup.004.apply : F
  359. #endif
  360. !
  361. #if len("${${my.region3m}") > 0 :
  362. tmm.setup.005.apply : T
  363. tmm.setup.005.files : sp mfuv mfw t q cld sub
  364. tmm.setup.005.sources : ${my.meteo.format}:mdir=ec-${my.ecclass_ecl}-fc012up2tr3-${my.mlevs}-${my.region3m}${my.mext};tres=_00p03
  365. tmm.setup.005.search : ${my.meteo.search}
  366. #else :
  367. tmm.setup.005.apply : F
  368. #endif
  369. !
  370. #else
  371. #error "unsupported value of my.meteo.resol : ${my.meteo.resol}"
  372. #endif
  373. !----------------------------------------------------------
  374. ! ** CF conventions
  375. !----------------------------------------------------------
  376. ! file with standard name table:
  377. #if "${my.meteo.format}" == "tm5-nc"
  378. cf-standard-name-table : ${PWD}/tools/cf/data/cf-standard-name-table-v15.xml
  379. #endif