I'm trying to load two memory mapped files,
temp = numpy.load(currentDirectory + "\\tmp\\temperature.npy", mmap_mode='r')
salinity = numpy.load(currentDirectory + "\\tmp\\salinity.npy", mmap_mode='r')
but Python throws the following error:
IOError: Failed to interpret file 'C:\\my\\file\\path\\..\\tmp\\salinity.npy' as a pickle
When I load either by itself, it works just fine.
The files that are quite large (~500MB), but otherwise I don't think they are notable.
What might the problem be here?
shapeanddtypeof these files (when loaded individually).(1, 102, 720, 1440)and type =float32. I'll give some smaller files a try and see what happens...