Examples¶
Daily workflow¶
- Run
rainlogto open the TUI. - Press
nto log today's gauge reading (e.g.6.2mm). - Press
←to scroll back and review recent history.
Log a reading for a past date¶
- Press
nto open the Add Rain modal. - Change the date field to the target date (e.g.
2025-05-01). - Enter the amount and press Ctrl+S.
Back-fill dry days¶
If you have been away and want to fill a gap with zeros back to the previous record:
- Press
n. - Enter the date and amount for the most recent day.
- Toggle Back-fill zeros on.
- Press Ctrl+S — zeros are inserted for every missing day between this date and the previous logged record.
Correct a mistake¶
- Press
guntil grouping shows Daily. - Press
sto enter bar-select mode. - Use
←/→to highlight the incorrect day. - Press
e— the edit modal pre-fills the date and current amount. - Update the amount and press Ctrl+S.
Explore soil moisture¶
Press m to switch to soil-moisture index mode. The chart shows a decaying moving
sum — higher values mean the soil has received recent rain. Use g to compare trends
at weekly or monthly resolution.
Use a different database directory¶
All reads and writes go to ~/weather-data/rainlog.sqlite.