Learn R Programming

RSEIS (version 1.0-9)

JGET.seis: Reads various seismic file formats

Description

This fuction calls c-routines to read in segy, sac.

Usage

JGET.seis(fnames, kind = 1, PLOT = FALSE)
getseisinfo(fnames, kind = 1)

Arguments

fnames
list of file names.
kind
an integer {1, 2, 3}; 1 = segy, 2 = sac, 3 = AH.
PLOT
logical, for if the traces should be plotted.

Value

  • a list containing the seismic data and header information. Each trace consists of a list with:
  • fnoriginal file name
  • stastation name
  • compcompnent
  • dtdelta t in seconds
  • DATTIMtime list
  • yryear
  • jdjulian day
  • momonth
  • domday of month
  • hrhour
  • miminute
  • secsec
  • msecmilliseconds
  • dtdelta t in seconds
  • t1time start of trace
  • t2time end of trace
  • offoff-set
  • Nnumber of points in trace
  • unitsunits
  • ampvector of trace values

See Also

Package:Rsac

Examples

Run this code
Lname = list.files(path='/data/wadati/bourbon/LaurelCanNC/R005.01' , pattern="08.005.01.41.23.9024", full.names=TRUE)

S1  = JGET.seis(Lname, kind = 1, PLOT = FALSE)

Run the code above in your browser using DataLab