爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5559|回复: 0

[作图] ncl插值出错

[复制链接]
发表于 2017-8-30 09:53:19 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
ncl想画站点图,程序和错误如下,求解(错误52行我有标记)
begin
fr="e:/cyg/cygdrive/tsummer_d.txt"
r=asciiread(fr, 160, "float")
;printVarSummary(r)
;flat="e:/cyg/cygdrive/lat.txt"
;lat=asciiread(flat, 41, "float")
;flon="e:/cyg/cygdrive/lon.txt"
;lon=asciiread(flon, 71, "float")
flatlon="e:/cyg/cygdrive/lat_lon.txt"
latlon=asciiread(flatlon, (/160,2/), "float")
zlat=latlon(:,0)
zlon=latlon(:,1)
;print(zlat)
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
olon=new(71, "float")
olat=new(41, "float")
do i=0,70
    olon(i)=70+i
end do  
do l=0,40
    olat(l)=15+l
end do
olon!0="zlon"
olon@long_name="lon"
olon@units="degrees_east"
olon&zlon=olon
olat!0="zlat"
olat@long_name="lat"
olat@units="degrees_north"
olat&zlat=olat

data1=new((/41,71/), "float")
;cha=new((/41,71/), float)
r@_FillValue=9999
51 rscan=(/10,1,1/)
52 data1=obj_anal_ic_deprecated(zlon, zlat, r, olon ,olat, rscan, False)

wks=gsn_open_wks("png", "e:/biye/wenzhang/tsummer_d")


错误
$ ncl /contour.ncl
Copyright (C) 1995-2013 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.1.2
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
      0 [main] ncl 10076 child_info_fork::abort: E:\cyg\bin\cygfontconfig-1.dll: Loaded to different address: parent(0x1B0000) != child(0x4430000)
fatal:systemfunc: cannot create child process:[errno=11]
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 11955 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 52 in file /contour.ncl

密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表