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

Channel names in Phase file #84

Open
dylanmikesell opened this issue Jul 27, 2021 · 3 comments
Open

Channel names in Phase file #84

dylanmikesell opened this issue Jul 27, 2021 · 3 comments

Comments

@dylanmikesell
Copy link
Contributor

Below are examples of the miniseed files that are downloaded using EQTransformer. Note channels names are HH1 and HH2.

GS.ID06.00.HH1__20170915T000000Z__20170916T000000Z.mseed GS.ID06.00.HH2__20170917T000000Z__20170918T000000Z.mseed
GS.ID06.00.HH1__20170916T000000Z__20170917T000000Z.mseed GS.ID06.00.HH2__20170918T000000Z__20170919T000000Z.mseed
GS.ID06.00.HH1__20170917T000000Z__20170918T000000Z.mseed GS.ID06.00.HHZ__20170915T000000Z__20170916T000000Z.mseed
GS.ID06.00.HH1__20170918T000000Z__20170919T000000Z.mseed GS.ID06.00.HHZ__20170916T000000Z__20170917T000000Z.mseed
GS.ID06.00.HH2__20170915T000000Z__20170916T000000Z.mseed GS.ID06.00.HHZ__20170917T000000Z__20170918T000000Z.mseed
GS.ID06.00.HH2__20170916T000000Z__20170917T000000Z.mseed GS.ID06.00.HHZ__20170918T000000Z__20170919T000000Z.mseed

If we look at the phase file written by the association routine, the channel names are converted to HHE and HHN. Here is an example event from a Y2000.phs file.

2017 915 0 522.9142 38.58111W27.54 5.000.00
ID06 GS HHE 2017 915 0 5 0.00 24.21ES 0
ID06 GS HHZ IP 02017 915 0 522.82 0.00 0
ID05 GS HHE 2017 915 0 5 0.00 24.30ES 0
ID05 GS HHZ IP 02017 915 0 522.94 0.00 0
200001

I am curious why and how this channel name conversion happens. I have some code for writing the station list file needed for hypoinverse, but I was using the filenames to build the that file (e.g. using HH1 and HH2). But now the phase file is inconsistent with that approach.

I can work on fixing this (either in the downloaded filename or the on the phase file writing side of things). Has anyone else noticed this behavior? Is this a feature or a bug?

Metadata example (read in MATLAB) shows HH1 as the channel name.

StationIdentifierCode: 'ID06 '
LocationIdentifier: '00'
ChannelIdentifier: 'HH1'
NetworkCode: 'GS'
ChannelFullName: 'GS:ID06:00:HH1'

@smousavi05
Copy link
Owner

@dylanmikesell I made that conversion intentionally. I don't recall the issue it was causing at the moment but I am sure there was a reason for that specially when using hypoinvers.

@dylanmikesell
Copy link
Contributor Author

Okay. No problem. It would be nice to state that in the tutorial/documentation somewhere so the user knows it is happening.

@smousavi05
Copy link
Owner

thanks for the suggestion. I'll do so as soon as I got some time.

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