Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am encountering a problem when converting Siemens .dat files to .mrd using siemens_to_ismrmrd. Below is the full output: #133

Open
cenarius1985 opened this issue Aug 15, 2024 · 6 comments

Comments

@cenarius1985
Copy link

I am encountering a problem when converting Siemens .dat files to .mrd using siemens_to_ismrmrd. Below is the full output:

Software version: syngo MR XA50
Protocol name: Initialized by sequence
Detected Numaris/X version: 50
Disabling parsing of syncdata due to incompatibility!
Dwell time: 4000
Using parameter XSL: IsmrmrdParameterMap_Siemens_NX.xsl
Study time: 18:00:39
wrote scan : 1000
Last scan reached...
WARNING: Unexpected number of mystery bytes detected: 32
ParcFileEntries[0].off_ = 10240
ParcFileEntries[0].len_ = 42822560
siemens_dat.tellg() = 42832768
Please check the result.
This problem causes an error in the transformation of .dat files, and the error is displayed on the screen as shown above.

@cenarius1985
Copy link
Author

Processing file C:\Users\Ferna\Documentos\GitHub\siemens_to_ismrmrd\Conversion_dat_mrd\meas_MID00121_FID16418_gre_TE4_18_32_PROMEDIOS.dat...
Siemens file is: /flywheel/v0/input/dat/meas_MID00121_FID16418_gre_TE4_18_32_PROMEDIOS.dat

Converting measurement 1 into file /flywheel/v0/output/meas_MID00121_FID16418_gre_TE4_18_32_PROMEDIOS.mrd in group dataset

Using parameter map: IsmrmrdParameterMap_Siemens.xml
This file contains 2 measurement(s).
VD line file detected.
Protocol name [1]: AdjCoilSens
Protocol name [2]: gre_TE4.18-32 PROMEDIOS
Number of parameter buffers: 7
Buffer Name: Config
Buffer Name: Dicom
Buffer Name: Meas
Buffer Name: MeasYaps
Buffer Name: Phoenix
Buffer Name: Protocol
Buffer Name: Spice
Trajectory is: 1
Failed to find YAPS.lFirstFourierLine array
Failed to find YAPS.lFirstFourierPartition array
center_line = 16
center_partition = 16
Failed to find MEAS.sProtConsistencyInfo.tBaselineString/tMeasuredBaselineString
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.21.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.21.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.21.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.21.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.21.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.21.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.22.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.22.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.22.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.22.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.22.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.22.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.23.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.23.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.23.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.23.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.23.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.23.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.24.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.24.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.24.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.24.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.24.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.24.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.25.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.25.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.25.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.25.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.25.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.25.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.26.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.26.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.26.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.26.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.26.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.26.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.27.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.27.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.27.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.27.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.27.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.27.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.28.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.28.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.28.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.28.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.28.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.28.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.29.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.29.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.29.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.29.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.29.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.29.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.30.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.30.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.30.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.30.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.30.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.30.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.31.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.31.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.31.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.31.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.31.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.31.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.32.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.32.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.32.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.32.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.32.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.32.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.33.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.33.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.33.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.33.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.33.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.33.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.34.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.34.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.34.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.34.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.34.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.34.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.35.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.35.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.35.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.35.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.35.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.35.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.36.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.36.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.36.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.36.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.36.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.36.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.37.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.37.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.37.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.37.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.37.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.37.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.38.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.38.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.38.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.38.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.38.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.38.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.39.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.39.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.39.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.39.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.39.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.39.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.40.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.40.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.40.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.40.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.40.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.40.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.41.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.41.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.41.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.41.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.41.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.41.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.42.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.42.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.42.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.42.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.42.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.42.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.43.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.43.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.43.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.43.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.43.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.43.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.44.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.44.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.44.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.44.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.44.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.44.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.45.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.45.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.45.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.45.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.45.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.45.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.46.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.46.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.46.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.46.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.46.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.46.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.47.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.47.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.47.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.47.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.47.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.47.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.48.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.48.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.48.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.48.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.48.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.48.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.49.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.49.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.49.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.49.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.49.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.49.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.50.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.50.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.50.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.50.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.50.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.50.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.51.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.51.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.51.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.51.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.51.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.51.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.52.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.52.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.52.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.52.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.52.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.52.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.53.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.53.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.53.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.53.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.53.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.53.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.54.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.54.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.54.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.54.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.54.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.54.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.55.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.55.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.55.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.55.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.55.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.55.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.56.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.56.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.56.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.56.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.56.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.56.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.57.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.57.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.57.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.57.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.57.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.57.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.58.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.58.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.58.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.58.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.58.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.58.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.59.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.59.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.59.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.59.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.59.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.59.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.60.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.60.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.60.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.60.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.60.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.60.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.61.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.61.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.61.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.61.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.61.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.61.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.62.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.62.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.62.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.62.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.62.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.62.lADCChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.63.sCoilElementID.tCoilID not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.63.sCoilElementID.lCoilCopy not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.63.sCoilElementID.tElement not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.63.lElementSelected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.63.lRxChannelConnected not found.
Search path: MEAS.sCoilSelectMeas.aRxCoilSelectData.0.asList.63.lADCChannelConnected not found.
Baseline:
Software version: syngo MR XA50
Protocol name: Initialized by sequence
Detected Numaris/X version: 50
Disabling parsing of syncdata due to incompatibility!
Dwell time: 4000
Using parameter XSL: IsmrmrdParameterMap_Siemens_NX.xsl
Study time: 18:00:39
wrote scan : 1000
Last scan reached...
WARNING: Unexpected number of mystery bytes detected: 32
ParcFileEntries[0].off_ = 10240
ParcFileEntries[0].len_ = 42822560
siemens_dat.tellg() = 42832768
Please check the result.
Presione una tecla para continuar . . .

@rajramasawmy
Copy link
Contributor

Did it convert the data? (i.e. produce a .h5 or .mrd file?)
There are some known bugs with the converter
1 - there are some "leftover" bytes
2- "sync" data does not get mapped in XA line data (though the acquisition header will have the physio trigger time)

BUT it will give data out, it just makes errors..

@cenarius1985
Copy link
Author

Hi, thanks for your answer. The problem persists. The file types are .mrd and .h5. The matrix is not coherent, and the transformat, my code: @echo off
REM Directory for input and output files
set input_dir=C:\Users\Ferna\Documentos\GitHub\siemens_to_ismrmrd\Conversion_dat_mrd
set output_dir=C:\Users\Ferna\Documentos\GitHub\siemens_to_ismrmrd\Conversion_dat_mrd

REM Iterate over all .dat files in the input directory
for %%f in (%input_dir%*.dat) do (
REM Extract the filename without the extension
set "filename=%%~nf"
echo Processing file %%f...

REM Convert file using siemens_to_ismrmrd
docker run --rm ^
    -v %input_dir%:/input ^
    -v %output_dir%:/output ^
    siemenstoismrmrd_fixed siemens_to_ismrmrd ^
    -f /input/%%~nf.dat ^
    -o /output/%%~nf.h5 ^
    --debug

)

pause

@cenarius1985
Copy link
Author

this problem is solved, buil a new image docker, change ubuntu version and install other libraries, # Primera fase: ismrmrd_base
FROM ubuntu:22.04 as ismrmrd_base

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=America/Chicago

Instalar las dependencias necesarias, incluidas las bibliotecas de desarrollo y herramientas de compilación

RUN apt-get update && apt-get install -y git cmake g++ libhdf5-dev libxml2-dev libxslt1-dev libboost-all-dev xsdcxx libxerces-c-dev libtinyxml-dev libpugixml-dev libhdf5-serial-dev h5utils hdf5-tools

RUN mkdir -p /opt/code

Crear directorio para siemens_to_ismrmrd y copiar el contenido

RUN mkdir -p /opt/code/siemens_to_ismrmrd
COPY . /opt/code/siemens_to_ismrmrd/

Clonar y compilar la biblioteca ISMRMRD

RUN cd /opt/code &&
git clone https://github.com/ismrmrd/ismrmrd.git &&
cd ismrmrd &&
git checkout $(cat /opt/code/siemens_to_ismrmrd/dependencies/ismrmrd | xargs) &&
mkdir build &&
cd build &&
cmake .. &&
make -j $(nproc) &&
make install

Compilar el convertidor siemens_to_ismrmrd

RUN cd /opt/code/siemens_to_ismrmrd &&
mkdir build &&
cd build &&
cmake .. &&
make -j $(nproc) &&
make install

Crear un archivo comprimido con las bibliotecas de ISMRMRD para la siguiente fase

RUN cd /usr/local/lib && tar -czvf libismrmrd.tar.gz libismrmrd*

Segunda fase: imagen ligera con las dependencias mínimas

FROM ubuntu:22.04

Instalar las dependencias mínimas necesarias para ejecutar el convertidor y las bibliotecas ISMRMRD

RUN apt-get update && apt-get install -y --no-install-recommends libxslt1.1 libhdf5-dev libxerces-c-dev libboost-all-dev libpugixml1v5 && apt-get clean && rm -rf /var/lib/apt/lists/*

Copiar el binario de siemens_to_ismrmrd y las bibliotecas de la fase anterior

COPY --from=ismrmrd_base /usr/local/bin/siemens_to_ismrmrd /usr/local/bin/siemens_to_ismrmrd
COPY --from=ismrmrd_base /usr/local/lib/libismrmrd.tar.gz /usr/local/lib/

Descomprimir las bibliotecas de ISMRMRD y ejecutar ldconfig para actualizar las referencias de las bibliotecas

RUN cd /usr/local/lib && tar -zxvf libismrmrd.tar.gz && rm libismrmrd.tar.gz && ldconfig

@cenarius1985
Copy link
Author

The problem persistent

@cenarius1985
Copy link
Author

any news on this matter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants