Regarding pip install issues documented here 
<https://groups.google.com/g/weewx-user/c/AsMs4tn7P80>, I started to update 
weewx-DWD <https://github.com/roe-dl/weewx-DWD>.

Several weather services provide maps and other graphic and text files for 
general use. They can be used to enhance private weather websites. But some 
of them state in their conditions, that it is not allowed to link to those 
files directly for load reasons. Instead you have to download the files and 
provide a copy of it on your own web server. 

For that purpose a new module in weewx-DWD 
<https://github.com/roe-dl/weewx-DWD> checks for updates at user defined 
URLs. If an update is observed, the file is downloaded to a directory 
within the skin of the user's choice. This is all done just before the end 
of the archive interval. So the file is there when the report thread 
starts, and it is uploaded to the user's web server together with the other 
files of the skin. This is all easy, only specify the URL, and that is it.

Additionally encoding of the file can be changed in case of text files. For 
example, if the file is provided in ISO8859-1, and you need it with HTML 
entities, this module can do the conversion.

For some common data provided by the German Weather Service DWD there are 
shortcuts for the configuration. So you need not enter the whole URL for 
those cases.
But it is not only the german weather service, the module works with every 
weather service.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c65d5f29-3b9d-43c8-b1c5-0ed657bb6014n%40googlegroups.com.

Reply via email to