Python programs and modules

Set up and configure pywws

pywws.testweatherstation Test connection to weather station.
pywws.setweatherstation Set some weather station parameters.
pywws.version Display pywws version information.
pywws.reprocess Regenerate hourly and daily summary data.
pywws.usbtest Test quality of USB connection to weather station
pywws.mergeewdata Convert EasyWeather.dat data to pywws format

Get data and process it

pywws.hourly Get weather data, process it, prepare graphs & text files and upload to a web site.
pywws.livelog Get weather data, store it, and process it.
pywws.livelogdaemon Run ‘live logging’ as a UNIX daemon.

Upload data to online “services”

pywws.service.cwop Upload weather data to Citizen Weather Observer Program.
pywws.service.metoffice Upload weather data to UK Met Office “WOW”.
pywws.service.mqtt Upload weather data to MQTT message broker.
pywws.service.openweathermap Upload weather data to Open Weather Map.
pywws.service.pwsweather Upload weather data to PWS Weather.
pywws.service.temperaturnu Upload current temperature to
pywws.service.underground Upload data to Weather Underground.
pywws.service.wetterarchivde Upload weather data to

“Internal” modules

pywws.regulartasks Routines to perform common tasks such as plotting gaphs or uploading files.
pywws.logdata Save weather station history to file
pywws.process Generate hourly, daily & monthly summaries of raw weather station data
pywws.calib Calibrate raw weather station data
pywws.plot Plot graphs of weather data according to an XML recipe
pywws.windrose Plot a “wind rose”
pywws.template Create text data file based on a template
pywws.forecast Predict future weather using recent data
pywws.towebsite Upload files to a web server by ftp or copy them to a local directory
pywws.totwitter Post a message to Twitter.
pywws.weatherstation Get data from WH1080/WH3080 compatible weather stations.
pywws.device_libusb1 Low level USB interface to weather station, using python-libusb1.
pywws.device_pyusb1 Low level USB interface to weather station, using PyUSB v1.0.
pywws.device_pyusb Low level USB interface to weather station, using PyUSB v0.4.
pywws.device_ctypes_hidapi Low level USB interface to weather station, using ctypes to access hidapi.
pywws.device_cython_hidapi Low level USB interface to weather station, using cython-hidapi. Store parameters and weather data in easy to access files
pywws.timezone Provide a couple of datetime.tzinfo compatible objects representing local time and UTC.
pywws.localisation Provide translations of strings into local language
pywws.conversions - a set of functions to convert pywws native units (Centigrade, mm, m/s, hPa) to other popular units
pywws.logger Configure Python logging system
pywws.constants Bits of data used in several places.

Comments or questions? Please subscribe to the pywws mailing list and let us know.