You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been prototyping a converter from my company's raw data format to ISMRMRD in python. After doing everything I need for a successful conversion. I tried running my k-space data through Gadgetron. It was given the following error in my terminal:
ERROR: HDF5 Error in ../../../src/H5T.c, line 4548: no appropriate function for conversion path
ERROR: HDF5 Error in ../../../src/H5Dio.c, line 958: unable to convert between src and dest datatype
ERROR: HDF5 Error in ../../../src/H5Dio.c, line 425: unable to set up type info
ERROR: HDF5 Error in ../../../src/H5Dio.c, line 173: can't read data
ERROR: File Error in /home/mrsol/ismrmrd/libsrc/dataset.c, line 1112: Failed to read header.
terminate called after throwing an instance of 'std::runtime_error'
what(): ISMRMRD File Error in ismrmrd_read_header (/home/mrsol/ismrmrd/libsrc/dataset.c:1112: Failed to read header.
ISMRMRD HDF5 Error in H5Dread (../../../src/H5Dio.c:173: can't read data
ISMRMRD HDF5 Error in H5D__read (../../../src/H5Dio.c:425: unable to set up type info
ISMRMRD HDF5 Error in H5D__typeinfo_init (../../../src/H5Dio.c:958: unable to convert between src and dest datatype
ISMRMRD HDF5 Error in H5T_path_find (../../../src/H5T.c:4548: no appropriate function for conversion path
Aborted (core dumped)
I used HDFView to examine the testdata.h5 that gets generated with:
ismrmrd_generate_cartesian_shepp_logan -r 10
And compared it with my own; and the structure of the XML stuck out most to me:
Whereas mine wasn't deciphered the same from the same application:
I've also noticed that the start of the header there is much less information where the namespaces get defined etc.
I generated my header with
header.toxml('utf-8')
As per the example generate_cartesian_shepp_logan_dataset.py in this repository.
Are there any known issues with writing out to XML in the ISMRMRD python tools? Or is it likely that I have a library missing/not up to date? I have spent most of my day trying to get to the bottom of this issues. But to no avail!
Thanks
William
The text was updated successfully, but these errors were encountered:
Hi there
I have been prototyping a converter from my company's raw data format to ISMRMRD in python. After doing everything I need for a successful conversion. I tried running my k-space data through Gadgetron. It was given the following error in my terminal:
I used HDFView to examine the testdata.h5 that gets generated with:
ismrmrd_generate_cartesian_shepp_logan -r 10
And compared it with my own; and the structure of the XML stuck out most to me:
Whereas mine wasn't deciphered the same from the same application:
I've also noticed that the start of the header there is much less information where the namespaces get defined etc.
I generated my header with
As per the example generate_cartesian_shepp_logan_dataset.py in this repository.
Are there any known issues with writing out to XML in the ISMRMRD python tools? Or is it likely that I have a library missing/not up to date? I have spent most of my day trying to get to the bottom of this issues. But to no avail!
Thanks
William
The text was updated successfully, but these errors were encountered: