- 积分
- 236
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-12-26
- 最后登录
- 1970-1-1

|

楼主 |
发表于 2012-9-21 09:57:54
|
显示全部楼层
hzwjy 发表于 2012-9-20 19:30
干嘛要用这么复杂的方法创建NC文件,直接addfile,fi->var = tc不就行了么。
你这个报错是因为 ...
你说这个我看了 但是还是调试不通 我想按照一定的格式输出出来
south_north=tc_plane!0
west_east=tc_plane!1
dimNames = (/south_north, west_east/)
dimSizes = (/tc_plane@south_north, tc_plane@west_east /)
dimUnlim = (/False, False/)
filedimdef(fout,dimNames,dimSizes,dimUnlim)
filevardef(fout, "south_north" ,typeof(tc_plane@south_north),getvardims(tc_plane@south_north))
filevardef(fout, "west_east" ,typeof(tc_plane@west_east),getvardims(tc_plane@west_east) )
filevardef(fout, "T",typeof(tc_plane),getvardims(tc_plane))
filevarattdef(fout,"south_north" ,south_north)
filevarattdef(fout,"west_east" ,west_east)
filevarattdef(fout,"T" ,tc_plane)
其中这一句老是过不去 |
|