a set of script to predict passes and make automated recordings of satellites. Intended to be run headless on an SoC. Original forked from https://github.com/va7eex/Pi_WXRX Improvements made for https://keet.space
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
404 B

8 years ago
#!/bin/bash
render_options=("ZA" "HVCT" "NO")
f=$1
8 years ago
echo $f
f1="${f:0:(-4)}"
f2="${f1#'/tmp/'}"
8 years ago
8 years ago
echo $f2
8 years ago
8 years ago
wxmap -T "NOAA-15" -T "NOAA-18" -T "NOAA-19" -n "Spuzzum,Canada" -H ~/sat_tle.txt -o "${2}" /tmp/passmap.png
8 years ago
8 years ago
for r in "${render_options[@]}"
do
echo "Now rendering option: ${r}"
wxtoimg -e $r -ocK -m /tmp/passmap.png /tmp/$f2.wav /tmp/$f2"_${r}".png
8 years ago
8 years ago
bash ~/ftp.sh /tmp/$f2"_${r}".png
done