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 Base classes for “service” uploaders.
pywws.service.ftp Upload files to a web server by FTP.
pywws.service.sftp Upload files to a web server by SFTP.
pywws.service.copy Copy files to another directory.
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 temperatur.nu.
pywws.service.underground Upload data to Weather Underground.
pywws.service.weathercloud Upload data to WeatherCloud.
pywws.service.wetterarchivde Upload weather data to wetter.com.
pywws.service.windy Upload data to Windy.
pywws.service.twitter Post messages to Twitter.
pywws.service.mastodon Post messages to Mastodon.

“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.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.
pywws.storage Store parameters in easy to access files, and access backend data
pywws.filedata Store weather data in easy to access files
pywws.sqlite3data Store weather data in an SQLite3 database file.
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 conversions.py - 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 http://groups.google.com/group/pywws and let us know.