Using Subhalo Cutout Files With Pynbody

John Blowers
  • 20 Jan

I am downloading subhalo cutout files for further analysis locally using Pynbody. I am finding that Pynbody is a little picky when it comes to loading hdf5 files and units can become confused. I believe that Pynbody was set up for Tipsy/Gadget file formats. Is there a method that should be used to convert the cutout hdf5 files into another format for loading into Pynbody ?

Dylan Nelson
  • 20 Jan

I would say that pynbody is rarely used with the Illustris/TNG simulations. Probably it will take a little work, but not too much. If you can turn off units/unit support, probably you can load these files just fine, they are just simple HDF5 files.

(There isn't any script I know of to convert into a format that is 100% compatible with pynbody, but if you find/write one, please do report back).

If you can post a specific issue, perhaps I can help further (or better, probably as a pynbody issue).

Dylan Nelson
  • 20 Jan

An alternative, depending on what you are trying to do, may be to give scida a try.

  • Page 1 of 1