libsacio  1.0.2
Seismic Analysis Code I/O Library
Data Fields
sac_hdr Struct Reference

sac header More...

Data Fields

float _delta
 time increment, sec Required
 
float depmin
 minimum amplitude
 
float depmax
 maximum amplitude
 
float scale
 amplitude scale factor
 
float odelta
 observed time inc
 
float _b
 initial value, time Required, available in data
 
float _e
 final value, time Required, available in data
 
float _o
 event start, sec < nz.
 
float _a
 1st arrival time
 
float _t0
 user-defined time pick
 
float _t1
 user-defined time pick
 
float _t2
 user-defined time pick
 
float _t3
 user-defined time pick
 
float _t4
 user-defined time pick
 
float _t5
 user-defined time pick
 
float _t6
 user-defined time pick
 
float _t7
 user-defined time pick
 
float _t8
 user-defined time pick
 
float _t9
 user-defined time pick
 
float _f
 event end, sec > nz
 
float resp0
 instrument respnse parm
 
float resp1
 instrument respnse parm
 
float resp2
 instrument respnse parm
 
float resp3
 instrument respnse parm
 
float resp4
 instrument respnse parm
 
float resp5
 instrument respnse parm
 
float resp6
 instrument respnse parm
 
float resp7
 instrument respnse parm
 
float resp8
 instrument respnse parm
 
float resp9
 instrument respnse parm
 
float _stla
 station latititude available from SEED
 
float _stlo
 station longitude available from SEED
 
float stel
 station elevation, m available from SEED
 
float stdp
 station depth, m available from SEED
 
float _evla
 event latitude
 
float _evlo
 event longitude
 
float evel
 event elevation
 
float evdp
 event depth
 
float mag
 event magnitude
 
float user0
 available to user
 
float user1
 available to user
 
float user2
 available to user
 
float user3
 available to user
 
float user4
 available to user
 
float user5
 available to user
 
float user6
 available to user
 
float user7
 available to user
 
float user8
 available to user
 
float user9
 available to user
 
float dist
 station-event distance, km
 
float az
 event-station azimuth
 
float baz
 station-event azimuth
 
float gcarc
 station-event dist, degrees
 
float _sb
 saved b value, for spectral files
 
float _sdelta
 saved delta, for spectral files
 
float depmen
 mean value, amplitude
 
float cmpaz
 component azimuth available from SEED More...
 
float cmpinc
 component inclination available from SEED More...
 
float xminimum
 min x value for IXY files
 
float xmaximum
 max x value for IXY files
 
float yminimum
 min y value for IXY files
 
float ymaximum
 max y value for IXY files
 
int nzyear
 zero time of file, yr available from SEED
 
int nzjday
 zero time of file, day available from SEED
 
int nzhour
 zero time of file, hr available from SEED
 
int nzmin
 zero time of file, min available from SEED
 
int nzsec
 zero time of file, sec available from SEED
 
int nzmsec
 zero time of file, msec available from SEED
 
int nvhdr
 header version
 
int norid
 origin ID
 
int nevid
 event ID
 
int npts
 number of samples Required, available from SEED
 
int nsnpts
 save npts, for spectral files
 
int nwfid
 waveform ID
 
int nxsize
 size in x direction for IXY files
 
int nysize
 size in y direction for IXY files
 
int iftype
 type of file Required, settable from a priori knowledge More...
 
int idep
 type of amplitude
 
int iztype
 zero time equivalence
 
int iinst
 recording instrument
 
int istreg
 stn geographic region
 
int ievreg
 event geographic region
 
int ievtyp
 event type
 
int iqual
 quality of data
 
int isynth
 synthetic data flag
 
int imagtyp
 magnitude type
 
int imagsrc
 magnitude source
 
int leven
 data-evenly-spaced flag Required, settable from a priori knowledge
 
int lpspol
 station polarity flag
 
int lovrok
 overwrite permission
 
int lcalda
 calc distance, azimuth
 
char kstnm [9]
 station name available from SEED
 
char kevnm [18]
 event name
 
char khole [9]
 location available from SEED
 
char ko [9]
 event origin time id
 
char ka [9]
 1st arrival time ident
 
char kt0 [9]
 time pick 0 ident
 
char kt1 [9]
 time pick 1 ident
 
char kt2 [9]
 time pick 2 ident
 
char kt3 [9]
 time pick 3 ident
 
char kt4 [9]
 time pick 4 ident
 
char kt5 [9]
 time pick 5 ident
 
char kt6 [9]
 time pick 6 ident
 
char kt7 [9]
 time pick 7 ident
 
char kt8 [9]
 time pick 8 ident
 
char kt9 [9]
 time pick 9 ident
 
char kf [9]
 end of event ident
 
char kuser0 [9]
 available to user
 
char kuser1 [9]
 available to user
 
char kuser2 [9]
 available to user
 
char kcmpnm [9]
 component name available from SEED
 
char knetwk [9]
 network name available from SEED
 
char kdatrd [9]
 date data read
 
char kinst [9]
 instrument name
 

Detailed Description

sac header

References:

      Column 1:
               R       required by SAC
        (blank)       optional
      Column 2:
              A = settable from a priori knowledge
              D = available in data
              F = available in or derivable from SEED fixed data header
              T = available in SEED header tables
        (blank) = not directly available from SEED data, header
                  tables, or elsewhere
  
See also
SACheader

Field Documentation

◆ cmpaz

float sac_hdr::cmpaz

component azimuth available from SEED

  • 0: North
  • 90 East
  • 180: South
  • 270: West

◆ cmpinc

float sac_hdr::cmpinc

component inclination available from SEED

  • 0: Up,Vertical
  • 90 Horizontal
    Warning
    This convention is different from the SEED convention where the incliination is specified as a dip, or the degrees down from the horizontal. This would make up, vertical, -90.0

◆ iftype

int sac_hdr::iftype

type of file Required, settable from a priori knowledge


The documentation for this struct was generated from the following file: