Thread: SAC format conversion

Started: 2017-04-03 10:57:34
Last activity: 2017-04-03 10:57:34
Topics: SAC Help
Shutian
2017-04-03 10:57:34
Hello, I need the following sac ascii format. At the moment I forget how to convert this format from the SAC binary format. If you know the procedure, tell me.
Thanks in advance.Shutian

-------------------------------------------------------------------------
STA=YAK  LAT=  0.00  LON=  0.00  ELEV=   0.0(M)
COMP=LHZ  RATE=0.1
TIME=2012,302,03:04:08.000

The complex transfer functions T are calculated by:
  T(S)=DS*A0*(S-Z01)*(S-Z02)*...*(S-Zm)/((S-P01)*(S-P02)...(S-Pn))
  where:S=i*Omega, Omega=angular frequency
DS=0.00000E+00(COUNTS/MICROMETER,the appropriate digital sensitivity)
A0=0.00000E+00(is scalar)
n=1(the number of complex poles)
P01=(+0.00000E+00)+(+0.00000E+00)i
m=1(the number of complex zeros)
Z01=(+0.00000E+00)+(+0.00000E+00)i

NSAM=1440(the number of sample data)
         3895.1        -1036.3          365.8         -431.1          102.3
         -399.5         -163.0         -130.3          -21.7           79.4
          -78.7         -145.5          -67.9          280.7          428.8
          -17.9          -15.9          354.7          110.2          126.2
          135.2          458.2           37.5          286.0          356.6
          360.9          366.5          179.8          464.0          174.5
          445.0          380.6          288.4          743.6          182.2
          315.9          590.5          150.3          598.2          139.5
          893.4           44.1          696.4            5.6          754.8
          -78.7          935.5         -392.9         1007.2         -553.9
         1197.2         -696.5          271.4         1341.8        -9204.8
        17033.8          874.3       -16202.9         1630.7         4272.9
         4373.0        -8174.9         5970.2         -639.8        -3017.5
23:04:01 v.22510d55