reorganize phdf5 calls