[ncl-talk] 回复: Pie Chart problem

WUJIE 393069045 at qq.com
Thu Aug 8 20:11:11 MDT 2019


Hi Adam,


Thanks so much. Your new script works in 6.5. 


Thanks again. 


Jie


------------------ 原始邮件 ------------------
发件人: "Adam Phillips"<asphilli at ucar.edu>;
发送时间: 2019年8月9日(星期五) 凌晨5:23
收件人: "WUJIE"<393069045 at qq.com>;
抄送: "ncl-talk"<ncl-talk at ucar.edu>;
主题: Re: [ncl-talk] Pie Chart problem



Hi Jie,It looks like a bug was introduced to pie_chart after NCL 6.4.0. I have attached a version of pie_chart that will work. Note you will have to load the attached function at the top of your script to use it. The new function is called pie_chart2. Note: There is no support for this function, or the original pie_chart function.
Adam




On Thu, Aug 8, 2019 at 2:27 AM WUJIE via ncl-talk <ncl-talk at ucar.edu> wrote:



Hi all


I again tested and found it works in version 6.4. But it does not work in version 6.5, seems strange.


 http://www.ncl.ucar.edu/Applications/Scripts/pie_chart_1.ncl 



Thanks, 


Jie




------------------ Original ------------------
From: "ncl-talk"<ncl-talk at ucar.edu>;
Date: Thu, Aug 8, 2019 03:08 PM
To: "ncl-talk"<ncl-talk at ucar.edu>;

Subject: [ncl-talk] Pie Chart problem



Hi NCL Experts:


Does anyone meet the problem in current Pie Chart script?
I just learn the Pie Chart from http://www.ncl.ucar.edu/Applications/pie_chart.shtml , which looks not difficult. However, the example script does not work with imply as:
 "Error occured at or near line 4172 in file $NCAR_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
fatal:Number of subscripts do not match number of dimensions of variable,(2) Subscripts used, (1) Subscripts expected 


The example script is here: http://www.ncl.ucar.edu/Applications/Scripts/pie_chart_1.ncl 


I would appreciate if anyone could help. 


Regards
Jie Wu

_______________________________________________
 ncl-talk mailing list
 ncl-talk at ucar.edu
 List instructions, subscriber options, unsubscribe:
 http://mailman.ucar.edu/mailman/listinfo/ncl-talk



-- 
Adam Phillips 

Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR


www.cgd.ucar.edu/staff/asphilli/   303-497-1726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190809/f327a065/attachment.html>


More information about the ncl-talk mailing list