voacap - Added power level argument check

This commit is contained in:
thetechprepper
2025-08-21 18:23:57 -07:00
parent 2f7d93ab2e
commit c7539c5b13
@@ -2,7 +2,7 @@
# #
# Author : Gaston Gonzalez # Author : Gaston Gonzalez
# Date : 23 May 2023 # Date : 23 May 2023
# Updated : 17 August 2025 # Updated : 21 August 2025
# Purpose : Offline HF prediction using voacapl # Purpose : Offline HF prediction using voacapl
set -o pipefail set -o pipefail
source /opt/emcomm-tools/bin/et-common source /opt/emcomm-tools/bin/et-common
@@ -174,7 +174,9 @@ elif [ "$PWR" = "500" ]; then
elif [ "$PWR" = "1500" ]; then elif [ "$PWR" = "1500" ]; then
PW="1.2000" PW="1.2000"
else else
echo "Unsupported power level. Defaulting to 100 watts." echo "Unsupported power level."
usage
exit 1
fi fi
# Mode # Mode