Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AossCameras
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
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
AossCameras
Commits
d56b3746
Verified
Commit
d56b3746
authored
1 month ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Update data directories to rain03
parent
461eb30b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/metobs_config.sh
+4
-4
4 additions, 4 deletions
scripts/metobs_config.sh
scripts/remove_non5_images.sh
+2
-2
2 additions, 2 deletions
scripts/remove_non5_images.sh
with
6 additions
and
6 deletions
scripts/metobs_config.sh
+
4
−
4
View file @
d56b3746
...
...
@@ -3,11 +3,11 @@
# These values should override values from the python module aosscameras.config
#
# where the cameras FTP images to
export
IQEYE_INCOMING_DIR
=
/data
3
/incoming/aoss/cameras
export
IQEYE_INCOMING_DIR
=
/data/incoming/aoss/cameras
# The archived location
export
IQEYE_PRAW_DIR
=
/data
3
/inst-data/aoss/cameras
export
IQEYE_PRAW_DIR
=
/data/inst-data/aoss/cameras
# Where generated products go
export
IQEYE_CACHE_DIR
=
/data
3
/cache/aoss/cameras
export
IQEYE_CACHE_DIR
=
/data/cache/aoss/cameras
# Where the links for the latest images go
export
IQEYE_LATEST_DIR
=
/data
3
/cache/aoss/cameras
export
IQEYE_LATEST_DIR
=
/data/cache/aoss/cameras
This diff is collapsed.
Click to expand it.
scripts/remove_non5_images.sh
+
2
−
2
View file @
d56b3746
...
...
@@ -20,8 +20,8 @@ years=$2
echo
"Removing non-5 minute images for camera
${
camera
}
from years
${
years
}
"
# See https://stackoverflow.com/a/35868472/433202
shopt
-s
extglob
camdirs
=
"/data
3
/inst-data/aoss/cameras/
${
camera
}
/@(
${
years
//,/|
}
)"
camdirs
=
"/data/inst-data/aoss/cameras/
${
camera
}
/@(
${
years
//,/|
}
)"
find
$camdirs
\(
-path
"*/??/??/??_?[12346789]_??.trig+00.jpg"
-o
-path
"*/??/??/??_?[05]_[12345]?.trig+00.jpg"
\)
-delete
-type
f
# delete symbolic links from cache
camdirs_cache
=
"/data
3
/cache/aoss/cameras/
${
camera
}
/img/@(
${
years
//,/|
}
)"
camdirs_cache
=
"/data/cache/aoss/cameras/
${
camera
}
/img/@(
${
years
//,/|
}
)"
find
-H
$camdirs_cache
\(
-path
"*/??/??/orig/??_?[12346789]_??.trig+00.jpg"
-o
-path
"*/??/??/orig/??_?[05]_[12345]?.trig+00.jpg"
\)
-delete
-type
l
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