On Thu, May 1, 2008 at 10:37 AM, Matt Alonso &lt;<a href="mailto:matt.alonso@gmail.com">matt.alonso@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Was anyone ever able to find a solution to this issue?&nbsp; I think I am experiencing a similar problem using gradsnc v1.9b4.&nbsp; I have a 13MB netCDF file (samples can be found here, <a href="http://www.cdc.noaa.gov/cgi-bin/db_search/DBListFiles.pl?did=34&amp;tid=20349&amp;vid=1246" target="_blank">http://www.cdc.noaa.gov/cgi-bin/db_search/DBListFiles.pl?did=34&amp;tid=20349&amp;vid=1246</a>) which contains Reanalysis rainfall rate data.<br>

<br>My script - based off of a script I found in the list archives - attempts to loop over all points in the file for all timesteps (366) and at each point (192x94) it will write ASCII output to a file.&nbsp; If I run it for less than 4 timesteps it works like a charm but if I set it to use 4 or more timesteps it will always fail on the 4th one at point 161,69 running the command to display the value.&nbsp; My first instinct was that the data at that particular point/time was somehow corrupted but subsequent tests showed that it doesn&#39;t matter what timestep I start at it will always fail the 4th time through at that exact X,Y.<br>

<br>Anyone have any ideas about what the issue might be?&nbsp; Thanks in advance.<br></blockquote><div><br><br>Have you monitored the memory usage as your script progresses? There is a memory leak in the sdf part of the code that may cause you to use up all the available memory. One alternative is to create a ctl for your netcdf file:<br>
<br>&nbsp;&nbsp; <a href="http://grads.iges.org/grads/gadoc/SDFdescriptorfile.html">http://grads.iges.org/grads/gadoc/SDFdescriptorfile.html</a><br><br>which exercises a very different part of the GrADS code and have no memory leak as far as I know. See if this works.<br>
<br>&nbsp; Arlindo.<br><br><br><br>&nbsp;</div></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>