SAC Help

A forum for SAC users to exchange ideas and ask questions about SAC usage, installation, portability, etc.

Email address
sac-help@lists.ds.iris.edu
Type
Moderated by
IRIS Webmaster
Related tags
SAC Software SAC
March
February
January

Active Message Threads for May 2007

Geo .
2007-05-21 20:48:37 - 2007-05-21 21:11:28
Greetings: Is it possible to convert an ascii file into a SAC file? if not how would you read a simple ascii file in SAC? Thanks ! Januka
Replies
Ray Russo
2007-05-16 20:34:17 - 2007-05-16 21:44:24
I'm trying to use wsac0 with some home-grown fortran code. I get errors after apparently normal compilation: ERROR: Illegal enumerated header field value: IXY 4? ERROR: Illegal enumerated header field value: IXYZ?e? I have set the IFTYPE several different ways in the call: ftype = 'IXY' (ftype defined character*4) call setihv('IFTYPE',ftype,nerr) or call setihv('IFTYPE','IXY',nerr) Nothing works. Looks like there is garbage at the end of the string, to judge from the error messag… [more]
Replies
Murat BEYHAN
2007-05-12 09:48:35 - 2007-05-14 16:02:42
Dear All, I'm new user. I would like to print out the images which is the result of following script as jpeg file SAC>plotpk perplot 5 how can I save the result of this command into the jpeg file Regards... MURAT -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Replies
Tuna Eken
2007-05-13 08:12:49
Murat, try the following: SAC> bg sgf SAC> read file SAC>p1 p 5 then quit, if you list the files in the current directory, you will have to have new files called f001.sgf f002.sgf , etc which depends on the amount of the sac binary data you have read. Then try to convert those files with "sgf" extentions using the following comment : sgftops f001.sgf figure.ps (here I assume that you are either linux or unix user) after you manage to convert the rest is easy because I guess you can conve… [more]
No replies
Stanton, Megan
2007-05-10 16:19:37
Thanks everyone for all the help. I didn't realize sac had the ability to do this. I completely missed it when I was looking through the manual and the command listings.
No replies
Stanton, Megan
2007-05-09 21:25:44 - 2007-05-10 05:11:12
Is there a sac2ascii program available to convert my sac wavefiles into an ascii format? I'm using SAC on Solaris 5.8. Thanks, Megan Stanton, Seismologist Pacific Gas & Electric Company Geosciences Dept. 245 Market St N4C Rm 418A San Francisco, CA 94105 415-973-3116 work 408-835-3033 cell
Replies
Geo .
2007-05-01 16:26:54
Greetings All, Is there a way to generate a simple wiggle (something like a "broad "delta function) in SAC? Thanks ! Januka.
No replies
10:58:32 v.01697673