wrf-python icon indicating copy to clipboard operation
wrf-python copied to clipboard

Wrf-python package "uvmet10_wspd_wdir"

Open ditsiaou opened this issue 1 year ago • 0 comments

I understand that wrf.getvar will give both the speed (dim 0) and the direction (dim 1) where the direction is from where the wind comes:

V1 = wrf.getvar(ncdin, "uvmet10_wspd_wdir", units="m s-1",timeidx=wrf.ALL_TIMES,meta=False)[1,...]

according to https://wrf-python.readthedocs.io/en/latest/internal_api/generated/wrf.g_uvmet.get_uvmet10_wspd_wdir.html

But, I would like to ask about the way that direction is provided by the package. 0 degrees is wind from the north, 90 from the east etc?

For example if the output for dim 1 is 45 the wind is northestearn?

ditsiaou avatar Mar 13 '24 08:03 ditsiaou