Hi friends,
I will appreciate if someone could tell me how works the command sac "merge" I do as the manual says but it doesn’t merge anything. I have tons of information to merge; each sac file has 10 minutes window time I need each file in 60 minutes , my mates says I need an script. Does someone have a model script or another way to merge my files.
Thanks in advance for your answers.
I will appreciate if someone could tell me how works the command sac "merge" I do as the manual says but it doesn’t merge anything. I have tons of information to merge; each sac file has 10 minutes window time I need each file in 60 minutes , my mates says I need an script. Does someone have a model script or another way to merge my files.
Thanks in advance for your answers.
-
Dear Jhon Cruz Igme -
The documentation seems clear, but without an example it is hard to critique your approach. Here is an example using data that you can compare to the description:
SAC> fg seismogram ;* test data
SAC> ch b (&1,e& + &1,delta&) ;* changes begin time to next sample
SAC> w /tmp/hold ;* save modified data as an external file
SAC> fg seismogram ;* seismogram in memory
SAC> merge /tmp/hold ;* concatenate data following
SAC> lh ;* show result
FILE: SEISMOGR
--------------
NPTS = 2000 B = 9.460
E = 29.450 IFTYPE = TIME SERIES FILE
LEVEN = TRUE DELTA = 0.10E-01
IDEP = VELOCITY (VOLTS) DEPMIN = -1.56928
DEPMAX = 1.52064 DEPMEN = -0.985472E-01
OMARKER = -43.2000 AMARKER = 10.4700
FMARKER = 17.7800 KZDATE = MAR 29 (088), 1981
KZTIME = 10:38:14.000 IZTYPE = BEGIN TIME
KSTNM = CDV CMPAZ = 0.0
CMPINC = 0.0 STLA = 48.0
STLO = -120.0 KEVNM = K8108838
EVLA = 48.0 EVLO = -125.0
EVDP = 0.0 IEVTYP = AFTERSHOCK
DIST = 373.063 AZ = 88.1471
BAZ = 271.853 GCARC = 3.35746
LOVROK = TRUE
SAC> p1 ;* see result: two copies of data!
SAC> quit
You repeat MERGE commands to add further data to your (lengthening) seismogram.
On 19 Jun 2014, at 15:14, jhon cruz igme wrote:
Hi friends,
George Helffrich
I will appreciate if someone could tell me how works the command sac "merge" I do as the manual says but it doesn’t merge anything. I have tons of information to merge; each sac file has 10 minutes window time I need each file in 60 minutes , my mates says I need an script. Does someone have a model script or another way to merge my files.
Thanks in advance for your answers.
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
george.helffrich<at>bris.ac.uk