Changing the rain gauge resolution: decoding the MeteoHelix® message format
QUESTION: How do I change the rain gauge resolution in the JavaScript decoder code when implementing it in my own web platform?
ANSWER: If you are set at using 0.2 mm resolution rain gauges, you can change one line in the code by multiplying the rain output by 0.2 as shown below. For other rain gauge resolutions, use the appropriate value based on your rain gauge.
NOTE: The MeteoHelix® sends unitless rain values. It sends the number of accumulated clicks of the rain gauge mechanism as recorded by its rain gauge input. 99 % of all automatic rain gauges use a reed switch mechanism that sends a signal (called a click) when a rain amount equivalent to the rain gauge resolution accumulates in the rain gauge. An advanced version of this type of mechanism is also used in the MeteoRain Compact rain gauges.