Files used and the format as far as I can determine: - iq_48000_7690341.raw (The orginal SatNOGS recorded IQ file) - iq_48000_7690341.wav (file converted from iq_48000_7690341.raw to wav with the script raw2sharp) soxi iq_48000_7690341.wav Input File : 'iq_48000_7690341.wav' Channels : 2 Sample Rate : 48000 Precision : 16-bit Duration : 00:03:54.30 = 11246432 samples ~ 17572.5 CDDA sectors File Size : 45.0M Bit Rate : 1.54M Sample Encoding: 16-bit Signed Integer PCM - Download audio ogg file from the observation soxi audio_48000_7690341.ogg Input File : 'audio_48000_7690341.ogg' Channels : 1 Sample Rate : 48000 Precision : 16-bit Duration : 00:03:54.14 = 11238848 samples ~ 17560.7 CDDA sectors File Size : 7.83M Bit Rate : 267k Sample Encoding: Vorbis Comment : 'ENCODER=satnogs ogg encoder' - Converted ogg file (ffmpeg -i audio_48000_7690341.ogg audio_48000_7690341.wav) soxi audio_48000_7690341.wav Input File : 'audio_48000_7690341.wav' Channels : 1 Sample Rate : 48000 Precision : 16-bit Duration : 00:03:54.14 = 11238848 samples ~ 17560.7 CDDA sectors File Size : 22.5M Bit Rate : 768k Sample Encoding: 16-bit Signed Integer PCM -------------------------------------------------------------------------------- Save and rename SatNOGS IQ files. #!/usr/bin/env bash # # SATNOGS_POST_OBSERVATION_SCRIPT # # /usr/local/bin/satnogs-post {{ID}} {{FREQ}} {{TLE}} {{TIMESTAMP}} {{BAUD}} {{SCRIPT_NAME}} grsat-wrapper.sh stop "$@" # Save IQ files # BAUD="${5}" SCRIPT="${6}" DIR="/export/raw" SPS=$(/usr/local/bin/find_samp_rate.py "${BAUD}" "${SCRIPT}") # echo "band = $BAUD, script = $SCRIPT, dir = $DIR, sps = $SPS" >> /tmp/satnogs-post.log # if [[ "${ENABLE_IQ_DUMP}" =~ (True|true|1) ]] && [ -f "${IQ_DUMP_FILENAME}" ] then mv "${IQ_DUMP_FILENAME}" "${DIR}"/iq_"${SPS}"_"${1}".raw zip -j -m -T "${DIR}"/iq_"${SPS}"_"${1}".raw.zip \ "${DIR}"/iq_"${SPS}"_"${1}".raw echo "${6} ${1} ${SATNOGS_STATION_ID} ${SPS} sps" >> \ "${DIR}"/observations.txt fi -------------------------------------------------------------------------------- raw2sharp: #!/usr/bin/env bash # # Convert raw SatNOGS IQ to SDR# format # Check dependencies: DEPS=(sox) for check in "${DEPS[@]}" do if [ -z "$(command -v "${check}")" ]; then echo "# dependency failure, install package ${check} and retry." exit 1 fi done if [ -z "${1}" ];then echo "# no input file or wrong extension, unable to convert, exiting." exit 1 fi sox -t raw -b 16 -e signed-integer -r 48000 -c 2 "${1}" "${1%.raw}".wav