comparison config.fetch_weather.example @ 447:11124f9bf994

fetch_weather: Instead of checking the latest static metadata update timestamp against the weather data XML, have a setting of days until the metadata is considered stale. This is because the new REST/JSON API does not provide the metadata updated timestamp anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 28 Sep 2017 15:19:09 +0300
parents ba559d5d44db
children b352722e8717
comparison
equal deleted inserted replaced
446:ba559d5d44db 447:11124f9bf994
20 opt_tiehallinto = 1 20 opt_tiehallinto = 1
21 21
22 ## Tiehallinto static meta data file + path 22 ## Tiehallinto static meta data file + path
23 tiehallinto_meta = "/some/path/weather.tiehallinto.meta" 23 tiehallinto_meta = "/some/path/weather.tiehallinto.meta"
24 24
25 # Fetch period for static meta data (in days)
26 tiehallinto_meta_period = 7
27
25 ## 28 ##
26 ## Enable/disable open data access from FMI 29 ## Enable/disable open data access from FMI
27 ## You will need to obtain an API key, refer to 30 ## You will need to obtain an API key, refer to
28 ## https://ilmatieteenlaitos.fi/avoin-data 31 ## https://ilmatieteenlaitos.fi/avoin-data
29 ## 32 ##