Tell us about yourself!

Complete Your Profile
  • Raspberry Pi NOAA Weather Satellite Receiver

    I think problem is with copy and paste.Send me an email and i will attach it.runahue at gmail dot com

    View Instructable »
  • Raspberry Pi NOAA Weather Satellite Receiver

    Here is my little modification to schedule_satellite.sh to begin to record when sat is at 10º:#!/bin/bashPREDICTION_START=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | awk '{ if($5>=10) print $0}' | head -1`PREDICTION_END=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | awk '{ if($5>=10) print $0}' | tail -1`var2=`echo $PREDICTION_END | cut -d " " -f 1`var4=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | tail -1 | cut -d " " -f 1`MAXELEV=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | awk -v max=0 '{if($5>max){max=$5}}END{print max}'`while [ `date --date="TZ=\"UTC\" @${var4}" +%D` == `date +%D` ]; doSTART_T...

    see more »

    Here is my little modification to schedule_satellite.sh to begin to record when sat is at 10º:#!/bin/bashPREDICTION_START=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | awk '{ if($5>=10) print $0}' | head -1`PREDICTION_END=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | awk '{ if($5>=10) print $0}' | tail -1`var2=`echo $PREDICTION_END | cut -d " " -f 1`var4=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | tail -1 | cut -d " " -f 1`MAXELEV=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" | awk -v max=0 '{if($5>max){max=$5}}END{print max}'`while [ `date --date="TZ=\"UTC\" @${var4}" +%D` == `date +%D` ]; doSTART_TIME=`echo $PREDICTION_START | cut -d " " -f 3-4`var1=`echo $PREDICTION_START | cut -d " " -f 1`var3=`echo $START_TIME | cut -d " " -f 2 | cut -d ":" -f 3`TIMER=`expr $var2 - $var1 + $var3`OUTDATE=`date --date="TZ=\"UTC\" $START_TIME" +%Y%m%d-%H%M%S`if [ $MAXELEV -gt 19 ] then echo ${1//" "} `date --date="TZ=\"UTC\" $START_TIME" +%d/%m/%Y" "%H:%M:%S` Max Elev: $MAXELEV >> /home/pi/weather/predict/pases.txt echo "/home/pi/weather/predict/receive_and_process_satellite.sh \"${1}\" $2 /home/pi/weather/${1//" "}${OUTDATE} /home/pi/weather/predict/weather.tle $var1 $TIMER" | at `date --date="TZ=\"UTC\" $START_TIME" +"%H:%M %D"` finextpredict=`expr $var4 + 60`PREDICTION_START=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" $nextpredict | awk '{ if($5>=10) print $0}' | head -1`PREDICTION_END=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" $nextpredict | awk '{ if($5>=10) print $0}' | tail -1`MAXELEV=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" $nextpredict | awk -v max=0 '{if($5>max){max=$5}}END{print max}'`var2=`echo $PREDICTION_END | cut -d " " -f 1`var4=`/usr/bin/predict -t /home/pi/weather/predict/weather.tle -p "${1}" $nextpredict | tail -1 | cut -d " " -f 1`done

    View Instructable »