When’s it going to rain?

The wife and I decided to be better about bringing in the outside dog beds when it’s going to rain… But we needed to know when it might rain. So I threw together this script in 30 minutes last night to poll weather.gov and send me an email when more than 30% probability of rain was coming up. Granted it’s dirty but I thought I’d share it since it’s a good 60 minute intro to doing this kind of thing, might help someone in the future trying to understand the how DWML works…

https://gist.github.com/apokalyptik/5946350

One thought on “When’s it going to rain?

  1. you could also set an easy variable so the user could change if he wanted to be emailed when the probability is more than 40%, 20%…
    Nevertheless, it's a great neat idea of using weather forecast I never thought about.

Leave a Reply to MattCancel reply