[ncl-talk] Example corel_2.ncl has a problem.
Kim, Changhwan
changhwan.kim at metoffice.gov.uk
Wed Jul 20 11:51:22 MDT 2016
Dear Madam/Sir,
I found some problem from example corel_2.ncl(in Correlation section).
In the code, line 34~35 are
ccrtot(0:maxlag-1) = ccr2(0:maxlag-1:-1)
ccrtot(maxlag:) = ccr1(0:maxlag-1)
But if we use this code, data for time lag 0 is duplicated.
I think these code have to be corrected below.
ccrtot(0:maxlag-1) = ccr2(1:maxlag:-1)
ccrtot(maxlag:) = ccr1(0:maxlag)
Please check this problem.
Regards,
Changhwan Kim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160720/f423e62b/attachment.html
More information about the ncl-talk
mailing list