-
Notifications
You must be signed in to change notification settings - Fork 551
Allow reading multiple blockette 55 entries (FAP) in dataless seed file #3277
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
Conversation
Some tests for TauP are failing but this is probably not related to my changes. Making it ready for review now anyway. |
@isbreen there are some file changes in taup data files in your PR. These need to be fixed. |
Not sure where these taup changes came from. I didn't touch them. So not sure how to fix this. Will try. |
eb5d924
to
c0be61e
Compare
@megies I have added a test but I'm still struggling with these taup file changes. There have NOT been changed (I compared them with previous version with diff command). I tried with my limited git experience to uncommit these changes and then marked these as assumed unchanged but no luck. Any idea what is going on here and how I can fix this? |
eb48b04
to
dfe2b96
Compare
Sometimes on other platforms weird stuff happens that adds like a line ending on the last line of files (there's differences between nix and windows there) and if you commit everything that just goes in there. That's why I always recommend Don't worry about it now, I can fix that later. Can you change the test to use the smaller file I posted in the issue, though? |
Ok, thanks for fixing this!
I have exchanged the test data files with your files. Thanks for editing the dataless-seeds! That was out of my expertise. |
obspy/io/xseed/tests/test_parser.py
Outdated
inv_xml = obspy.read_inventory('issue3275.xml') | ||
inv_seed = obspy.read_inventory('issue3275.seed') | ||
inv_xml = obspy.read_inventory(testdata['issue3275.xml']) | ||
inv_seed = obspy.read_inventory(testdata['issue3275.seed']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@isbreen this is how to lookup test data within one module through the pytest fixture we provide, just fyi
bd6e8bd
to
372bc98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did some cleanup and rebasing/squashing commits to clean up history. Should be good to go if CI goes green
Thanks! |
What does this PR do?
Allows reading multiple blockette 55 entries (FAP respons list) in dataless seed file.
Why was it initiated? Any relevant Issues?
fixes #3275
PR Checklist
master
for new features,maintenance_...
for bug fixesno_ci
label can be added to skip CI buildsJust add the
build_docs
tag to this PR.Docs will be served at docs.obspy.org/pr/{branch_name} (do not use master branch).
Please post a link to the relevant piece of documentation.
clients.fdsn
) should be tested for the PR,just add the
test_network
tag to this PR.CHANGELOG.txt
.CONTRIBUTORS.txt
.from all the CI builds look correct. Add the "upload_plots" tag so that plotting
outputs are attached as artifacts.
CODEOWNERS
with your github handleready for review
tag when you are ready for the PR to be reviewed.