“转载请注明出处!”
Data: Era interim 10m wind component U and V
Software:matlab2014b, Arcmap10.3
1. compute the wind speed and direction in matlab:
speed=sqrt(u.*u+v.*v)
angle=(180/3.14)*atan2(v,u)
note that the angle now is just arithmetic angle and we should convert the arithmetic angle to geographic angle before plot in arcmap
conversion:
angle=rem(450-angle,360)
2.add the wind data with lat, lon, speed and direction fields in Arcmap, the step by step processes about how to display the wind vector had been illustrated by Kevin Butl