This addresses #21 and allows reading of Gadget-4 snapshots with 6 byte particle IDs.
The function hdf5_dataset_type() is modified to report integer types of size 1-4 bytes as 4 byte integers and integer types of 5-8 bytes as 8 byte integers. This should cause HDF5 to convert the data to a type we can work with.
This addresses #21 and allows reading of Gadget-4 snapshots with 6 byte particle IDs.
The function hdf5_dataset_type() is modified to report integer types of size 1-4 bytes as 4 byte integers and integer types of 5-8 bytes as 8 byte integers. This should cause HDF5 to convert the data to a type we can work with.