<div dir="ltr"><div><div>dear sir/ma'am,</div><div>I was trying to find a 2D correlation between 3d olr data and a 3D array(1D array converted into 3D by taking the same no. of lat*lon grid) as shown in ncl example <a href="https://www.ncl.ucar.edu/Applications/Scripts/corel_3.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/corel_3.ncl</a> . when i tried to do this, the memory allocation exceeded the limits. I couldn't overcome it even after trying.<br></div><div><br></div><div>ncl 0> fname="/home/ranjan/Desktop/project_004/proj_norm_order_new.ascii"</div>ncl 1> data=asciiread(fname,-1,"string")<br>ncl 2> folr=addfile("<a href="http://olr_india_3_10_filtered_pentad.nc" target="_blank">olr_india_3_10_filtered_pentad.nc</a>","r")<br>ncl 3> olr=folr->olr<br>ncl 4> eoa = stringtofloat(str_get_field(data,5," "))<br>warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value<br>ncl 5> ts1 = olr(:,19:60,10:70)<br>ncl 6> ntim=2265       <br>ncl 7> ts2=onedtond(eoa,(/ntim,40,61/))<br>ncl 8> <br>ncl 9> maxlag = 3<br>ncl 10> ccr = esccr(ts1,ts2,maxlag)<br>fatal:esccr: Unable to allocate memory for output arrays<br>fatal:["Execute.c":8635]:Execute: Error occurred at or near line 11<br></div><div><br></div><div>kindly help me out.</div><div><br></div><div>Thank you</div><div><br></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div><font size="1" face="comic sans ms, sans-serif"><b>Ranjan kumar Sahu<br></b></font></div><div><span style="font-family:"comic sans ms",sans-serif;font-size:x-small"> Ocean & Atmospheric Sc</span></div><div><span style="font-family:"comic sans ms",sans-serif;font-size:x-small">University of Hyderabad</span><br></div><br></div></div></div></div></div></div>