EQTransformer icon indicating copy to clipboard operation
EQTransformer copied to clipboard

Channel names in Phase file

Open dylanmikesell opened this issue 3 years ago • 3 comments

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'

dylanmikesell avatar Jul 27 '21 18:07 dylanmikesell

@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.

smousavi05 avatar Jul 28 '21 01:07 smousavi05

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

dylanmikesell avatar Jul 28 '21 13:07 dylanmikesell

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

smousavi05 avatar Jul 28 '21 18:07 smousavi05