Skip to content
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

Raise exception when attempting to read very large mini-SEED files #1746

Conversation

krischer
Copy link
Member

@krischer krischer commented Apr 1, 2017

The issue is already described here: #1419

It will likely be a while until we can properly fix this and multiple people ran into this issue and thus ObsPy now raises a proper exception message with instructions on how to still read these files if it encounters this problem.

Error message is: "ObsPy can currently not directly read mini-SEED files that are larger than 2^31 bytes (2048 MiB). To still read it, please read the file in chunks as documented here: https://github.com/obspy/obspy/pull/1419#issuecomment-221582369"

@krischer krischer added this to the 1.1.0 milestone Apr 1, 2017
@krischer krischer changed the title Raise exception when attempting to read very large MiniSEED files Raise exception when attempting to read very large mini-SEED files Apr 1, 2017
@krischer
Copy link
Member Author

krischer commented Apr 1, 2017

appveyor is acting up. Can IMHO be ignored for this PR.

Copy link
Member

@megies megies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me. (Started appveyor again)

@Jollyfant
Copy link
Contributor

Is the branch name raise-exception-when-reading-very-large-seed-file too long for AppVeyor to digest or something? 😋

@megies
Copy link
Member

megies commented Apr 3, 2017

Is the branch name raise-exception-when-reading-very-large-seed-file too long for AppVeyor to digest or something? 😋

Looks more like it's looking in the wrong repo..

git clone -q --branch=raise-exception-when-reading-very-large-mseed-file https://github.com/obspy/obspy.git C:\projects\obspy

But branch is on @krischer's fork.. ?!

@krischer
Copy link
Member Author

krischer commented Apr 3, 2017

I think its because I accidentially pushed to the obspy fork at one point because I forgot to set the remote tracking branch. Still a bug in appveyor.

@krischer krischer merged commit 86419c8 into obspy:master Apr 5, 2017
@krischer krischer deleted the raise-exception-when-reading-very-large-mseed-file branch April 5, 2017 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants