Replace The Stock Code In The receive_and_process_satellite.sh File, With What Is Below To Add A Few Different Types Of Image Files.

#!/bin/bash

# $1 = Satellite Name
# $2 = Frequency
# $3 = FileName base
# $4 = TLE File
# $5 = EPOC start time
# $6 = Time to capture

sudo timeout $6 rtl_fm -f ${2}M -s 60k -g 45 -p 0 -E wav -E deemp -F 9 - | sox -t wav - $3.wav rate 11025

PassStart=`expr $5 + 90`

if [ -e $3.wav ]
  then
    /usr/local/bin/wxmap -T "${1}" -H $4 -p 0 -l 0 -o $PassStart ${3}-map.png

    /usr/local/bin/wxtoimg -m ${3}-map.png -e ZA $3.wav $3.png

    /usr/local/bin/wxtoimg -m ${3}-map.png -16r -A $3.wav $3_RAW.png

    /usr/local/bin/wxtoimg -m ${3}-map.png -e MCIR $3.wav $3_MCIR.png
fi