Analyzing your code for "update wind", I realized that mathematically it will eventually become fixed and stop changing.
This is because the variables that allow for a change - i and j - decline over time as you hit the limits of the wind ranges (10 and 20).
Nothing ever raises i or j, so eventually wind will become fixed at ~21 or ~9 and stop changing from then on until the map is reloaded.