https://1library.org/document/ynee4ely-tipping-bucket-prototype-automatic-quantification-surface-runoff-plots.html