Hi,
I just found some little things that could be improved for bin/sacinit.sh .
--
Kuang He
Department of Physics
University of Connecticut
Storrs, CT 06269-3046
Tel: +1.860.486.4919
Web: http://www.phys.uconn.edu/~he/
I just found some little things that could be improved for bin/sacinit.sh .
$ cat bin/sacinit.sh"export SACHOME=/usr/local/sac" may be a better general setting here.
[snipped]
# Initialize the SAC Enviornment
export SACHOME=/usr/local/jas/sac
[snipped]Actually, I believe the default value of SAC_USE_DATABASE has been changed to 0.
# SAC_USE_DATABASE
# Undefined or 1 -- Use SeisMgr Database ( Default )
# 0 -- Do Not Use SeisMgr Database
# The SeisMgr database attempts to keep the CSS data fields in line
# with those in the SAC header. If you are handling CSS data it
# would be wise to keep the database on. Using the SeisMgr database
# currently can be very slow due when handling hundreds of files
# and turning it off should show a dramatic speed increase.
# Default: SAC_USE_DATABASE 1
[snipped]Best regards,
--
Kuang He
Department of Physics
University of Connecticut
Storrs, CT 06269-3046
Tel: +1.860.486.4919
Web: http://www.phys.uconn.edu/~he/
-
Thanks for your feedback. See comments interspersed.
Kuang He wrote:
Hi,
This was carelessness on my part in preparing the binary distributions. In the
I just found some little things that could be improved for bin/sacinit.sh .
$ cat bin/sacinit.sh
"export SACHOME=/usr/local/sac" may be a better general setting here.
[snipped]
# Initialize the SAC Enviornment
export SACHOME=/usr/local/jas/sac
source distribution, the first few lines in sacinit.sh.in are
# After selecting the environment options, the script can be run as a
# stand-alone initialization, but to preserve the environment one should
# put them directly in the session start-up scripts.
#
# Initialize the SAC Environment
export SACHOME=__SAC_PREFIX__
export PATH=${PATH}:${SACHOME}/bin
export SACAUX=${SACHOME}/aux
Accordingly, SACHOME gets set to whatever the PREFIX was set to be in the
./configure stage. On most machines on which I prepare the binary
distributions, I do not have root privileges and have the system manager set up
a directory /usr/local/jas for which I am the owner. In hindsight, and in the
future, I will edit the sacinit.sh and sacinit.csh before making the final
.tar.gz file -- taking out /jas.
[snipped]
Actually, I believe the default value of SAC_USE_DATABASE has been changed to 0.
# SAC_USE_DATABASE
# Undefined or 1 -- Use SeisMgr Database ( Default )
# 0 -- Do Not Use SeisMgr Database
# The SeisMgr database attempts to keep the CSS data fields in line
# with those in the SAC header. If you are handling CSS data it
# would be wise to keep the database on. Using the SeisMgr database
# currently can be very slow due when handling hundreds of files
# and turning it off should show a dramatic speed increase.
# Default: SAC_USE_DATABASE 1
files. That has been done now.