Hi DM,
Short answer: dirf command is your friend; then use the generated
filenr.lis as input when calling wavetool :)
Long answer, do the following steps (text in blue are hardtyped):
1. Go to seisan waveform directory:
ex. cd ~/seismo/WAV/TEST_/2020/01
2. use dirf command, this will generate a file named filenr.lis
ex. dirf * --- Note: assuming all the files inside the
directory are in seisan format
3. call wavetool command, routine sample below:
vmepd_staff@phivolcs:~/Documents/sample$ wavetool
Filename of s-file or waveform file, number or filenr.lis
filenr.lis
Ground motion output (dis = 1, vel = 2, acc = 3, none = return)
Filter low and high, return for no filter
Number of wav-files 1
Number of wav-files present 1
2020-03-05-0000-00S.VSPHI_037 SEISAN
Total number of channels available: 37
Total duration: 1805.10510
Output formats (SEISAN, GSE (def=CM6), GSEINT, SAC, MSEED, SEED,
SEEDDL)
Default is SEISAN=return
SAC
Hope this helps.
Cheers,
cj
On Thu, Mar 5, 2020 at 7:01 PM <[email protected]> wrote:
> Today's Topics:
>
> 1. seisan to sac conversion (D phys)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 4 Mar 2020 20:03:23 +0530
> From: D phys <[email protected]>
> Subject: [seisan] seisan to sac conversion
> To: [email protected]
>
> Hi
> Is there a way to convert multiple seisan files to sac in one go using
> wavetool.
>
>
> Thank you
>
> regards
> DM
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: text/html
> Size: 215 bytes
> Desc: not available
> URL: <
> https://mailman.uib.no/private/seisan/attachments/20200304/c7aaae31/attachment.txt
> >
>
> ----------------------------------------------------------------------
> Send seisan mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mailman.uib.no/listinfo/seisan
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of seisan digest..."
>
>
> _______________________________________________
> seisan mailing list
> [email protected]
> https://mailman.uib.no/listinfo/seisan
>
>
> End of seisan Digest, Vol 144, Issue 1
> **************************************
>
--
Sa taong may hiya, salita'y panunumpa.
-Emilio Jacinto (Mga Aral ng Katipunan sa Kartilya)
_______________________________________________
seisan mailing list
[email protected]
https://mailman.uib.no/listinfo/seisan