- 积分
- 1128
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-11-2
- 最后登录
- 1970-1-1
|
发表于 2013-10-27 22:12:07
|
显示全部楼层
蓝馨蝶韵 发表于 2013-5-8 18:20
同样一套ncl程序,换了一套资料而已,运行ncl时出现如下错误
“fatal:NclMalloc Failed:[errno=12]
asser ...
A Malloc error usually means that your machine has run out of memory.
Looking at the file you are trying to plot, the array size is rather big
(81MB) for plotting.
There are no coordinate variables (latitudes/longitude arrays) within
the .hdf file. I assume you are creating those yourself, or have them
from somewhere else. I also converted to float from short using
short2flt, as I am guessing you did.
My best guess is that your machine is running out of memory when trying
to plot the large array. Can you subset the data somehow, seeing if you
can get a smaller region to plot? Alternatively you can try running this
on a machine with more memory.
If these suggestions do not help please let us know..
Best regards,
Adam |
|