[SAC-HELP] printed comment in transfer command

Neil Selby neil at blacknest.gov.uk
Mon Jul 25 06:58:44 PDT 2011


Hello, hope this gets through!


this is an example of the behaviour I described to Sheila:


[neil at braeriach scratch]$ /sharedprograms/sac/v101.4/64/sac/bin/sac
 SEISMIC ANALYSIS CODE [06/07/2010 (Version 101.4)]
 Copyright 1995 Regents of the University of California

SAC> r *SHZ*sac
20020511_000000.EKB10.SHZ.sac 20020511_000000.EKB1.SHZ.sac 
20020511_000000.EKB2.SHZ.sac 20020511_000000.EKB3.SHZ.sac 
20020511_000000.EKB4.SHZ.sac 20020511_000000.EKB5.SHZ.sac 
20020511_000000.EKB6.SHZ.sac 20020511_000000.EKB7.SHZ.sac 
20020511_000000.EKB8.SHZ.sac 20020511_000000.EKB9.SHZ.sac 
20020511_000000.EKR10.SHZ.sac 20020511_000000.EKR1.SHZ.sac 
20020511_000000.EKR2.SHZ.sac 20020511_000000.EKR3.SHZ.sac 
20020511_000000.EKR4.SHZ.sac 20020511_000000.EKR5.SHZ.sac 
20020511_000000.EKR6.SHZ.sac 20020511_000000.EKR7.SHZ.sac 
20020511_000000.EKR8.SHZ.sac 20020511_000000.EKR9.SHZ.sac
SAC> lh scale
 
 
  FILE: 20020511_000000.EKB10.SHZ.sac - 1
 -----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB1.SHZ.sac - 2
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB2.SHZ.sac - 3
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB3.SHZ.sac - 4
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB4.SHZ.sac - 5
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB5.SHZ.sac - 6
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB6.SHZ.sac - 7
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB7.SHZ.sac - 8
 ----------------------------------

     scale = 7.225000e-02
Waiting
 
 
  FILE: 20020511_000000.EKB8.SHZ.sac - 9
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKB9.SHZ.sac - 10
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR10.SHZ.sac - 11
 -----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR1.SHZ.sac - 12
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR2.SHZ.sac - 13
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR3.SHZ.sac - 14
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR4.SHZ.sac - 15
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR5.SHZ.sac - 16
 ----------------------------------

     scale = 7.225000e-02
Waiting
 
 
  FILE: 20020511_000000.EKR6.SHZ.sac - 17
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR7.SHZ.sac - 18
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR8.SHZ.sac - 19
 ----------------------------------

     scale = 7.225000e-02
 
  FILE: 20020511_000000.EKR9.SHZ.sac - 20
 ----------------------------------

     scale = 7.225000e-02
SAC>
SAC> rmean
SAC> taper
SAC> trans from pol s EKA-SZ.pz to none freq 1 2 3 4
 Extracting polezero response for EKB10   , SHZ     ...

Station (EKB10   ), Channel (SHZ     )
        Waveform multiplied by 1.000000 after deconvolution.
 Extracting polezero response for EKB1    , SHZ     ...

Station (EKB1    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB2    , SHZ     ...

Station (EKB2    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB3    , SHZ     ...

Station (EKB3    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB4    , SHZ     ...

Station (EKB4    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB5    , SHZ     ...

Station (EKB5    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB6    , SHZ     ...

Station (EKB6    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB7    , SHZ     ...

Station (EKB7    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB8    , SHZ     ...

Station (EKB8    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKB9    , SHZ     ...

Station (EKB9    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR10   , SHZ     ...

Station (EKR10   ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR1    , SHZ     ...

Station (EKR1    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR2    , SHZ     ...

Station (EKR2    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR3    , SHZ     ...

Station (EKR3    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR4    , SHZ     ...

Station (EKR4    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR5    , SHZ     ...

Station (EKR5    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR6    , SHZ     ...

Station (EKR6    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR7    , SHZ     ...

Station (EKR7    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR8    , SHZ     ...

Station (EKR8    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
 Extracting polezero response for EKR9    , SHZ     ...

Station (EKR9    ), Channel (SHZ     )
        Nominal Calper not set. Setting Nominal Calper to -999.000000 to 
match Wfdisc Calper
        Sensor Calper not set. Setting Sensor Calper to 1.000000 to 
match Wfdisc Calper
        Response appears to be Normalized.
        Waveform appears to be unscaled.
        Wfdisc calib value is (0.072250).
        Waveform multiplied by 0.072250 after deconvolution.
SAC>



plotting the data shows that all but the first channel has been 
multiplied by the "scale" factor 0.072250. If you don't want to multiply 
by scale (which you often don't) then care needs to be taken. I assume 
that the above behaviour is not intended.

Also I don't think it's fair to say that the "scale" value is unused - 
it's unused when rdseed generated sac files are being used, certainly.

Neil Selby
AWE Blacknest



More information about the sac-help mailing list