Friday, June 21, 2013

IDL users of the netcdf files databank take note

If using certain versions of IDL (mine for example - 8.0) and sequentially reading, manipulating and then writing out the files there is a pretty spectacular bug in IDL that causes a random crash. It seems that IDL is not dynamically clearing memory between reads for certain unfathomable file combinations. If you are getting issues randomly in such a loop then reset all the read in variables to =0 at the end of the loop each time and these crashes will simply disappear. Ours is clearly not to wonder why, particularly on a Friday ...

No comments:

Post a Comment