#### this will return a list of traces
Lname = list.files(path='/data/wadati/bourbon/LaurelCanNC/R005.01' , pattern="08.005.01.41.23.9024", full.names=TRUE)
S1 = JSAC.seis(Lname, Iendian = 1, PLOT = FALSE)
##################### from a data base example: this will return one
##### trace header
f1 = DB$fn[200]
j1 = JSAC.seis(f1, Iendian=1, HEADONLY=TRUE , BIGLONG=FALSE, PLOT=FALSE)
print( j1[[1]]$HEAD )
############# example for SEGY data: one SEGY header
dir = "/data/wadati/soju/SEISMIC_DATA/Reventador2005/rev05/SEGY/R251.01"
lf = list.files(path=dir, pat="05.251", full.names=TRUE)
f1 = lf[1]
j1 = JSEGY.seis(f1, Iendian=1, HEADONLY=TRUE , BIGLONG=FALSE, PLOT=FALSE)
print( j1[[1]]$HEAD )
Run the code above in your browser using DataLab