[yt-dev] Issue #967: HaloCatalog fails for a RockstarDataset with "format_revision" = 2 (yt_analysis/yt)

Devin Silvia issues-reply at bitbucket.org
Tue Dec 23 09:05:51 PST 2014


New issue 967: HaloCatalog fails for a RockstarDataset with "format_revision" = 2
https://bitbucket.org/yt_analysis/yt/issue/967/halocatalog-fails-for-a-rockstardataset

Devin Silvia:

HaloCatalog hits a Key Error for a rockstar halo dataset read from a rockstar halo binary filel.  The value of halos_ds.parameters['format_revision'] is 2.  If I change this to "0" before the halo catalog call, there doesn't seem to be a problem.  This is an issue for a newly created rockstar halo list.  A halo list created for the same dataset with an older version of rockstar seems to end up with "format_revision" value of 0.

The command that fails is:

hc = HaloCatalog(data_ds=data_ds, halos_ds=halos_ds, output_dir=os.path.join(tmpdir, 'halo_catalog'))

The traceback is here: http://paste.yt-project.org/show/5290/


_______________________________________________
yt-dev mailing list
yt-dev at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org




More information about the yt-dev mailing list