result=[]
for y,x in zip(dm['Uy_12m'].values,dm['Ux_12m'].values):
tmp=270-math.atan2(y,x)*180/math.pi
wd=np.mod(tmp,360)
result.append(wd)
result=[]
for y,x in zip(dm['Uy_12m'].values,dm['Ux_12m'].values):
tmp=270-math.atan2(y,x)*180/math.pi
wd=np.mod(tmp,360)
result.append(wd)
本文标题:根据U、V计算风向
本文链接:https://www.haomeiwen.com/subject/mutjohtx.html
网友评论