[SciPy-User] SciPy-User Digest, Vol 120, Issue 12

Matthew Brett matthew.brett at gmail.com
Fri Jan 24 13:44:07 EST 2014


Hi,

On Fri, Jan 24, 2014 at 2:38 AM, Sebastian Berg
<sebastian at sipsolutions.net> wrote:
> On Fri, 2014-01-24 at 11:32 +0100, Sebastian Berg wrote:
>> On Thu, 2014-01-23 at 15:34 -0800, Matthew Brett wrote:
>> > Hi,
>> >
>> > On Tue, Aug 20, 2013 at 7:39 AM, Michal Romaniuk
>> > <michal.romaniuk06 at imperial.ac.uk> wrote:
>> > > Hi,
>> > >
>> > >> Hi,
>> > >>
>> > >> On Mon, Aug 19, 2013 at 7:44 AM, Michal Romaniuk
>> > >> <michal.romaniuk06 at imperial.ac.uk> wrote:
>> > >>> Hi,
>> > >>>
>> > >>> I'm saving a large batch of data using savemat and although I get no
>> > >>> errors, the files produced are not readable for either matlab or scipy.
>> > >>> Is there a limit on file size?
>> > >>
>>
>> Hi,
>>
>> seems like a bug in
>>
>> https://github.com/scipy/scipy/blob/master/scipy/io/matlab/mio5_utils.pyx#L123
>>
>> the line should use np.intp_t not int32_t.
>>
>
> Sorry didn't think that through. I bet the int32 is just the format and
> the 9 GiB with double doesn't indicate some overflow as I thought
> anyway.

Yes, the int32 is the format - see page 1-15 at
http://www.mathworks.com/help/pdf_doc/matlab/matfile_format.pdf

Cheers,

Matthew



More information about the SciPy-User mailing list