You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`
The text was updated successfully, but these errors were encountered:
@paudetseis, yes, this new commit (8183b17) does resolve the issue above. Multiple location codes can be specified, the channel follows channel rank, and a db entry is only returned if the location code(s) exist for the specified channel. Also, the start/end dates return correspond specifically to the channel code, not the station start/end dates as was used previously.
This issue was raised in
SplitPy
: paudetseis/SplitPy#8 and concerns the handling of location codes in the scriptquery_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 f7d880dIn (partially) fixing this issue, a new one came up where the default
chnrank
option gets superseded by the sorting done in theinventory
object. So even though thechnrank
has first item'LH'
by default, the first channel available in the inventory object is'BH'
.To do:
The text was updated successfully, but these errors were encountered: