pynbody/pynbody — pull request #214 by alexji (2014-10-10 14:05:09+00:00)
Title: gadgethdf5 fixes

Fixes dependency on all PartType being in the 0th hdf file

Please note that there is one thing I did not fix because I only have one family in my files and I wasn't sure how to fix it in that case.
I also added another commit which adds the option of using gadget-units instead of storing the units in the HDF5 files.

A temporary test file is here:
https://www.dropbox.com/sh/otg8a26qnkuvt4a/AACFGcJfLwACEGgy3P2sxaKwa?dl=0
Note that since the positions in this test file are stored in 32 bit floats, I had to edit DummyHDFData to use dtype np.float32 for producing the kdtree.