The message below has been identified as a bug in 101.4 and I can
confirm this behavior using the ohpf command on my system. This came
about during the conversion from 32 to 64 bit version of sac.
If you require this patch before the release of version 101.5, please
contact me directly. This fix will be made available in version
101.5, coming out next year.
Thank you for reporting this bug to the sac-help mailing list.
Brian Savage
savage<at>uri.edu
Re: OHPF / WAPF
On Nov 22, 2010, at 12:27 PM , Mario Ruiz Fernandez wrote:
Hello,
Anybody knows if there is any problem related with the recent ubuntu
kernels and SAC? It seems to be a bug with Time interpretation when
using ppk with an OHPF file opened. Last months ago I was working
with SAC version 101.3b and everything worked properly. But I
recently actualized my ubuntu pc and this strange ppk image (see the
attached file) appears. I obtain the same strange figure when using
SAC version 101.3b and 101.4, so I think it is not a SAC problem but
a linux one, as version 101.3b worked fine before the actualization.
This strange problem appears also in OHPF file but not in the sac
headers!!
- ohpf file:
OS8bIPU0 7 873014444060 0140733193388054-536870912.00
-5368ISU2 0 0.0 126.3
10
- sac headers:
FILE: /Ocea/Data/072400022/07240002217.OS8b.0.sac - 1
--------------------------------------------------------------------------------------------------------------------
NPTS = 29964
B = 0.000000e+00
E = 2.996300e+02
IFTYPE = TIME SERIES FILE
LEVEN = TRUE
DELTA = 1.000000e-02
DEPMIN = -3.011890e+05
DEPMAX = 1.958390e+05
DEPMEN = -4.201941e+03
AMARKER = 38.073 (IPU0)
T0MARKER = 42.853 (ISU2)
FMARKER = 164.33
KZDATE = AUG 28 (240), 2007
KZTIME = 00:22:17.932
KINST = 014
KSTNM = OS8b
CMPAZ = 0.000000e+00
CMPINC = 0.000000e+00
STLA = 1.514958e+01
STLO = -6.044403e+01
STEL = -3.000000e+03
KEVNM = 07240002
LOVROK = TRUE
NVHDR = 6
NORID = 0
NEVID = 0
LPSPOL = FALSE
LCALDA = TRUE
KCMPNM = 0
KNETWK = SAntll07
The same problem is obtained in a 64 and and a 32 bits pc.
fram:~> uname -a
Linux fram 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC
2010 x86_64 GNU/Linux
xslave:~> uname -a
Linux xslave 2.6.31-22-generic-pae #68-Ubuntu SMP Tue Oct 26
16:52:34 UTC 2010 i686 GNU/Linux
Thank you in advance,
Best Regads,
Mario
--
------------------------------------------------------------
Mario Ruiz Fernandez
Dep. d'Estructura i Dinamica de la Terra
Institut de Ciencies de la Terra 'Jaume Almera' ICTJA-CSIC
c/ Lluis Sole Sabaris s/n 08028 Barcelona (Spain)
Tel.: +34 93 409 54 10
Fax: +34 93 411 00 12
E-mail: mruiz<at>ictja.csic.es
www: http://www.ictja.csic.es/edt/
http://www.tesisenxarxa.net/TDX-0303108-135403/
------------------------------------------------------------
<SAC_ppk.png>
-
Hi,
I am executing the following simple macro in sac 101.3b. I have 42 files in the directory and the macro seems to act only on 23 of them. All the sac files have an OMARKER and it is always negative. I am just wondering if there is a memory limit to sac when macros are executed? Any help is much appreciated!
DO FILE WILD *.SAC
READ $FILE
SETBB OMKR &1,OMARKER
GETBB OMKR
XLIM T0 -10 10
P
CUT ON
CUTERR FILLZ
CUT b %OMKR e
READ $FILE
WRITE OVER
ENDDO
CUT OFF
Januka.
Serenity isn't freedom from the storm, but peace within the storm
Januka Attanayake Global Seismology & Economics
The University of Connecticut
Beach Hall - U2045
354, Mansfield Rd;
Storrs, CT 06269
Tel : 860 486 0475 (Office)
860 486 3914 (Lab - P405)
URL: http://sites.google.com/site/janukaattanayake/
--- On Mon, 11/22/10, Brian Savage <savage<at>uri.edu> wrote:
From: Brian Savage <savage<at>uri.edu>
Subject: Re: [SAC-HELP] Ubuntu and sac...
To: "SAC-help Listserv" <sac-help<at>iris.washington.edu>
Date: Monday, November 22, 2010, 5:02 PM
The message below has been identified as a bug in 101.4 and I can confirm this behavior using the ohpf command on my system. This came about during the conversion from 32 to 64 bit version of sac.
If you require this patch before the release of version 101.5, please contact me directly. This fix will be made available in version 101.5, coming out next year.
Thank you for reporting this bug to the sac-help mailing list.
Brian Savage
savage<at>uri.edu
Re: OHPF / WAPF
On Nov 22, 2010, at 12:27 PM , Mario Ruiz Fernandez wrote:
Hello,
_______________________________________________
Anybody knows if there is any problem related with the recent ubuntu kernels and SAC? It seems to be a bug with Time interpretation when using ppk with an OHPF file opened. Last months ago I was working with SAC version 101.3b and everything worked properly. But I recently actualized my ubuntu pc and this strange ppk image (see the attached file) appears. I obtain the same strange figure when using SAC version 101.3b and 101.4, so I think it is not a SAC problem but a linux one, as version 101.3b worked fine before the actualization.
This strange problem appears also in OHPF file but not in the sac headers!!
- ohpf file:
OS8bIPU0 7 873014444060 0140733193388054-536870912.00 -5368ISU2 0 0.0 126.3
10
- sac headers:
FILE: /Ocea/Data/072400022/07240002217.OS8b.0.sac - 1
--------------------------------------------------------------------------------------------------------------------
NPTS = 29964
B = 0.000000e+00
E = 2.996300e+02
IFTYPE = TIME SERIES FILE
LEVEN = TRUE
DELTA = 1.000000e-02
DEPMIN = -3.011890e+05
DEPMAX = 1.958390e+05
DEPMEN = -4.201941e+03
AMARKER = 38.073 (IPU0)
T0MARKER = 42.853 (ISU2)
FMARKER = 164.33
KZDATE = AUG 28 (240), 2007
KZTIME = 00:22:17.932
KINST = 014
KSTNM = OS8b
CMPAZ = 0.000000e+00
CMPINC = 0.000000e+00
STLA = 1.514958e+01
STLO = -6.044403e+01
STEL = -3.000000e+03
KEVNM = 07240002
LOVROK = TRUE
NVHDR = 6
NORID = 0
NEVID = 0
LPSPOL = FALSE
LCALDA = TRUE
KCMPNM = 0
KNETWK = SAntll07
The same problem is obtained in a 64 and and a 32 bits pc.
fram:~> uname -a
Linux fram 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux
xslave:~> uname -a
Linux xslave 2.6.31-22-generic-pae #68-Ubuntu SMP Tue Oct 26 16:52:34 UTC 2010 i686 GNU/Linux
Thank you in advance,
Best Regads,
Mario
--------------------------------------------------------------
Mario Ruiz Fernandez
Dep. d'Estructura i Dinamica de la Terra
Institut de Ciencies de la Terra 'Jaume Almera' ICTJA-CSIC
c/ Lluis Sole Sabaris s/n 08028 Barcelona (Spain)
Tel.: +34 93 409 54 10
Fax: +34 93 411 00 12
E-mail: mruiz<at>ictja.csic.es
www: http://www.ictja.csic.es/edt/
http://www.tesisenxarxa.net/TDX-0303108-135403/
------------------------------------------------------------
<SAC_ppk.png>
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
I think your problem is caused by a flaw in the Do WILD command that
limited the number of characters (and effectively files) in macro commands
as you describe.
This was fixed in 101.4. I suggest you upgrade.
On Mon, 22 Nov 2010, Januka Attanayake wrote:
Hi,
I am executing the following simple macro in sac 101.3b. I have 42 files in the
directory and the macro seems to act only on 23 of them. All the sac files have
an OMARKER and it is always negative. I am just wondering if there is a memory
limit to sac when macros are executed? Any help is much appreciated!
DO FILE WILD *.SAC
READ $FILE
SETBB OMKR &1,OMARKER
GETBB OMKR
XLIM T0 -10 10
P
CUT ON
CUTERR FILLZ
CUT b %OMKR e
READ $FILE
WRITE OVER
ENDDO
CUT OFF
Januka.
Serenity isn't freedom from the storm, but peace within the storm
Januka Attanayake
Global Seismology & Economics
The University of Connecticut
Beach Hall - U2045
354, Mansfield Rd;
Storrs, CT 06269
Tel : 860 486 0475 (Office)
860 486 3914 (Lab - P405)
URL: http://sites.google.com/site/janukaattanayake/
--- On Mon, 11/22/10, Brian Savage <savage<at>uri.edu> wrote:
From: Brian Savage <savage<at>uri.edu>
Subject: Re: [SAC-HELP] Ubuntu and sac...
To: "SAC-help Listserv" <sac-help<at>iris.washington.edu>
Date: Monday, November 22, 2010, 5:02 PM
The message below has been identified as a bug in 101.4 and I can
confirm this behavior using the ohpf command on my system. This came
about during the conversion from 32 to 64 bit version of sac.
If you require this patch before the release of version 101.5, please
contact me directly. This fix will be made available in version
101.5, coming out next year.
Thank you for reporting this bug to the sac-help mailing list.
Brian Savage
savage<at>uri.edu
Re: OHPF / WAPF
On Nov 22, 2010, at 12:27 PM , Mario Ruiz Fernandez wrote:
Hello,
ubuntu kernels and SAC? It seems to be a bug with Time interpretation
Anybody knows if there is any problem related with the recent
when using ppk with an OHPF file opened. Last months ago I was
working with SAC version 101.3b and everything worked properly. But I
recently actualized my ubuntu pc and this strange ppk image (see the
attached file) appears. I obtain the same strange figure when using
SAC version 101.3b and 101.4, so I think it is not a SAC problem but
a linux one, as version 101.3b worked fine before the actualization.
This strange problem appears also in OHPF file but not in the sac
headers!!
- ohpf file:
-5368ISU2 0 0.0 126.3
OS8bIPU0 7 873014444060 0140733193388054-536870912.00
10
------------------------------------
- sac headers:
FILE: /Ocea/Data/072400022/07240002217.OS8b.0.sac - 1
--------------------------------------------------------------------------------
NPTS = 29964
2010 x86_64 GNU/Linux
B = 0.000000e+00
E = 2.996300e+02
IFTYPE = TIME SERIES FILE
LEVEN = TRUE
DELTA = 1.000000e-02
DEPMIN = -3.011890e+05
DEPMAX = 1.958390e+05
DEPMEN = -4.201941e+03
AMARKER = 38.073 (IPU0)
T0MARKER = 42.853 (ISU2)
FMARKER = 164.33
KZDATE = AUG 28 (240), 2007
KZTIME = 00:22:17.932
KINST = 014
KSTNM = OS8b
CMPAZ = 0.000000e+00
CMPINC = 0.000000e+00
STLA = 1.514958e+01
STLO = -6.044403e+01
STEL = -3.000000e+03
KEVNM = 07240002
LOVROK = TRUE
NVHDR = 6
NORID = 0
NEVID = 0
LPSPOL = FALSE
LCALDA = TRUE
KCMPNM = 0
KNETWK = SAntll07
The same problem is obtained in a 64 and and a 32 bits pc.
fram:~> uname -a
Linux fram 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC
xslave:~> uname -a
16:52:34 UTC 2010 i686 GNU/Linux
Linux xslave 2.6.31-22-generic-pae #68-Ubuntu SMP Tue Oct 26
Thank you in advance,
_______________________________________________
Best Regads,
Mario
--------------------------------------------------------------
Mario Ruiz Fernandez
Dep. d'Estructura i Dinamica de la Terra
Institut de Ciencies de la Terra 'Jaume Almera' ICTJA-CSIC
c/ Lluis Sole Sabaris s/n 08028 Barcelona (Spain)
Tel.: +34 93 409 54 10
Fax: +34 93 411 00 12
E-mail: mruiz<at>ictja.csic.es
www: http://www.ictja.csic.es/edt/
http://www.tesisenxarxa.net/TDX-0303108-135403/
------------------------------------------------------------
<SAC_ppk.png>
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
Thanks George and Arthur. I usually do it the way you proposed George but needed something quick and dirty. Thanks again for your time !
Serenity isn't freedom from the storm, but peace within the storm
Januka Attanayake Global Seismology & Economics
The University of Connecticut
Beach Hall - U2045
354, Mansfield Rd;
Storrs, CT 06269
Tel : 860 486 0475 (Office)
860 486 3914 (Lab - P405)
URL: http://sites.google.com/site/janukaattanayake/
--- On Tue, 11/23/10, Arthur Snoke <snoke<at>vt.edu> wrote:
From: Arthur Snoke <snoke<at>vt.edu>
Subject: Re: [SAC-HELP] macro skipping files?
To: "Januka Attanayake" <jattanayake<at>yahoo.com>
Cc: "SAC-help Listserv" <sac-help<at>iris.washington.edu>
Date: Tuesday, November 23, 2010, 7:27 AM
I think your problem is caused by a flaw in the Do WILD command that
limited the number of characters (and effectively files) in macro commands
as you describe.
This was fixed in 101.4. I suggest you upgrade.
On Mon, 22 Nov 2010, Januka Attanayake wrote:
Hi,
I am executing the following simple macro in sac 101.3b. I have 42 files in the
directory and the macro seems to act only on 23 of them. All the sac files have
an OMARKER and it is always negative. I am just wondering if there is a memory
limit to sac when macros are executed? Any help is much appreciated!
DO FILE WILD *.SAC
READ $FILE
SETBB OMKR &1,OMARKER
GETBB OMKR
XLIM T0 -10 10
P
CUT ON
CUTERR FILLZ
CUT b %OMKR e
READ $FILE
WRITE OVER
ENDDO
CUT OFF
Januka.
Serenity isn't freedom from the storm, but peace within the storm
Januka Attanayake
Global Seismology & Economics
The University of Connecticut
Beach Hall - U2045
354, Mansfield Rd;
Storrs, CT 06269
Tel : 860 486 0475 (Office)
860 486 3914 (Lab - P405)
URL: http://sites.google.com/site/janukaattanayake/
--- On Mon, 11/22/10, Brian Savage <savage<at>uri.edu> wrote:
From: Brian Savage <savage<at>uri.edu>
Subject: Re: [SAC-HELP] Ubuntu and sac...
To: "SAC-help Listserv" <sac-help<at>iris.washington.edu>
Date: Monday, November 22, 2010, 5:02 PM
The message below has been identified as a bug in 101.4 and I can
confirm this behavior using the ohpf command on my system. This came
about during the conversion from 32 to 64 bit version of sac.
If you require this patch before the release of version 101.5, please
contact me directly. This fix will be made available in version
101.5, coming out next year.
Thank you for reporting this bug to the sac-help mailing list.
Brian Savage
savage<at>uri.edu
Re: OHPF / WAPF
On Nov 22, 2010, at 12:27 PM , Mario Ruiz Fernandez wrote:
Hello,
ubuntu kernels and SAC? It seems to be a bug with Time interpretation
Anybody knows if there is any problem related with the recent
when using ppk with an OHPF file opened. Last months ago I was
working with SAC version 101.3b and everything worked properly. But I
recently actualized my ubuntu pc and this strange ppk image (see the
attached file) appears. I obtain the same strange figure when using
SAC version 101.3b and 101.4, so I think it is not a SAC problem but
a linux one, as version 101.3b worked fine before the actualization.
This strange problem appears also in OHPF file but not in the sac
headers!!
- ohpf file:
-5368ISU2 0 0.0 126.3
OS8bIPU0 7 873014444060 0140733193388054-536870912.00
10
------------------------------------
- sac headers:
FILE: /Ocea/Data/072400022/07240002217.OS8b.0.sac - 1
--------------------------------------------------------------------------------
NPTS = 29964
2010 x86_64 GNU/Linux
B = 0.000000e+00
E = 2.996300e+02
IFTYPE = TIME SERIES FILE
LEVEN = TRUE
DELTA = 1.000000e-02
DEPMIN = -3.011890e+05
DEPMAX = 1.958390e+05
DEPMEN = -4.201941e+03
AMARKER = 38.073 (IPU0)
T0MARKER = 42.853 (ISU2)
FMARKER = 164.33
KZDATE = AUG 28 (240), 2007
KZTIME = 00:22:17.932
KINST = 014
KSTNM = OS8b
CMPAZ = 0.000000e+00
CMPINC = 0.000000e+00
STLA = 1.514958e+01
STLO = -6.044403e+01
STEL = -3.000000e+03
KEVNM = 07240002
LOVROK = TRUE
NVHDR = 6
NORID = 0
NEVID = 0
LPSPOL = FALSE
LCALDA = TRUE
KCMPNM = 0
KNETWK = SAntll07
The same problem is obtained in a 64 and and a 32 bits pc.
fram:~> uname -a
Linux fram 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC
xslave:~> uname -a
16:52:34 UTC 2010 i686 GNU/Linux
Linux xslave 2.6.31-22-generic-pae #68-Ubuntu SMP Tue Oct 26
Thank you in advance,
_______________________________________________
Best Regads,
Mario
--------------------------------------------------------------
Mario Ruiz Fernandez
Dep. d'Estructura i Dinamica de la Terra
Institut de Ciencies de la Terra 'Jaume Almera' ICTJA-CSIC
c/ Lluis Sole Sabaris s/n 08028 Barcelona (Spain)
Tel.: +34 93 409 54 10
Fax: +34 93 411 00 12
E-mail: mruiz<at>ictja.csic.es
www: http://www.ictja.csic.es/edt/
http://www.tesisenxarxa.net/TDX-0303108-135403/
------------------------------------------------------------
<SAC_ppk.png>
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
-