Skip to content
Snippets Groups Projects
Verified Commit b4e7eb4b authored by David Hoese's avatar David Hoese
Browse files

Update conda environment usage for rain01 archive

parent ac85636b
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,8 @@
# All location information should be controlled by the sparchive_archive and sparchive_post commands (via the sparc_instruments.ini file)
# Except for the initial "experiment exists" check
export PATH=/data1/opt/anaconda/bin:$PATH
#export PATH=/opt/miniconda3_20200609/bin:$PATH
export PATH=/opt/metobs/sparchive/bin:$PATH
if [ $# -ne 1 ]; then
echo "Usage: ./archive_sparc.sh <experiment name>"
......@@ -65,8 +66,8 @@ find_seq() {
test -d ${EXP_PATH} || oops "ERROR: Experiment \"${EXP_NAME}\" does not exist in incoming: ${EXP_PATH}"
# Load the anaconda environment
log_info "Loading anaconda environment: ${ENV_NAME}"
source activate ${ENV_NAME} &>> $logfile || oops "Could not load environment"
# log_info "Loading anaconda environment: ${ENV_NAME}"
# conda activate ${ENV_NAME} &>> $logfile || oops "Could not load environment"
# Take data from incoming and put it in raw and cache (automatically does last 3 days)
log_info "Archiving data from incoming..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment