<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div apple-content-edited="true"><br></div><div>Marcia, </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>See some of my comments for each line below. Next time send the list the specific error messages and/or the whole ncl code. The error messages are usually very specific about the problem, which would save the list from trying to guess at the problem. <br><div><br></div><div><br></div><div>You may just have a typo with respect to esacr() / escar() but the other comments I think are still valid. </div><div><br></div><div><br></div><br><blockquote type="cite">
<div>;==== rtest ====================================</div>
<div>
<div>;==== dimension : sst_DJF_anom(time,lat,lon), indx_sst(time)</div>
<div>;=============================================</div></div>
</blockquote><br><blockquote type="cite"><div>rr_DJF=sst_DJF_anom(lat|:,lon|:,time|:)</div>
<div> </div>
<div> </div>
<div>do LAG=0,dimsizes(indx_sst)-1<span class="Apple-tab-span" style="white-space:pre">                        </span><font color="#000000">; Is this the whole code ? Where was indx_sst defined? </font><br> crr_indx=escar(indx_sst,LAG)<span class="Apple-tab-span" style="white-space:pre">                        </span><font color="#000000">; Do you mean for crr_indx to just keep being over written ? </font><br> crr_DJF=escar(rr_DJF,LAG)<span class="Apple-tab-span" style="white-space:pre">                                </span><font color="#000000">; Also what is escar() It doesn’t appear to be an NCL supported function?</font><br></div></blockquote><span class="Apple-tab-span" style="white-space:pre">                                                                        </span> ; Do you mean to be using esccr () or esacr () ? <br><blockquote type="cite"><div>end do</div>
<div> </div>
<div>c =0<br>do i=1,dimsizes(indx_sst)<br> c= c+crr_indx*crr_DJF<span class="Apple-tab-span" style="white-space:pre">                </span><font color="#000000">; Again is you’re just multiplying by 2 scalar values and incrementing c. Not sure what the point of this is.</font><br>end do</div>
<div> </div>
<div>d = 1+ 2*c</div>
<div> </div>
<div> </div>
<div>df = dimsizes(indx_sst)/d</div>
<div> </div>
<div> r_test=rtest(rtmp, df, 0)<span class="Apple-tab-span" style="white-space:pre">                </span><font color="#000000">; Where was rtmp defined? Was it defined ? </font><br></div></blockquote><div><br></div><div><br></div><div>Alan. </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div><span style="orphans: 2; widows: 2;">##############################</span><br style="orphans: 2; widows: 2;"><span style="orphans: 2; widows: 2;">Alan Brammer,</span><div style="orphans: 2; widows: 2;">PhD candidate,</div><div style="orphans: 2; widows: 2;"><br></div><div style="orphans: 2; widows: 2;">Department of Atmospheric and Environmental Sciences,<br>University at Albany, State University of New York, Albany, NY, 12222<div><a href="mailto:abrammer@albany.edu">abrammer@albany.edu</a><br>##############################</div></div></div></body></html>