Browse Source

Increase verbosity

pull/131/head
Pascal 3 years ago
parent
commit
bc057f704c
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      receive_noaa.sh
  2. +1
    -1
      schedule_sat.sh

+ 1
- 0
receive_noaa.sh View File

@@ -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 View File

@@ -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…
Cancel
Save