如果计算所得的降水像素超出阈值参数,则退出循环并输出“raining”状态。
If enough precipitation pixels have been counted to exceed the threshold parameter, exit the loops and write the "raining" status.
如果选项无效,则给出错误消息并退出。
如果getopt失败,例如在它无法识别某个选项的时候,则它会打印错误消息,并且该脚本将退出并显示用法信息。
If getopt fails, which occurs when it doesn't recognize an option, it prints an error message, and the script exits with a usage message.
应用推荐