瀏覽代碼

Increase verbosity

pull/131/head
Pascal 3 年之前
父節點
當前提交
bc057f704c
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      receive_noaa.sh
  2. +1
    -1
      schedule_sat.sh

+ 1
- 0
receive_noaa.sh 查看文件

@@ -31,6 +31,7 @@ fi
# $7 = Satellite max elevation

log "Starting rtl_fm record for $1 at $2 to $3 at epoch $5" "INFO"
log "timeout ${6} /usr/local/bin/rtl_fm ${BIAS_TEE} -f ${2}M -s 60k $GAIN -p $PPM_ERROR -E wav -E deemp -F 9 - | /usr/bin/sox -t raw -e signed -c 1 -b 16 -r 60000 - ${RAMFS_AUDIO}/audio/${3}.wav rate 11025" DEBUG
timeout "${6}" /usr/local/bin/rtl_fm ${BIAS_TEE} -f "${2}"M -s 60k $GAIN -p $PPM_ERROR -E wav -E deemp -F 9 - | /usr/bin/sox -t raw -e signed -c 1 -b 16 -r 60000 - "${RAMFS_AUDIO}/audio/${3}.wav" rate 11025

if [ "${SUN_ELEV}" -gt "${SUN_MIN_ELEV}" ]; then


+ 1
- 1
schedule_sat.sh 查看文件

@@ -32,7 +32,7 @@ log "Looking for passes of $1" INFO
PREDICTION_START=$(predict -t "${NOAA_HOME}"/predict/weather.tle -p "${1}" | head -1)
PREDICTION_END=$(predict -t "${NOAA_HOME}"/predict/weather.tle -p "${1}" | tail -1)

[ -z "$PREDICTION_START" ] && log "predict did not return any values!" ERROR
[ -z "$PREDICTION_START" ] && log "predict did not return any values for $1!" ERROR

var2=$(echo "${PREDICTION_END}" | cut -d " " -f 1)



Loading…
取消
儲存