We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
nat = Scene(f,reader='native_msg')
MSG Native reader gets a ValueError when using a full disk image file
no error
~/fork/satpy/satpy/readers/native_msg.py in _get_memmap(self) 99 hdr_size = self.header.dtype.itemsize 100 import ipdb; ipdb.set_trace() --> 101 return np.memmap(fp_, dtype=dt, shape=(self.data_len,), 102 offset=hdr_size, mode="r") 103 ~/dev/lib/python3.4/site-packages/numpy-1.14.2-py3.4-linux-x86_64.egg/numpy/core/memmap.py in __new__(subtype, filename, dtype, mode, offset, shape, order) 262 bytes -= start 263 array_offset = offset - start --> 264 mm = mmap.mmap(fid.fileno(), bytes, access=acc, offset=start) 265 266 self = ndarray.__new__(subtype, shape, dtype=descr, buffer=mm, ValueError: mmap length is greater than file size
3.4.6 Thank you for reporting an issue !
The text was updated successfully, but these errors were encountered:
Fixed and merged to develop
develop
Sorry, something went wrong.
sjoro
No branches or pull requests
Code Sample, a minimal, complete, and verifiable piece of code
Problem description
MSG Native reader gets a ValueError when using a full disk image file
Expected Output
no error
Actual Result, Traceback if applicable
Versions of Python, package at hand and relevant dependencies
3.4.6
Thank you for reporting an issue !
The text was updated successfully, but these errors were encountered: