Thank you so much. Your code is interesting and I like to compare it with my own settings: both are quite similar for the choice of colors up to 40 kt, but my setting steps are based on the Beaufort scale, without smoothing. Anyway, I consider both better than the default code.