Reading Siemens AdjCoilSens.dat

227 views
Skip to first unread message

toy...@gmail.com

unread,
Sep 18, 2017, 5:30:33 AM9/18/17
to ISMRMRD
Hi All,

I'm trying read Siemens AdjCoilSens.dat file. However there is a problem with reading h5 file. 

The steps are doing as follows:

1) Firstly I'm using siemens_to_ismrmrd function in Linux platform:

siemens_to_ismrm -f meas_MID999_AdjCoilSens_FID3053.dat -o result.h5 

The output would be:

Siemens file is: /home/toycan/Desktop/coil_sensitivity/meas_MID999_AdjCoilSens_FID3053.dat
Parameter XSL stylesheet is: IsmrmrdParameterMap_Siemens.xsl
Parameter map file is: IsmrmrdParameterMap_Siemens_VB17.xml
This file contains 1 measurement(s).
VB line file detected.
Protocol name: 
Number of parameter buffers: 6
Buffer Name: Config
Buffer Name: Dicom
Buffer Name: Meas
Buffer Name: MeasYaps
Buffer Name: Phoenix
Buffer Name: Spice
Trajectory is: 1
Failed to find YAPS.lFirstFourierLine array         ----------------- do you see it as well?
Failed to find YAPS.lFirstFourierPartition array  ----------------- 
do you see it as well?
center_line = 16
center_partition = 16
Failed to find MEAS.sProtConsistencyInfo.tBaselineString/tMeasuredBaselineString
Baseline: 
Study time: 16:28:14
wrote scan : 1000
Last scan reached...

2) Secondly I'm reading h5 file from matlab as follows (as decribed in here http://ismrmrd.github.io/):

data = h5read('result.h5','/dataset/data');

However I can't read this file and it gives following error:

Error using h5readc
The HDF5 library encountered an error and produced the following stack trace information:

    H5FD_sec2_read          addr overflow, addr = 3862628331912670976, size=4096,
    eoa=29926320
    H5FD_read               driver read request failed
    H5F_accum_read          driver read request failed
    H5F_block_read          read through metadata accumulator failed
    H5HG_load               unable to read global heap collection
    H5C_load_entry          unable to load entry
    H5C_protect             can't load entry
    H5AC_protect            H5C_protect() failed.
    H5HG_protect            unable to protect global heap
    H5HG_read               unable to protect global heap
    H5T_vlen_disk_read      Unable to read VL information
    H5T__conv_vlen          can't read VL data
    H5T_convert             data type conversion failed
    H5T__conv_struct_opt    unable to convert compound datatype member
    H5T_convert             data type conversion failed
    H5D__scatgath_read      datatype conversion failed
    H5D__chunk_read         chunked read failed
    H5D__read               can't read data
    H5Dread                 can't read data

Error in h5read (line 58)
[data,var_class] = h5readc(Filename,Dataset,start,count,stride);

 What am I doing wrong? Do you have any idea?
Thanks in advance :)
Reply all
Reply to author
Forward
0 new messages