- 积分
- 1639
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-5-23
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
今天在cygwin下面用NCL绘图的时候,遇到了这样一个报错:
See http://www.ncl.ucar.edu/ for more details.
0 [main] ncl 16716 child_info_fork::abort: E:\cygwin\bin\cyggfortran-3.dll: Loaded to different address: parent(0x4640000) != child(0x45B0000)
fatal:systemfunc: cannot create child process:[errno=11]
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 4061 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 21 in file D:/cryosphere_environment/data/uvwnd.ncl
在wks = gsn_open_wks("png","D:/cryosphere_environment/data/vp")这一行报错,这个错误应该不是我脚本代码的错误,但是又不知道具体是哪里的问题?(我多次试了pdf,png等格式)是内存不足还是什么?刚学习NCL不知道具体如何处理,望大家具体指点一下!
附上我写脚本文件:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
fu=addfile("D:/cryosphere_environment/data/uwnd.mon.mean.nc","r")
fv=addfile("D:/cryosphere_environment/data/vwnd.mon.mean.nc","r")
u=fu->uwnd(1,{500},:,:)
v=fv->vwnd(1,{500},:,:)
sf=new((/73,144/),float)
vp=new((/73,144/),float)
uv2sfvpf(u,v,sf,vp)
wks = gsn_open_wks("png","D:/cryosphere_environment/data/vp")
res = True
res@mpOutlineOn = True
res@tiMainString = "velocity potential " ; title
plot=gsn_csm_contour_map(wks,vp,res)
end
|
|