Okay, nevermind my post, I just learned about DAT/sacsei.def and what it does. 
Thanks to Ruben Luis!!!!

I see that EH and EN channels are not in this conversion file.

Regards,

Paul


Paul Friberg wrote:
Hi Folks,

Today I converted a number of SAC files that have proper SEED convention in the 
headers, but it appears that wavetool only handled the orientation code 
correctly for one station out of 48..

I have 48 sac files written from Earthworm:

pauls-MacBook-Air-2:TMP paulf$ ls *.00
A02.ENE.XR.00    P01.EHN.XR.00    P03.EHN.XR.00 P07.EHZ.XR.00 P10.EHZ.XR.00    
P12.EHZ.XR.00 P15.EHZ.XR.00    PH4.EHN.XR.00
A02.ENN.XR.00    P01.EHZ.XR.00    P03.EHZ.XR.00 P09.EHE.XR.00 P11.EHE.XR.00    
P14.EHE.XR.00 PH1.EHE.XR.00    PH4.EHZ.XR.00
A02.ENZ.XR.00    P02.EHE.XR.00    P04.EHZ.XR.00 P09.EHN.XR.00 P11.EHN.XR.00    
P14.EHN.XR.00 PH1.EHN.XR.00    PT4.EHE.XR.00
A04.ENE.XR.00    P02.EHN.XR.00    P05.EHZ.XR.00 P09.EHZ.XR.00 P11.EHZ.XR.00    
P14.EHZ.XR.00 PH1.EHZ.XR.00    PT4.EHN.XR.00
A04.ENN.XR.00    P02.EHZ.XR.00    P07.EHE.XR.00 P10.EHE.XR.00 P12.EHE.XR.00    
P15.EHE.XR.00 PH2.EHZ.XR.00    PT4.EHZ.XR.00
P01.EHE.XR.00    P03.EHE.XR.00    P07.EHN.XR.00 P10.EHN.XR.00 P12.EHN.XR.00    
P15.EHN.XR.00    PH4.EHE.XR.00
pauls-MacBook-Air-2:TMP paulf$ ls T25A.BHZ.TA.--
T25A.BHZ.TA.--

The headers look much like this in SAC:


 kstnm[8]*      = P01
  khole[8]      = 00
     ko[8]      =  origin
 kcmpnm[8]      = EHZ
 knetwk[8]      = XR


or in the case of the T25A station:

 kstnm[8]*      = T25A
  khole[8]      = --
     ko[8]      =  origin
 kcmpnm[8]      = BHZ
 knetwk[8]      = TA

I used wavetool to convert all of the files into SEISAN waveform format and 
then I used seisei to merge them into one SEISAN waveform file.

However, the code complains of 10 duplicates:

pauls-MacBook-Air-2:TMP paulf$ seisei
  Merge (1) or split (2) files:
1
  Output format, seisan or mseed ?
seisan
  Give 1-5 letter network code for merged file(s), NSN   is default
RATON
  Maximum difference (sec) of events to merge, return for default (180 secs)



  Number of files to merge          48
  Same station, component and location, different time A02  EN
  Same station, component and location, different time A02  EN
  Same station, component and location, different time P09  EH
  Same station, component and location, different time P09  EH
  Same station, component and location, different time PH1  EH
  Same station, component and location, different time PH1  EH
  Same station, component and location, different time PH4  EH
  Same station, component and location, different time PH4  EH
  Same station, component and location, different time P11  EH
  Same station, component and location, different time P11  EH
  Same station, component and location, different time PH4  EH
  Same station, component and location, different time PH1  EH
  Same station, component and location, different time A02  EN
  Same station, component and location, different time A04  EN
  Same station, component, location and time, removed P03  EH
  Same station, component, location and time, removed P03  EH
  Same station, component, location and time, removed P07  EH
  Same station, component, location and time, removed P07  EH
  Same station, component and location, different time P09  EH
  Same station, component, location and time, removed P10  EH
  Same station, component and location, different time P10  EH
  Same station, component and location, different time P10  EH
  Same station, component and location, different time P11  EH
  Same station, component, location and time, removed P12  EH
  Same station, component, location and time, removed P12  EH
  Same station, component and location, different time P14  EH
  Same station, component and location, different time P14  EH
  Same station, component, location and time, removed P14  EH
  Same station, component and location, different time P15  EH
  Same station, component and location, different time P15  EH
  Same station, component, location and time, removed P15  EH
  Same station, component, location and time, removed PT4  EH
  Same station, component and location, different time PT4  EH
  Same station, component and location, different time PT4  EH
  Same station, component and location, different time P01  EH
  Same station, component and location, different time P01  EH
  Same station, component and location, different time P01  EH
  Same station, component and location, different time P02  EH
  Same station, component and location, different time P02  EH
  Same station, component and location, different time P02  EH
          48  Number of input channels
          10  duplicate channels will not be merged
 Output file name is: 2013-08-10-1855-14S.RATON_038
 Extracted waveform file       38113 222  8 10 18 55 14.744 120.719

 A02 EN      0.00   113.85 P09 EH      0.50   119.20 PH1 EH 0.46 114.94
 PH4 EH      1.20   112.48 P11 EH      1.70   117.84 PH4 EH 2.01 107.31
 T25AB  Z    1.68    69.07 P05 EH      2.90    83.00 PH1 EH 3.06    82.78
 A02 EN      4.12   115.21 A02 EN      3.78    72.45 A04 EN 3.30 114.94
 A04 EN      3.48   115.66 P03 EH      3.50   114.52 P07 EH 3.50 113.36
 P09 EH      3.50    79.82 P10 EH      3.50   111.32 P11 EH 3.72 116.22
 P12 EH      3.50   110.16 P14 EH      4.00   111.62 P14 EH 3.50 110.61
 P15 EH      3.46   111.20 P15 EH      3.50   111.89 PH2 EH 3.50 111.35
 PH4 EH      3.74   113.88 PT4 EH      3.50   115.88 P01 EH 4.44    86.24
 P01 EH      4.40    86.19 P02 EH      4.52   115.19 P02 EH 4.33 116.38
 PH1 EH      4.66   111.77 P01 EH      5.37    80.84 P02 EH 6.01    80.52
 P04 EH      6.01    86.97 P11 EH      5.73    86.97 PT4 EH 5.28 114.18
 P10 EH      7.96    77.81 P09 EH     69.16 48.53


pauls-MacBook-Air-2:TMP paulf$

Why was only the T25A BHZ Z component char recognized? I have yet to look at 
the wavetool code, but it seems to recognize only one of the Seed channels. Why 
are the EN and EH all lumped together and the orientation codes lost?

I have yet to look at the wavetool code, but that is my next step.

Cheers,

Paul


_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan


_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan

Reply via email to