sacio.h

Defines

ITIME
IRLIM
IAMPH
IXY
IUNKN
IDISP
IVEL
IACC
IB
IDAY
IO
IA
IT0
IT1
IT2
IT3
IT4
IT5
IT6
IT7
IT8
IT9
IRADNV
ITANNV
IRADEV
ITANEV
INORTH
IEAST
IHORZA
IDOWN
IUP
ILLLBB
IWWSN1
IWWSN2
IHGLP
ISRO
INUCL
IPREN
IPOSTN
IQUAKE
IPREQ
IPOSTQ
ICHEM
IOTHER
IGOOD
IGLCH
IDROP
ILOWSN
IRLDTA
IVOLTS
IMB
IMS
IML
IMW
IMD
IMX
INEIC
IPDEQ
IPDEW
IPDE
IISC
IREB
IUSGS
IBRK
ICALTECH
ILLNL
IEVLOC
IJSOP
IUSER
IUNKNOWN
IQB
IQB1
IQB2
IQBX
IQMT
IEQ
IEQ1
IEQ2
IME
IEX
INU
INC
IO_
IL
IR
IT
IU
IEQ3
IEQ0
IEX0
IQC
IQB0
IGEY
ILIT
IMET
IODOR
IOS
FALSE
TRUE
SAC_FLOAT_UNDEF
SAC_INT_UNDEF
SAC_CHAR8_UNDEF
SAC_CHAR16_UNDEF
FCS
ICS
CCS1
CCS2
SAC_HEADER_FLOATS
SAC_HEADER_INTS
SAC_HEADER_NUMBERS
SAC_HEADER_STRINGS
SAC_DATA_SIZEOF
SAC_HEADER_STRING_LENGTH_FILE
SAC_HEADER_STRING_LENGTH
SAC_HEADER_FLOATS_SIZE
SAC_HEADER_INTS_SIZE
SAC_HEADER_NUMBERS_SIZE
SAC_HEADER_STRINGS_SIZE
SAC_HEADER_MAJOR_VERSION
SAC_VERSION_LOCATION
TMARK
USERN

Typedefs

typedef struct sac_head SACHEAD

Functions

int read_sac_head(const char *name, SACHEAD *hd)
float *read_sac(const char *name, SACHEAD *hd)
int read_sac_xy(const char *name, SACHEAD *hd, float *xdata, float *ydata)
float *read_sac_pdw(const char *name, SACHEAD *hd, int tmark, float t1, float t2)
int write_sac(const char *name, SACHEAD hd, const float *ar)
int write_sac_xy(const char *name, SACHEAD hd, const float *xdata, const float *ydata)
SACHEAD new_sac_head(float dt, int ns, float b0)
int sac_head_index(const char *name)
int issac(const char *name)
struct sac_head

Public Members

float delta
float depmin
float depmax
float scale
float odelta
float b
float e
float o
float a
float internal1
float t0
float t1
float t2
float t3
float t4
float t5
float t6
float t7
float t8
float t9
float f
float resp0
float resp1
float resp2
float resp3
float resp4
float resp5
float resp6
float resp7
float resp8
float resp9
float stla
float stlo
float stel
float stdp
float evla
float evlo
float evel
float evdp
float mag
float user0
float user1
float user2
float user3
float user4
float user5
float user6
float user7
float user8
float user9
float dist
float az
float baz
float gcarc
float internal2
float internal3
float depmen
float cmpaz
float cmpinc
float xminimum
float xmaximum
float yminimum
float ymaximun
float unused1
float unused2
float unused3
float unused4
float unused5
float unused6
float unused7
int nzyear
int nzjday
int nzhour
int nzmin
int nzsec
int nzmsec
int nvhdr
int norid
int nevid
int npts
int internal4
int nwfid
int nxsize
int nysize
int unused8
int iftype
int idep
int iztype
int unused9
int iinst
int istreg
int ievreg
int ievtyp
int iqual
int isynth
int imagtyp
int imagsrc
int unused10
int unused11
int unused12
int unused13
int unused14
int unused15
int unused16
int unused17
int leven
int lpspol
int lovrok
int lcalda
int unused18
char kstnm[9]
char kevnm[18]
char khole[9]
char ko[9]
char ka[9]
char kt0[9]
char kt1[9]
char kt2[9]
char kt3[9]
char kt4[9]
char kt5[9]
char kt6[9]
char kt7[9]
char kt8[9]
char kt9[9]
char kf[9]
char kuser0[9]
char kuser1[9]
char kuser2[9]
char kcmpnm[9]
char knetwk[9]
char kdatrd[9]
char kinst[9]