12246| 5
|
[作图] 关于如何把ncl中的数据由二维变成3维的方式 |
3金钱
最佳答案#读取变量#
diri = "/home/xxx1/xxx2/xxx3/"
fili = systemfunc("ls "+diri+"xxx*.nc")
f = addfiles (fili, "r")
ListSetType (f, "cat")
pr = f[:]->precip
#书写文件#
output="/home/yyy1/yyy2/"
name = "yyy"
system("/bin/rm -f "+output+name+".nc")
ncdf=addfile(output+name+".nc","c")
filedimdef(ncdf,"time",-1,True)
ncdf->precip=pr
| ||
密码修改失败请联系微信:mofangbao
|
||
| ||
密码修改失败请联系微信:mofangbao
|
||
| ||
密码修改失败请联系微信:mofangbao
|
||
| ||
密码修改失败请联系微信:mofangbao
|
||
| ||
密码修改失败请联系微信:mofangbao
|
||
Copyright ©2011-2014 bbs.06climate.com All Rights Reserved. Powered by Discuz! (京ICP-10201084)
本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论