ratal / mdfreader

Read Measurement Data Format (MDF) versions 3.x and 4.x file formats in python
Other
169 stars 73 forks source link

export to csv adding an extra line #199

Closed medis8731 closed 3 years ago

medis8731 commented 3 years ago

Python version

Please write here the output of printing sys.version

Platform information

Please write here the output of printing platform.platform()

Numpy version

Please write here the output of printing numpy.__version__

mdfreader version

Please write here the output of printing mdfreader.__version__

Description

Im trying to export an mdf file into a CSV. I tried exporting it with the mdfreader. but for some reason I'm getting an extra line in the beginning of the file (s,,,,). I don't understand why this problem is rising. I would appreciate any help. thanks! I've tried changing the open file in the mdf reader but it hasn't changed anything.

Screen Shot 2021-07-01 at 6 35 34 PM Screen Shot 2021-07-01 at 6 34 44 PM Screen Shot 2021-07-01 at 6 35 03 PM
ratal commented 3 years ago

This line is meant for units, time's unit is "s" (second), the other channel do not have units

medis8731 commented 3 years ago

oh cool, thanks for the clarification!