Mercurial > hg > egg-tcls
annotate config.fetch_weather.example @ 348:9f64f54c2fb3
Update example configuration.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 29 Oct 2015 15:51:17 +0200 |
parents | 9cf0c86e72b2 |
children | bc7746ca622e |
rev | line source |
---|---|
187 | 1 ### |
188 | 2 ### Example configuration for weather.tcl data fetcher |
3 ### script fetch_weather.pl. | |
187 | 4 ### |
5 | |
6 ## | |
7 ## Enable/disable data scraping from Tiehallinto's WWW-pages | |
8 ## | |
9 opt_tiehallinto = 1 | |
10 | |
348
9f64f54c2fb3
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
275
diff
changeset
|
11 ## Tiehallinto static meta data file + path |
9f64f54c2fb3
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
275
diff
changeset
|
12 tiehallinto_static_meta = "/some/path/weather.tiehallinto.meta" |
9f64f54c2fb3
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
275
diff
changeset
|
13 |
187 | 14 ## |
15 ## Enable/disable open data access from FMI | |
16 ## You will need to obtain an API key, refer to | |
17 ## https://ilmatieteenlaitos.fi/avoin-data | |
18 ## | |
19 opt_fmi = 0 | |
20 fmi_api_key = "" | |
21 | |
22 ## | |
23 ## Debug mode, outputs some stuff sometimes maybe | |
24 ## | |
25 debug = 1 | |
26 | |
27 ## | |
28 ## Path to the output file, should be same as set in weather.tcl | |
29 ## If NOT set, the script will output to stdout. | |
30 ## | |
348
9f64f54c2fb3
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
275
diff
changeset
|
31 outfile = "/some/path/weather.data" |
187 | 32 |
33 ## | |
34 ## HTTP user agent. If not set here, default will be used. | |
35 ## | |
36 #http_user_agent = "Mozilla/5.0 (foobar)" |