Browse Source

Added Meteor M2-2

pull/131/head
Pascal 3 years ago
parent
commit
7fb5bc41dd
3 changed files with 13 additions and 7 deletions
  1. +11
    -6
      install.sh
  2. +1
    -0
      schedule.sh
  3. +1
    -1
      schedule_meteor.sh

+ 11
- 6
install.sh View File

@@ -132,12 +132,17 @@ else
fi

### install predict
$orig_dir=$(pwd)
cd software
tar -xzf predict-2.2.7.tar.gz
cd predict-2.2.7
sudo ./configure #this also installs :X
cd $orig_dir
if [ -e $(which predict) ]; then
log_done "predict was already installed"
else
$orig_dir=$(pwd)
cd software
tar -xzf predict-2.2.7.tar.gz
cd predict-2.2.7
sudo ./configure #this also installs :X
cd $orig_dir
log_done "predict installed"
fi

### Install default config file
if [ -e "$HOME/.noaa.conf" ]; then


+ 1
- 0
schedule.sh View File

@@ -16,6 +16,7 @@ grep "NOAA 15" "${NOAA_HOME}"/predict/weather.txt -A 2 > "${NOAA_HOME}"/predict/
grep "NOAA 18" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
grep "NOAA 19" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
grep "METEOR-M 2" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
grep "METEOR-M2 2" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
if [ "$SCHEDULE_ISS" == "true" ]; then
grep "ZARYA" "${NOAA_HOME}"/predict/amateur.txt -A 2 > "${NOAA_HOME}"/predict/amateur.tle
fi


+ 1
- 1
schedule_meteor.sh View File

@@ -26,7 +26,7 @@ while [ "$(date --date="@${var2}" +%D)" = "$(date +%D)" ]; do
OUTDATE=$(date --date="TZ=\"UTC\" ${START_TIME}" +%Y%m%d-%H%M%S)

if [ "${MAXELEV}" -gt "${METEOR_MIN_ELEV}" ]; then
log "Pass is above ${METEOR_MIN_ELEV}, that is OK for me" "INFO"
log "Pass at ${MAXELEV} is above ${METEOR_MIN_ELEV}, that is OK for me" "INFO"
SATNAME=$(echo "$1" | sed "s/ //g")
echo "${SATNAME}" "${OUTDATE}" "$MAXELEV"
echo "${NOAA_HOME}/receive_meteor.sh \"${1}\" $2 ${SATNAME}${OUTDATE} "${NOAA_HOME}"/predict/weather.tle \


Loading…
Cancel
Save