This is a bug in 101.6a. It does not exist in 101.5, 101.4 or 101.3.
Shane
Shane Ingate, Ph.D.
New Mexico Tech Seismological Observatory
Earth and Environmental Science Dept.
New Mexico Tech
801 Leroy Place
Socorro, NM 87801
web: http://www.ees.nmt.edu/outside/NMTSO/
phone: (575) 835-6611
fax: (575) 835-6436
email: singate<at>ees.nmt.edu
skype: shane_in_the_field
Shane
Date: Thu, 11 Dec 2014 14:11:19 -0700--
From: Shane Ingate <singate<at>ees.nmt.edu>
To: sac-help<at>iris.washington.edu
Subject: [SAC-HELP] SAC: Blackboard variables strip leading zeros?
Message-ID: <548A0877.1030303<at>ees.nmt.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Amici,
I have noticed that when setting a blackboard variables that have
leading zeros, the leading zeros are removed.
Example:
SAC> setbb hhmmss 023900
SAC> getbb hhmmss
hhmmss = 23900
Is there something I should set to prevent this? We are using Version
101.6a.
Thank you.
Shane
Shane Ingate, Ph.D.
New Mexico Tech Seismological Observatory
Earth and Environmental Science Dept.
New Mexico Tech
801 Leroy Place
Socorro, NM 87801
web: http://www.ees.nmt.edu/outside/NMTSO/
phone: (575) 835-6611
fax: (575) 835-6436
email: singate<at>ees.nmt.edu
skype: shane_in_the_field
-
Try enclosing the string in quotes.
sac> setbb hhmmss "023900"
This should be a good workaround for now. I will fix this in the coming weeks.
Brian
On Dec 12, 2014, at 12:40 PM, Shane Ingate <singate<at>ees.nmt.edu> wrote:
This is a bug in 101.6a. It does not exist in 101.5, 101.4 or 101.3.
Shane
Date: Thu, 11 Dec 2014 14:11:19 -0700
--
From: Shane Ingate <singate<at>ees.nmt.edu>
To: sac-help<at>iris.washington.edu
Subject: [SAC-HELP] SAC: Blackboard variables strip leading zeros?
Message-ID: <548A0877.1030303<at>ees.nmt.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Amici,
I have noticed that when setting a blackboard variables that have
leading zeros, the leading zeros are removed.
Example:
SAC> setbb hhmmss 023900
SAC> getbb hhmmss
hhmmss = 23900
Is there something I should set to prevent this? We are using Version
101.6a.
Thank you.
Shane
Shane Ingate, Ph.D.
New Mexico Tech Seismological Observatory
Earth and Environmental Science Dept.
New Mexico Tech
801 Leroy Place
Socorro, NM 87801
web: http://www.ees.nmt.edu/outside/NMTSO/
phone: (575) 835-6611
fax: (575) 835-6436
email: singate<at>ees.nmt.edu
skype: shane_in_the_field
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help