Closed deeplycloudy closed 8 years ago
While test_dir passes, I think the test itself has a sign error; if the convention for wind direction is specified as that from which the wind is blowing, then u, v = (4,0) is wind blowing from west to east, which should be 270. The test says it should be 90. So the test must be adjusted as well.
Fixed by #179.
Given the simple test below it looks like the conversion of wind speed and direction to u, v components and then back again adds a 180° offset to the wind direction. Assuming this is not the desired behavior, I will work up a patch.