Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sparchive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MetObs
sparchive
Commits
b4e7eb4b
Verified
Commit
b4e7eb4b
authored
3 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Update conda environment usage for rain01 archive
parent
ac85636b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
remote_scripts/archive_sparc.sh
+4
-3
4 additions, 3 deletions
remote_scripts/archive_sparc.sh
with
4 additions
and
3 deletions
remote_scripts/archive_sparc.sh
+
4
−
3
View file @
b4e7eb4b
...
...
@@ -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..."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment