Closed danielhrisca closed 6 years ago
Hi Daniel,
time is wrongly defined. Could you print the following ?
print(time)
print(self.getChannelData(group))
print(datetimeInfo)
just before temp[channel] = pd.Series(data, index=time)
one of them is probably wrong, most probably time from getChannelData.
Did you try writing mdf4 after reading the mdf3 you mention in issue #73 ?
The input file is the same file as issue #73. I'll send the prints next week
Hello Aymeric, I get None as the output for print(x.convertToPandas())
If this is correct then this issue can be closed
Hi Daniel, I tried axactly same command with your file error.mdf (from issue #67 ) and I get pandas frame, not None. Again having difficulties to reproduce. Same file ?
I've tried this again with the latest commit on Linux and I still get None as the returned value. I also get the same result with the version 4 test file.
3.6.2 (default, Jul 20 2017, 03:52:27)
[GCC 7.1.1 20170630]
Linux-4.9.40-1-MANJARO-x86_64-with-glibc2.3.4
Dear Daniel, Yes I see my mistake. Indeed I could reproduce it by applying exactly your code, I also get None, maybe some issue in mdf_skeleton.str However, the mdf contains dataframes for each raster as expected, you can confirm it with ipython for instance without the print() or doing a print(x) after x.convertToPandas(), not sure yet why.
Looking at the code I see the method doesn't return so it is correct to see None as the print output.
and the script used: