日志
-
- 分享
Python风向风速计算uv
-
49784909 2021-3-30 15:28
-
#def u(x, y): # if x=90: # uwnd=y*np.sin(x*np.pi/180) # if x90 and x=180: # uwnd=y*np.sin((180-x)*np.pi/180) # if x180 and x=270: # &nb ...
-
个人分类: python|162 次阅读|0 个评论
-
- 分享
PYTHON绘图中,循环画图用列名作为文件名
-
49784909 2020-5-28 14:22
-
用了一上午的时间终于搞明白,必须记录一下!!!!! csv文件里的列名 station lat lon name jan feb mar apr may jun jul aug sep oct nov dec 循环:用字典形式 mon={"JAN":jan,"FEB":feb,"MAR":mar,"APR":apr,"MAY":may,"JUN":jun,"JUL":jul,"AUG":aug,"SEP":sep,"OCT":oct,"N ...
-
个人分类: python|102 次阅读|0 个评论