pywws.service.metoffice
Upload weather data to UK Met Office “WOW”.
The UK Met Office runs a Weather Observations Website (WOW) that displays readings from amateur and official weather stations. This module uploads data to it from pywws. You can upload “logged” or “live” data (or both). The module ensures there is at least 5 minutes between each reading as required by the API.
Create account: https://register.metoffice.gov.uk/WaveRegistrationClient/public/newaccount.do?service=weatherobservations
API: http://wow.metoffice.gov.uk/support/dataformats#automatic
Additional dependency: http://docs.python-requests.org/
Example
weather.ini
configuration:[metoffice] site id = 12345678 aws pin = 987654 [logged] services = ['metoffice', 'underground'] [live] services = ['metoffice', 'underground']
Note that a site id
allocated since June 2016 will probably look
like 6a571450-df53-e611-9401-0003ff5987fd
.
Classes
|
Comments or questions? Please subscribe to the pywws mailing list http://groups.google.com/group/pywws and let us know.