Python module for creating a Waverose - an adapted windrose. Expects two Numpy arrays of equal length to be passed.
import waverose import numpy # Second numpy array represents directions, First values for the color # banding, ylim represents fixed radius waverose.WaveRose(np.arange(0,10,0.112),np.arange(0,360,4),"Test",ylim=18)
One array for the values which will be represented in the binned colours. Typically significant wave height or wave power. The second array being the corresponding directions in degrees.
By default radial position indicates percentage of occurence within that directional bin, nsectors defines directional binning, colour bin values can be passed on call.
Windrose module adapted from windrose.py
Requires Matplotlib ( Tested with 1.2.1 and Python 2.7.3 )