Aloha,
I found a command called “smooth” that will perform a running average. However, it does not work on my version of SAC [11/11/2013 (Version 101.6a)] running on OS High Sierra Version 10.13.6 on my 2018 MacBook Pro
Any help on how I can run a moving average appreciated!
Cheers,
Barry
-
Dear Barry -
Three other solutions are:
1) download MacSAC — SMOOTH works on it;
2) download a more recent version of IRIS’ SAC — SMOOTH might have been fixed
3) write a program to do a smooth of a single SAC trace and rewrite the file, and use the program in a SAC macro to make your own custom smoother.
On 25 Nov 2020, at 01:32, BARRY HIRSHORN (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:
George Helffrich
Aloha,
I found a command called “smooth” that will perform a running average. However, it does not work on my version of SAC [11/11/2013 (Version 101.6a)] running on OS High Sierra Version 10.13.6 on my 2018 MacBook Pro
Any help on how I can run a moving average appreciated!
Cheers,
Barry
----------------------
SAC Help
Topic home: 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/
george<at>elsi.jp
-
Thanks so much, George!
Barry
On Nov 26, 2020, at 12:46 AM, George Helffrich (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:
Dear Barry -
Three other solutions are:
1) download MacSAC — SMOOTH works on it;
2) download a more recent version of IRIS’ SAC — SMOOTH might have been fixed
3) write a program to do a smooth of a single SAC trace and rewrite the file, and use the program in a SAC macro to make your own custom smoother.
On 25 Nov 2020, at 01:32, BARRY HIRSHORN (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu <sac-help-bounce<at>lists.ds.iris.edu>> wrote:
George Helffrich
Aloha,
I found a command called “smooth” that will perform a running average. However, it does not work on my version of SAC [11/11/2013 (Version 101.6a)] running on OS High Sierra Version 10.13.6 on my 2018 MacBook Pro
Any help on how I can run a moving average appreciated!
Cheers,
Barry
----------------------
SAC Help
Topic home: 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/
george<at>elsi.jp <george<at>elsi.jp>
----------------------
SAC Help
Topic home: 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 Barry,
You could use functions rms and markptp in a macro to compute a running
rms. If you are using MacSAC, then have a look at this response from George
in 2012!
http://www.iris.washington.edu/pipermail/sac-help/2012-July/001266.html
Januka
Januka Attanayake
Research Fellow | Earthquake Seismology
Homepage: *https://sites.google.com/site/janukaattanayake
https://sites.google.com/site/janukaattanayake*
School of Earth Sciences | McCoy Bldg. 200
University of Melbourne | Parkville 3010 VIC
Australia
On Wed, 25 Nov 2020 at 12:36, BARRY HIRSHORN (via IRIS) <
sac-help-bounce<at>lists.ds.iris.edu> wrote:
Aloha,
I found a command called “smooth” that will perform a running average.
However, it does not work on my version of SAC [11/11/2013 (Version
101.6a)] running on OS High Sierra Version 10.13.6 on my 2018 MacBook Pro
Any help on how I can run a moving average appreciated!
Cheers,
Barry
----------------------
SAC Help
Topic home: 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/
-
Many thanks Januka!
Barry
On Nov 25, 2020, at 5:10 PM, Januka Attanayake <jattanayake<at>gmail.com> wrote:
Hi Barry,
You could use functions rms and markptp in a macro to compute a running rms. If you are using MacSAC, then have a look at this response from George in 2012!
http://www.iris.washington.edu/pipermail/sac-help/2012-July/001266.html
Januka
Januka Attanayake
Research Fellow | Earthquake Seismology
Homepage: https://sites.google.com/site/janukaattanayake
School of Earth Sciences | McCoy Bldg. 200
University of Melbourne | Parkville 3010 VIC
Australia
On Wed, 25 Nov 2020 at 12:36, BARRY HIRSHORN (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu <sac-help-bounce<at>lists.ds.iris.edu>> wrote:
Aloha,
I found a command called “smooth” that will perform a running average. However, it does not work on my version of SAC [11/11/2013 (Version 101.6a)] running on OS High Sierra Version 10.13.6 on my 2018 MacBook Pro
Any help on how I can run a moving average appreciated!
Cheers,
Barry
----------------------
SAC Help
Topic home: 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/
-