Calculate number of hours with temperature higher then?


I need to calculate number of hours with average temperatue higher then 7°C.
I can calculate avwrage temperature per hour (by using calculate node)

But I dont know what next?
This node push one number every hour and when it push this number I need to compare it with number 7. If it is higher then 7, it will increase some auxiliary number by 1. That is my idea how it should work, but I dont know how to realize this.

Thanks for help or advice!

Off the top of my head - add a second "calculate node" but only pass messages to it when temperature is > 7 (use a switch node to achieve this).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.