Can the author supply a little more information on the calculations? I have compared results with another 'method of moment' software and found some differences in the results. Thanks.
27 Oct 2008
Wind_rose
Wind rose of direction and intensity
Author: M MA
Good, however it seems that the northern bin may have a bug. If I want 22.5 degree bins (nAngles=16), then the first bin is -11.25 to +11.25 (which is good). But the Ay breakdown and input data is from 0 to 360 (i.e., nothing from -11.25 to 0). So the northern bin is usually about half the size it should be.