4 ms·
This is pretty neat! I experimented with something like this in grad school to tell me when it was "safe" to walk home, by scraping the past hour's NOAA radar
by _delirium 15y ago
This is pretty neat!
I experimented with something like this in grad school to tell me when it was "safe" to walk home, by scraping the past hour's NOAA radar images, coursely gridding them as a poor man's way of reducing computational needs and noise, and throwing them into some regression algorithms to get a prediction of rain probability for [0,10] mins, [10,20] mins, etc. out to an hour.
It wasn't useless, but I gave up on it when it became clear that some significant computer-vision work was needed to get good accuracy, mainly object-tracking algorithms: correlating when a blob in one radar image is "the same" as a blob in a previous radar image, even though the blobs change shape/size semi-rapidly (and split and merge), in order to extract motion vectors. At least with the regression techniques I tried, it doesn't seem that they were able to implicitly extract the motion information from just the sequence of images as input data, because prediction was much better in a small set of images I manually labeled with motion vectors. Hopefully they have solutions for that!
In any case, I'd definitely use an app like this. I often predict short-term weather by pulling up one of those radar animations and extrapolating the motion of a storm in terms of "finger widths on monitor per 5 frames of animation" or something, which feels like a not-very-21st-century way of doing it.
- tel 15y agoCan you even get away with object tracking? It always seemed to me that there were a lot of latent phenomena you'd need to model in order to get the dynamics of cloud motion. There's wind producing a line linear drift, but also a lot of pressure and humidity interaction.
- _delirium 15y agoIf you want a real physical simulation, there's tons of stuff yeah, but on a short term you can find considerable statistical regularities just by looking at how things move, while being agnostic about why they move that way. Over a 30-minute period, storm tracks tend to be semi-regular (though varies by region); if a storm's been moving ESE at 3 mph, and you have a bunch of historical data, you can come up with a decent predictive distribution over its likely heading/speed for the next 30 minutes. The uncertainty in the distribution is basically where all the un-modeled physical phenomena fall. If uncertainty is too high, then you can try to add in more complex models, or additional data (e.g. wind readings at various points, in addition to radar images).
- tel 15y agoIt's always seemed to me that weather clouds don't seem to move as much as evolve directionally. That's where this intuition is coming from, though I suppose I'm not honestly surprised to find that gross motion is predictive as well.
- shalmanese 15y agoA quick-and-dirty way I've seen a friend do it is to compress the images into h.264 and then extract the motion vectors. It's not the optimal algorithm but it does a pretty serviceable job and you're building off a large body of previous image tracking work.
- DarkShikari 15y agoMVTools is a dedicated Avisynth plugin designed to detect real motion, which is probably more suitable. Encoders only minimize residual, not find real motion vectors.
- ryandvm 15y agoThis is basically the problem I solved with my own Android live wallpaper. I drive a Jeep and I was constantly frustrated with getting caught in the rain. So... I made a live wallpaper for my phone that would show the latest NOAA radar image for my area. I find that I can do a far better job of short term weather prediction with just a quick glance at my lock screen than I was getting by scanning short term forecasts. https://market.android.com/details?id=com.appidio.radarlivelite https://market.android.com/details?id=com.appidio.radarlivel... (That's the free version. The paid version animates the last 10 frames.)
- the_imp 15y agoI've set up something similar for myself, using WebLiveWallpaper to fetch a PNG of the latest local (Finnish) radar + temperature map. It's rather surprising how easily having a bird's-eye view of the weather sort of fades into the background of your consciousness and becomes an accepted fact. I use my phone often enough that it just feels like I have an extra sense that tells me what the weather's like. Very odd.