Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AossCeilo
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Analyze
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
AossCeilo
Commits
b49febb2
Verified
Commit
b49febb2
authored
11 months ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup log directory setup in archive script
parent
95a1616b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.rst
+2
-2
2 additions, 2 deletions
README.rst
scripts/archive_ceilo.sh
+1
-2
1 addition, 2 deletions
scripts/archive_ceilo.sh
scripts/metobs_config.sh
+6
-2
6 additions, 2 deletions
scripts/metobs_config.sh
with
9 additions
and
6 deletions
README.rst
+
2
−
2
View file @
b49febb2
...
...
@@ -36,8 +36,8 @@ directory or ``/opt/miniforge_YYYYMMDD`` directory.
2. Clone the git repository into the environment and other setup::
cd /opt/metobs/aoss_ceilo
sudo mkdir -p repos/git log lock
s
sudo chown metobs:metobsgrp log lock
s
sudo mkdir -p repos/git log lock
sudo chown metobs:metobsgrp log lock
sudo git clone "https://gitlab.ssec.wisc.edu/metobs/AossCeilo.git" repos/git/AossCeilo
sudo ln -s repos/git/AossCeilo/scripts .
sudo git clone "https://gitlab.ssec.wisc.edu/metobs/MetObsCommon.git" repos/git/MetObsCommon
...
...
This diff is collapsed.
Click to expand it.
scripts/archive_ceilo.sh
+
1
−
2
View file @
b49febb2
...
...
@@ -4,10 +4,9 @@
SCRIPT_HOME
=
"
$(
cd
-P
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
# Assumes this script is in /opt/*/aoss_ceilo*/repos/git/AossCeilo/scripts/
ENV
=
"
$(
realpath
$(
realpath
${
SCRIPT_HOME
}
)
/../../../../
)
"
LOGDIR
=
$ENV
/log
LOCK
=
$ENV
/lock/
$(
basename
$0
)
.lock
source
$ENV
/scripts/metobs_config.sh
LOCK
=
${
LOCKDIR
}
/
$(
basename
$0
)
.lock
(
flock
-x
-n
200
||
exit
$?
...
...
This diff is collapsed.
Click to expand it.
scripts/metobs_config.sh
+
6
−
2
View file @
b49febb2
#
# These values should override values used in python or bash scripts
#
SCRIPT_HOME
=
"
$(
cd
-P
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
# Assumes this script is in /opt/*/aoss_ceilo*/repos/git/AossCeilo/scripts/
ENV
=
"
$(
realpath
$(
realpath
${
SCRIPT_HOME
}
)
/../../../../
)
"
# where the ceilo ascii files get pushed to
DATA_ROOT
=
${
DATA_ROOT
:-
"/data1"
}
export
CEILO_INCOMING_DIR
=
"
${
DATA_ROOT
}
/incoming/aoss/ceilo"
...
...
@@ -18,9 +22,9 @@ export CEILO_NC_LOC=$CEILO_CACHE_DIR
# Directory where logs will be stored
export
LOGDIR
=
"
${
DATA_ROOT
}
/log"
export
LOGDIR
=
"
${
ENV
}
/log"
# Directory where lock files will be stored
export
LOCKDIR
=
"
${
DATA_ROOT
}
/lock"
export
LOCKDIR
=
"
${
ENV
}
/lock"
# Directory where work files can be placed (inside a separate temp directory)
export
WORKDIR
=
"
${
DATA_ROOT
}
/tmp"
...
...
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