-
Notifications
You must be signed in to change notification settings - Fork 74
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
Unable to merge two files, possibly due to hardcoded 'master' master channel name #184
Comments
Thanks for pointing out. |
In dev branch you will find merge_mdf() has changed name into concat_mdf() and a new merge_mdf() appears that answers your use case -> you can try it. |
Hello Mr. Rateau, I'm having a similar issue, but instead with data from the same vehicle and have all common channels. Error text: KeyError: 'data'_ Will your updated concat_mdf()/merge_mdf() code help me as well? Thanks, |
Hi Ecal, |
I guess issue was solved after 5 months, do hesitate to reopen if not. |
Python version
3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]
Platform information
Windows-10-10.0.16299-SP0
Numpy version
1.18.1
mdfreader version
4.0
Description
Unable to merge two mdf files. Files have no common channels, but were recorded simultaneously to different computers. One is version 300 and another 310.
After resampling,
yop
andpoy
each have one master channel, but they are named from one of the channels in the file, not 'time' or 'master'.yop.masterChannelList.keys()
['time_1']
poy.masterChannelList.keys()
['TEST_TIME_1']
I've tried merging in each direction:
combined = yop.merge_mdf(poy)
and
combined = poy.merge_mdf(yop)
and both will yield the same error:
Neither mdf has a master channel named master.
Is 'master' a reserved name? or should resample() force a name rather than inherit a name from the file?
The text was updated successfully, but these errors were encountered: