[yt-users] pickling clumps
Charles Hansen
chansen at astro.berkeley.edu
Thu May 27 18:26:23 PDT 2010
The find_clumps function is working correctly for me I believe, but the
analysis takes a very long time and I'd like to save the master_clump
object (from
http://yt.enzotools.org/doc/cookbook/recipes.html#cookbook-find-clumps)
for further analysis. I've tried pickling master_clump. It dumps
correctly, but gives an EOF error (below) on loading. Is there another
way to save master_clump?
Thanks,
Charles
/nics/c/home/chansen/lib/yt/lib/python2.6/pickle.pyc in load(file)
1368
1369 def load(file):
-> 1370 return Unpickler(file).load()
1371
1372 def loads(str):
/nics/c/home/chansen/lib/yt/lib/python2.6/pickle.pyc in load(self)
856 while 1:
857 key = read(1)
--> 858 dispatch[key](self)
859 except _Stop, stopinst:
860 return stopinst.value
/nics/c/home/chansen/lib/yt/lib/python2.6/pickle.pyc in load_eof(self)
878
879 def load_eof(self):
--> 880 raise EOFError
881 dispatch[''] = load_eof
882
EOFError:
More information about the yt-users
mailing list