Thread: Leah - responce spectra

Started: 2006-09-21 05:02:56
Last activity: 2006-09-21 05:02:56
Topics: SAC Help
Geo .
2006-09-21 05:02:56
Leah,
Yes, sac files can be read by matlab through saclab. go here
http://www.aeic.alaska.edu/input/mthorne/software/index.html

Januka


On 9/20/06, sac-help-request<at>iris.washington.edu <
sac-help-request<at>iris.washington.edu> wrote:

Send sac-help mailing list submissions to
sac-help<at>iris.washington.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://www.iris.washington.edu/mailman/listinfo/sac-help
or, via email, send a message with subject or body 'help' to
sac-help-request<at>iris.washington.edu

You can reach the person managing the list at
sac-help-owner<at>iris.washington.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sac-help digest..."


Today's Topics:

1. response spectra (feigelso<at>rohan.sdsu.edu)
2. Re: macros (Talal Merghelani)


----------------------------------------------------------------------

Message: 1
Date: Wed, 20 Sep 2006 08:49:39 -0700 (PDT)
From: feigelso<at>rohan.sdsu.edu
Subject: [SAC-HELP] response spectra
To: sac-help<at>iris.washington.edu
Message-ID:
<49420.130.191.153.91.1158767379.squirrel<at>www-rohan.sdsu.edu>
Content-Type: text/plain;charset=iso-8859-1

Sac-help,
Can SAC make response spectra? If not, how can sac files be converted for
MATLAB to read?
Thanks for the help,
Leah




------------------------------

Message: 2
Date: Wed, 20 Sep 2006 11:01:56 -0700 (PDT)
From: Talal Merghelani <talalmg1<at>yahoo.com>
Subject: Re: [SAC-HELP] macros
To: SAC HELP <sac-help<at>iris.washington.edu>
Message-ID: <20060920180156.89339.qmail<at>web36610.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi

thank you for Sonoke and Megan for your vailuble reply. actaully, i have
succeeded running the macros and make it exceutable. but, after execution
the macros i have got the following error message:

talal@clover:[7]%% mystuff2
mystuff2: READ: not found
mystuff2: MUL: not found
mystuff2: FFT: not found
mystuff2: BG: not found
mystuff2: PSP: not found

and even when just to try follow the manual. the command macro...not
working for me ..!! i'm wondering may that because, i'm using an old version
0.58 of SAC2000.
actaully, its not hat imopratnt unless the macros it self could work fine
without the word macro...!!

talal@clover:[8]%% macro mystuff2
macro: Command not found

by the way, i have put the macros on different directory for example,
/export/home/talal/macros.
than, which we can called it default path for macros as megan say's
/home/sac/aux/macros ..

is this seems the problems or what's going on exaclty..?
why this error message happen to me...!!??

any idea?

thank you
Talal


Arthur Snoke <snoke<at>vt.edu> wrote:
I confess I have not thought very much about macros, because a technique
I have used for several generations of sac seems to work.

I have made up an "init.m" file that runs when I start sac. I do this by
creating an alias for sac:

equake{snoke}451: alias sac
/usr/local/bin/sac /usr/local/macros/Randy/macros/init.m
equake{snoke}452: cat /usr/local/macros/Randy/macros/init.m
* SAC macro to intitialize environment each time SAC2000 is started.
*echo on
*******RANDY'S SAC ENVIRONMENT*********
setmacro /usr/local/macros/Randy/macros
window 1 x 0.00 1.00 y 0.30 0.92
*fg
*lh columns 2
sc echo "To get header values in two columns, use lh columns 2"
qdp 10000
xdiv power off
xlabel 'SECONDS'
ylabel l r 'EAST NORTH VERTICAL'
ylabel off
*echo off
equake{snoke}453:

I suggest trying to upgrade from sac2000 to the newer versions if you can
get them either through IRIS or asking LLNL for the binary version.


_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help



---------------------------------
Want to be your own boss? Learn how on Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.iris.washington.edu/pipermail/sac-help/attachments/20060920/db53a2be/attachment-0001.html

------------------------------

_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help


End of sac-help Digest, Vol 15, Issue 11
****************************************


15:49:52 v.b4412d20