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