foxes.utils.wdvec2wd(wdvec, axis=-1)[source] Calculate wind direction from wind direction vectors. Parameters¶ wdvec: numpy.ndarrayThe wind direction vectors, any shape axis: intThe axis which corresponds to (x, y) components Returns¶ wd: numpy.ndarrayThe wind direction array