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

Trouble importing from SDS file structure - stream object is empty #1378

Closed
nukolas opened this issue Apr 20, 2016 · 2 comments
Closed

Trouble importing from SDS file structure - stream object is empty #1378

nukolas opened this issue Apr 20, 2016 · 2 comments
Labels
question Questions asked by users. Please use https://discourse.obspy.org for asking new questions

Comments

@nukolas
Copy link

nukolas commented Apr 20, 2016

Hi, I'm trying to import files from a local SDS file structure, but the returned stream is empty, and no error is given. I have posted all the details on stack overflow in hope of assistance

I can repost here on GitHub if requested.

Python 2.7 and Obspy 1.0.1 installed using Anaconda

@megies
Copy link
Member

megies commented Apr 20, 2016

SDS structure has no .msd file endings. See http://www.seiscomp3.org/wiki/doc/applications/slarchive/SDS and https://github.com/obspy/obspy/blob/master/obspy/clients/filesystem/sds.py#L55-L57. You can use this private method _get_filename of the client to check what the correct path and filename for your data would be.

@megies megies added the question Questions asked by users. Please use https://discourse.obspy.org for asking new questions label Apr 20, 2016
@nukolas
Copy link
Author

nukolas commented Apr 20, 2016

Thanks Tobias for pointing that out, this solves my issue.

@megies megies closed this as completed Apr 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions asked by users. Please use https://discourse.obspy.org for asking new questions
Projects
None yet
Development

No branches or pull requests

2 participants