<div dir="ltr"><div><div>Thank you. The example has been fixed. <br><br><a href="http://www.ncl.ucar.edu/Applications/corel.shtml">http://www.ncl.ucar.edu/Applications/corel.shtml</a><br><br></div>Regards<br></div>D<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 20, 2016 at 11:51 AM, Kim, Changhwan <span dir="ltr"><<a href="mailto:changhwan.kim@metoffice.gov.uk" target="_blank">changhwan.kim@metoffice.gov.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Dear Madam/Sir, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I found some problem from example corel_2.ncl(in Correlation section).<u></u><u></u></p>
<p class="MsoNormal">In the code, line 34~35 are <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> ccrtot(0:maxlag-1) = ccr2(0:maxlag-1:-1) <u></u><u></u></p>
<p class="MsoNormal"> ccrtot(maxlag:) = ccr1(0:maxlag-1)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But if we use this code, data for time lag 0 is duplicated.<u></u><u></u></p>
<p class="MsoNormal">I think these code have to be corrected below.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> ccrtot(0:maxlag-1) = ccr2(1:maxlag:-1) <u></u><u></u></p>
<p class="MsoNormal"> ccrtot(maxlag:) = ccr1(0:maxlag)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please check this problem.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Changhwan Kim.<u></u><u></u></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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><br>
<br></blockquote></div><br></div>