absolute.py (ex lenzspitze_absolute.py): x / y in absolute on every station after each pumping, relative sensors without a position dropped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
63df363ff3
commit
9adc38f9b9
4 files changed
+97
-54
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Pumping under WSL. Reads the credentials from the .env at the root of the repository (never versioned),
|
||||
# runs pump.py in a throwaway uv environment (4 packages), then the post-processing of LENZSPITZE.
|
||||
# runs pump.py in a throwaway uv environment (4 packages), then absolute.py (x / y in absolute).
|
||||
# extraction/pump.sh update of the tracked stations, images included (the scheduler)
|
||||
# extraction/pump.sh --from D --to E [SERIAL] any other call: the arguments go to pump.py as they are
|
||||
# Output appended to out/pump.log; one pumping at a time (lock out/pump.lock).
|
||||
@@ -20,6 +20,6 @@ flock -n 9 || { echo "A pumping is already running." >&2; exit 1; }
|
||||
uv run --no-project --quiet --python 3.12 \
|
||||
--with sqlalchemy --with psycopg2-binary --with pandas --with boto3 \
|
||||
python "$here/pump.py" "$@")
|
||||
[ -f "$root/data/LENZSPITZE/lentzpitze_patterns.json" ] && python3 "$here/lenzspitze_absolute.py"
|
||||
python3 "$here/absolute.py" # x / y in absolute on every station
|
||||
echo "=== $(date -u +%Y-%m-%dT%H:%MZ) end"
|
||||
} 2>&1 | tee -a "$root/out/pump.log"
|
||||
Reference in new issue
Block a user