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

Fix location codes #17

Closed
2 tasks
paudetseis opened this issue Jul 30, 2020 · 2 comments
Closed
2 tasks

Fix location codes #17

paudetseis opened this issue Jul 30, 2020 · 2 comments

Comments

@paudetseis
Copy link
Collaborator

This issue was raised in SplitPy: paudetseis/SplitPy#8 and concerns the handling of location codes in the script query_fdsn_stdb.py.

The issue was partially fixed by adding an argument -L to specify the location code of interest. For example, query_fdsn_stdb.py -N IU -S ANMO -L 00 db. The code currently only handles one location code as argument (no comma-separated values). See commit f7d880d

In (partially) fixing this issue, a new one came up where the default chnrank option gets superseded by the sorting done in the inventory object. So even though the chnrank has first item 'LH' by default, the first channel available in the inventory object is 'BH'.

To do:

  • Fix code to use a list of location codes (will have to fix the station keys in that case to use a long form) as input
  • Fix the sorting of channels in inventory to use 'chnrank`
@paudetseis
Copy link
Collaborator Author

@schaefferaj does the new commit 8183b17 resolve the issue above? If so, we can probably close it

@schaefferaj
Copy link
Owner

schaefferaj commented Dec 2, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants