[yt-users] problem with merger tree

Luigi Iapichino luigi at uni-heidelberg.de
Fri Sep 13 06:51:19 PDT 2013


Dear all,

I'm trying to analyse (with the latest yt 2.5.5) a whole dataset from a 
cosmological simulation of mine, run with Enzo 2.1, and to extract the merger 
tree of the most massive halo in the box. I'm trying to run the script 
presented at the bottom of:

http://yt-project.org/doc/analysis_modules/merger_tree.html

but I get the following output:

yt : [INFO     ] 2013-09-13 15:46:28,359 Loading plugins 
from /home/hpc/pr95he/lu79qey3/.yt/my_plugins.py
Traceback (most recent call last):
  File "./merger-tree.py", line 32, in <module>
    MergerTree(restart_files=files, database=my_database)
  
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py", 
line 200, in __init__
    self._run_halo_finder_add_to_db()
  
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py", 
line 246, in _run_halo_finder_add_to_db
    pf = load(file)
  
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/convenience.py", 
line 77, in load
    return output_type_registry[candidates[0]](*args, **kwargs)
  
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/frontends/enzo/data_structures.py", 
line 727, in __init__
    StaticOutput.__init__(self, filename, data_style, file_style=file_style)
  
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/data_objects/static_output.py", 
line 104, in __init__
    self._parse_parameter_file()
  
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/frontends/enzo/data_structures.py", 
line 838, in _parse_parameter_file
    vals = np.array([pcast(i) for i in vals if i != "-99999"])
ValueError: could not convert string to float: #


I am pretty sure that the paths to the files and to the database to be saved 
are sensible. 
Looking forward to your suggestions,
Cheers,

  Luigi

-- 

---------------------------------------------------------------

Luigi Iapichino
Universität Heidelberg, Zentrum für Astronomie
Institut für Theoretische Astrophysik
Philosophenweg 12, D-69120 Heidelberg, Germany
Tel: +49 6221 548983, Fax: +49 6221 544221
e-mail: luigi at uni-heidelberg.de
URL: http://www.ita.uni-heidelberg.de/~luigi/



More information about the yt-users mailing list