Skip to content

weather-tools documentation

Welcome. weather-tools is a small Python package that provides the rain command-line program: record daily rain totals in SQLite, plot history in the terminal, and optionally import data from a WeeWX archive database.

What you can do

  • Log rain in millimetres for calendar days (24 h blocks ending at 09:00 local time)
  • Correct entries with change
  • Plot totals or rainy-day counts in the terminal with plotext
  • Import daily rain from WeeWX archive_day_rain into the same SQLite schema

Example

rain add 12.5
rain graph --size 14 --group weekly

License

Licensed under AGPL-3.0-or-later.