If enough precipitation pixels have been counted to exceed the threshold parameter, exit the loops and write the "raining" status.
如果计算所得的降水像素超出阈值参数,则退出循环并输出“raining”状态。
A quick look outside shows this is obviously not the case, and the program shown below will compensate for this behavior by only detecting precipitation events of a certain threshold.
可是到外面一看,您会发现明显不是这么回事,并且下面所示的程序将通过仅检测降水情况的特定阈值来修正此行为。
If there are too few precipitation pixels to exceed the threshold parameter, print the "clear" status.
如果降水像素没有超出阈值参数,则打印“clear”状态。
应用推荐