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

ph5tostationxml text format results in error #181

Closed
nick-falco opened this issue Feb 14, 2018 · 1 comment
Closed

ph5tostationxml text format results in error #181

nick-falco opened this issue Feb 14, 2018 · 1 comment
Assignees
Labels

Comments

@nick-falco
Copy link
Collaborator

The command line version of ph5tostationxml is resulting in the following error whenever the text format is requested.

(ph5) -bash-4.1$ ph5tostationxml -p . -n master.ph5 --level=network -f TEXT --network=*
Error - Unable to write stationtxt at channel level. One or more networks contain no stations. Using `level='network'` might work (with less detail in the output).
@derick-hess
Copy link
Contributor

derick-hess commented Feb 14, 2018

this error seems to becoming from inv.write like maybe the stationtxt writer wherever that code is in obspy requires channels. I don't think this error is in ph5tosdtationxml, but I'll look more closely.

We might possibly need to update the stationtxt writer to handle this

nick-falco added a commit that referenced this issue Feb 27, 2018
- Print to stdout by default in instead of a file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants