Skip to content

Commit ae10fca

Browse files
committed
Update: add kaleidoscope script for use on calvalus
1 parent a71e0db commit ae10fca

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

bin/kaleidoscope

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) Brockmann Consult GmbH, 2025
4+
# License: MIT
5+
#
6+
set -e
7+
## Runs kaleidoscope. Usage example:
8+
#
9+
# ./kaleidoscope --source-type --selector 001 ghrsst source.nc source.001.nc
10+
#
11+
# will produce variant
12+
#
13+
# source.001.nc
14+
#
15+
bin="$(dirname "${0}")"
16+
src="$(dirname "${bin}")"
17+
18+
export PYTHONPATH="${src}":"${PYTHONPATH}"
19+
20+
"${src}"/kaleidoscope/main/main.py "$@"

0 commit comments

Comments
 (0)