Started: 2012-07-05 13:59:19
Last activity: 2012-07-05 13:59:19
Topics: SAC Help
On Jul 5, 2012, at 5:40 AM, Milton Plasencia wrote:
Sac "reads t he files line by line and not column by column.
sacsac> funcgen % by default function generator generates the impulse function.
sac> p % plot data in memory
sac> w alpha funcgen.dat % save data to file funcgen.dat
I you edit the funcgen.dat file, you see the 1 value in fifth column line tenth, so this
suggest me that sac read line by line.
* * * * * * * * * * * * * * * * * * * * * * *
Milton P. PLASENCIA LINARES
Dipartimento Centro di Ricerche Sismologiche (CRS)
Istituto Nazionale di Oceanografia e di Geofisica Sperimentale - OGS
Borgo Grotta Gigante 42/C
(34010) Sgonico - TRIESTE - ITALIA
Tel: +39 040 2140 136 (Udine)
Tel: +39 040 2140 365 / 256 (Trieste)
ASAIN (Antarctic Seismographic Argentinean Italian Network)
On Jul 5, 2012, at 3:57 AM, Michael Bramnik wrote:
My name is Michael Bramnik, a graduate student at Northern Illinois University working to wrap up his Master's Thesis in the next few weeks. I've been using SAC to great effect to analyze my data, but I'm running into a problem neither myself nor my advisor (nor the SAC user manual) seem to be able to figure out:
When I "readalpha" data into SAC, I usually import it from a single-column .txt file (4000 lines). I then "write" to .sac format, and then filter and plot particle motion, etc.
My problem comes in when I "write alpha" to try and get the numerical data back "out" so I can import it into programs like Microsoft Excel (for the creation of graphs and diagrams for my thesis defense) - aside from the SAC header, the data comes out in five columns with 16,000 lines each. Plotting each column in Excel yields similar-looking plots, but I cannot tell for certain which one is the "real" one for-use.
After struggling with this for over a day, my advisor suggested I contact IRIS for assistance. Thank you very much in advance for any help that you might be able to provide, and my apologies for bothering you with what might be a trivial issue.
Thanks again and I hope you had a good 4th of July holiday!
Northern Illinois University _______________________________________________
sac-help mailing list