Hi.
I am trying to convert SAC files into ascii files. I found the sac2asc code
but I can't compile it. It should be just something like " make sac2asc",
but it is not working.
Does anyone have another option/version to convert the files from SAC to
ascii?
Thanks
Joana
I am trying to convert SAC files into ascii files. I found the sac2asc code
but I can't compile it. It should be just something like " make sac2asc",
but it is not working.
Does anyone have another option/version to convert the files from SAC to
ascii?
Thanks
Joana
-
This is great: sac2xy
https://github.com/msthorne/SACTOOLS
When you compile run: sac2xy 'sac file' 'output file'
Cheers,
Mehdi
On Tue, 19 Sep 2017 at 11:27 pm, Joana Carvalho <j.filipa.carvalho<at>gmail.com>
wrote:
Hi.
--
I am trying to convert SAC files into ascii files. I found the sac2asc
code but I can't compile it. It should be just something like " make
sac2asc", but it is not working.
Does anyone have another option/version to convert the files from SAC to
ascii?
Thanks
Joana
----------------------
SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ |
Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
--------------------------------------------------------------------------------------------------------
Mehdi Qashqai,
PhD Student
CCFS and GEMOC ARC National Key Centres,
Department of Earth and Planetary Sciences,
Macquarie University, Sydney, NSW, Australia
-------------------------------------------------------------------------------------------------------
M: +61413607426
Email: mehdi.tork-qashqai<at>students.mq.edu.au
___________________________________________________________________
MQ Website: http://www.mq.edu.au/ http://mq.edu.au/
CCFS Website: www.gemoc.mq.edu.au
GEMOC Website: www.ccfs.mq.edu.au
MG3 Website: *http://research.science.mq.edu.au/mg3/home.html
http://research.science.mq.edu.au/mg3/home.html*
HomePage: http://ccfs.mq.edu.au/Participants/Pgrad/MehdiQashqai.html
-
Hi Joana,
Two simple ways,
1. Within SAC itself by running; CONVERT FROM my.sac TO ALPHA my.ascii
my.ASCII will contain alphanumeric version of your SAC file, which you will
have to format to suit your needs. Read the SAC manual for more details.
2. Use Mike Thorne's matlab code rsac.m (I can send you more infor. if you
decide to go with this).
http://home.chpc.utah.edu/~thorne/software.html
Januka
Januka Attanayake
Postdoctoral Research Associate
Institute for Geophysics
WWU Münster | CorrensstraBe 24 | 48149 Münster | Germany
Tel +49 251 833 4727
University email: jattanayake<at>uni-muenster.de
Homepage: http://sites.google.com/site/janukaattanayake/
On 19 September 2017 at 17:25, Joana Carvalho <j.filipa.carvalho<at>gmail.com>
wrote:
Hi.
I am trying to convert SAC files into ascii files. I found the sac2asc
code but I can't compile it. It should be just something like " make
sac2asc", but it is not working.
Does anyone have another option/version to convert the files from SAC to
ascii?
Thanks
Joana
----------------------
SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ |
Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-
Hi Joana,
One more option in case it's useful. Written in C, the sacdump program here:
https://seiscode.iris.washington.edu/projects/sacdump/files
will write out requested header (or all defined headers) and optionally print a list of time-value pairs for each sample.
Chad
On Sep 19, 2017, at 8:47 AM, Geo . <jattanayake<at>gmail.com> wrote:
Hi Joana,
Two simple ways,
1. Within SAC itself by running; CONVERT FROM my.sac TO ALPHA my.ascii
my.ASCII will contain alphanumeric version of your SAC file, which you will have to format to suit your needs. Read the SAC manual for more details.
2. Use Mike Thorne's matlab code rsac.m (I can send you more infor. if you decide to go with this).
http://home.chpc.utah.edu/~thorne/software.html
Januka
Januka Attanayake
Postdoctoral Research Associate
Institute for Geophysics
WWU Münster | CorrensstraBe 24 | 48149 Münster | Germany
Tel +49 251 833 4727
University email: jattanayake<at>uni-muenster.de <jattanayake<at>uni-muenster.de>
Homepage: http://sites.google.com/site/janukaattanayake/
On 19 September 2017 at 17:25, Joana Carvalho <j.filipa.carvalho<at>gmail.com <j.filipa.carvalho<at>gmail.com>> wrote:
Hi.
I am trying to convert SAC files into ascii files. I found the sac2asc code but I can't compile it. It should be just something like " make sac2asc", but it is not working.
Does anyone have another option/version to convert the files from SAC to ascii?
Thanks
Joana
----------------------
SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu <sac-help-unsubscribe<at>lists.ds.iris.edu>
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
----------------------
SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-