Hi,
There is a small bug of command traveltime.
Run traveltime like below,
SAC> fg seis
SAC> traveltime MODEL IASP91 PICK 0 PHASE Pn Sn
traveltime: depth: 15.000000 km
Error: can't find iaspmodel header file "/opt/sac/aux/tables/IASP91.hed"
SAC itself is case insensitive,but Linux is case sensitive. This command
tries
to look for an auxiliary file in Linux, so the model names, iasp91 and
ak135, should be
in lower case.
The document of traveltime says,
INPUT
-----
:MODEL: IASP91 [default], AK135
It may mislead users that model names are case insensitive.
It may be better to add some codes to handle both upper case and lower case
model name.
There is a small bug of command traveltime.
Run traveltime like below,
SAC> fg seis
SAC> traveltime MODEL IASP91 PICK 0 PHASE Pn Sn
traveltime: depth: 15.000000 km
Error: can't find iaspmodel header file "/opt/sac/aux/tables/IASP91.hed"
SAC itself is case insensitive,but Linux is case sensitive. This command
tries
to look for an auxiliary file in Linux, so the model names, iasp91 and
ak135, should be
in lower case.
The document of traveltime says,
INPUT
-----
:MODEL: IASP91 [default], AK135
It may mislead users that model names are case insensitive.
It may be better to add some codes to handle both upper case and lower case
model name.
-
Dear Dongdong Tian,
Does the following work on your linux machine
SAC> traveltime MODEL iasp91 PICK 0 PHASE Pn Sn
with a lower case iasp91 ?
If so, we will change the documentation and possibly the traveltime routine.
Brian
On Mar 25, 2013, at 10:34 AM, Dongdong Tian wrote:
Hi,
There is a small bug of command traveltime.
Run traveltime like below,
SAC> fg seis
SAC> traveltime MODEL IASP91 PICK 0 PHASE Pn Sn
traveltime: depth: 15.000000 km
Error: can't find iaspmodel header file "/opt/sac/aux/tables/IASP91.hed"
SAC itself is case insensitive,but Linux is case sensitive. This command tries
to look for an auxiliary file in Linux, so the model names, iasp91 and ak135, should be
in lower case.
The document of traveltime says,
INPUT
-----
:MODEL: IASP91 [default], AK135
It may mislead users that model names are case insensitive.
It may be better to add some codes to handle both upper case and lower case model name.
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
Yes, a lower case iasp91 works on my linux machine.
2013/3/25 Brian Savage <savage<at>uri.edu>
Dear Dongdong Tian,
Does the following work on your linux machine
SAC> traveltime MODEL iasp91 PICK 0 PHASE Pn Sn
with a lower case iasp91 ?
If so, we will change the documentation and possibly the traveltime
routine.
Brian
On Mar 25, 2013, at 10:34 AM, Dongdong Tian wrote:
Hi,
tries
There is a small bug of command traveltime.
Run traveltime like below,
SAC> fg seis
SAC> traveltime MODEL IASP91 PICK 0 PHASE Pn Sn
traveltime: depth: 15.000000 km
Error: can't find iaspmodel header file "/opt/sac/aux/tables/IASP91.hed"
SAC itself is case insensitive,but Linux is case sensitive. This command
to look for an auxiliary file in Linux, so the model names, iasp91 and
ak135, should be
in lower case.
case model name.
The document of traveltime says,
INPUT
-----
:MODEL: IASP91 [default], AK135
It may mislead users that model names are case insensitive.
It may be better to add some codes to handle both upper case and lower
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
-
I think it suffices to change the documentation.
Here are the two traveltime help files with my suggested changes.
Sufficient?
Attachments
-
Yes, it is better now.
2013/3/26 Arthur Snoke <snoke<at>vt.edu>
I think it suffices to change the documentation.
Here are the two traveltime help files with my suggested changes.
Sufficient?
-