va7eex
8 years ago
committed by
GitHub
1 changed files with 24 additions and 0 deletions
@ -0,0 +1,24 @@ |
|||||
|
|
||||
|
#!/bin/bash |
||||
|
|
||||
|
render_options=("ZA" "HVCT" "NO") |
||||
|
|
||||
|
f=$1 |
||||
|
|
||||
|
direction=${f:(-7):(-6)} |
||||
|
echo $f |
||||
|
f1="${f:0:(-4)}" |
||||
|
f2="${f1#'/tmp/'}" |
||||
|
|
||||
|
echo $f2 |
||||
|
echo Direction is $direction-bound |
||||
|
|
||||
|
wxmap -T "NOAA-15" -T "NOAA-18" -T "NOAA-19" -n "Spuzzum,Canada" -H ~/sat_tle.txt -o "${2}" /tmp/passmap.png |
||||
|
|
||||
|
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 |
||||
|
|
||||
|
bash ~/ftp.sh /tmp/$f2"_${r}".png |
||||
|
done |
Loading…
Reference in new issue