Frequencies and symbol rates are changed.
An updated script around the tools meteor_demod and meteor_decod found at dbdexter-dev (Davide Belloli) · GitHub
#!/usr/bin/env bash
#
# Input file example: iq_144000_7872624.raw
#
# File name to upload to the network:
# ${SATNOGS_OUTPUT_PATH}/data_<obsid>_YYYY-MM-DDTHH-MM-SS.png
OBS=${1}
SPS=$(echo ${OBS%.raw} | awk -F'[_]' '{print $2}')
OBSID=$(echo ${OBS%.raw} | awk -F'[_]' '{print $3}')
UTIME=$(date -u +'%FT%T')
SYMB="${2:-80000}"
if [ -z "${1}" ] || [ -z "${SPS}" ]; then
echo "Input file is missing."
echo "Syntax: $0 input file."
exit 1
fi
echo "Decode ${OBS} ${SYMB} symbol rate at a ${SPS} sample rate"
case ${SYMB} in
72000)
meteor_demod -O 8 -f 128 -r 72000 --batch --quiet --bps 16 -s "${SPS}" \
--mode oqpsk "${1}" --stdout - | \
meteor_decode -o "data_${OBSID}_${UTIME}".png --diff -a 65,65,64 -
;;
80000)
meteor_demod -O 8 -f 128 -r 80000 --batch --quiet --bps 16 -s "${SPS}" \
--mode oqpsk "${1}" --stdout - | \
meteor_decode -o "data_${OBSID}_${UTIME}".png --int --diff -a 65,65,64 -
;;
*)
echo "Syntax: ${0} input file symbol rate."
;;
esac