[yt-users] Halo Finding Problems
Brian Crosby
crosby.bd at gmail.com
Wed Jul 14 11:20:10 PDT 2010
Hi All,
I've been trying to find and plot some halos from an Enzo simulation on Ranger and got this error today:
Traceback (most recent call last):
File "projections.py", line 4, in <module>
halos = HaloFinder(pf, padding=0.03)
File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/HaloFinding.py", line 1786, in __init__
self._join_halolists()
File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/HaloFinding.py", line 1382, in _join_halolists
self._groups.sort(haloCmp)
File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/HaloFinding.py", line 1381, in haloCmp
return cmp(h1.center_of_mass()[0],h2.center_of_mass()[0])
File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/ParallelTools.py", line 133, in single_proc_results
retval = func(self, *args, **kwargs)
File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/HaloFinding.py", line 94, in center_of_mass
c_vec = self.maximum_density_location() - na.array([0.5,0.5,0.5])
File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/ParallelTools.py", line 130, in single_proc_results
return func(self, *args, **kwargs)
File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.7-svn/yt/lagos/HaloFinding.py", line 125, in maximum_density_location
self._max_dens[self.id][1],
KeyError: 604
Does anyone know what's going on here?
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20100714/181b5ef5/attachment.htm>
More information about the yt-users
mailing list