An automatic device for dynamic calibration of tipping bucket rain gauges