<div><br></div><div><div>Hi Adam,</div><div><br></div><div>Thanks so much. Your new script works in 6.5. </div><div><br></div><div>Thanks again. </div><div><br></div><div>Jie</div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Adam Phillips"<asphilli@ucar.edu>;</div><div><b>发送时间:</b> 2019年8月9日(星期五) 凌晨5:23</div><div><b>收件人:</b> "WUJIE"<393069045@qq.com>;<wbr></div><div><b>抄送:</b> "ncl-talk"<ncl-talk@ucar.edu>;<wbr></div><div><b>主题:</b> Re: [ncl-talk] Pie Chart problem</div></div><div><br></div><div dir="ltr">Hi Jie,<div>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.</div><div>Adam</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 2:27 AM WUJIE via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div><div>Hi all</div><div><br></div><div>I again tested and found it works in version 6.4. But it does not work in version 6.5, seems strange.</div><div><br></div><div><div style="line-height:16.8px"> <a href="http://www.ncl.ucar.edu/Applications/Scripts/pie_chart_1.ncl" target="_blank">http://www.ncl.ucar.edu/Applications/Scripts/pie_chart_1.ncl</a> </div></div><div><br></div><div>Thanks, </div><div><br></div><div>Jie</div><div><br></div><div><br></div><div style=" font-size:12px ; ;;padding:2px 0px ">------------------ Original ------------------</div><div style="font-size:12px;background:rgb(239,239,239);padding:8px"><div><b>From:</b> "ncl-talk"<<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>>;</div><div><b>Date:</b> Thu, Aug 8, 2019 03:08 PM</div><div><b>To:</b> "ncl-talk"<<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>>;</div><div></div><div><b>Subject:</b> [ncl-talk] Pie Chart problem</div></div><div><br></div><div>Hi NCL Experts:</div><div><br></div><div>Does anyone meet the problem in current Pie Chart script?</div><div>I just learn the Pie Chart from <a href="http://www.ncl.ucar.edu/Applications/pie_chart.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/pie_chart.shtml </a>, which looks not difficult. However, the example script does not work with imply as:</div><div> "Error occured at or near line 4172 in file $NCAR_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"</div><div>fatal:Number of subscripts do not match number of dimensions of variable,(2) Subscripts used, (1) Subscripts expected </div><div><br></div><div>The example script is here: <a href="http://www.ncl.ucar.edu/Applications/Scripts/pie_chart_1.ncl" target="_blank">http://www.ncl.ucar.edu/Applications/Scripts/pie_chart_1.ncl</a> </div><div><br></div><div>I would appreciate if anyone could help. </div><div><br></div><div>Regards</div><div>Jie Wu</div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div></div>