This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser( description = 'TLE file filter') | |
parser.add_argument('-i', '--input', action='append') | |
parser.add_argument('-e', '--exclude', action='append') | |
parser.add_argument('-o', '--output') | |
args = parser.parse_args() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Check script dependencies: | |
DEPS="dos2unix sed unzip wget tle_filter.py" | |
for check in ${DEPS} | |
do | |
if [ -z "$(command -v "${check}")" ]; then | |
echo "# dependency failure, install package ${check} and retry." | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Build Satdump package from source | |
# | |
NPROC=$(nproc --all) | |
REPO="${HOME}"/source/git/SatDump/SatDump | |
BUILD_NO=.$(date +%s) && export BUILD_NO && echo "${BUILD_NO}" | |
cd "${REPO}" || exit | |
git pull |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Build SDR++ package from source | |
# | |
# | |
NPROC=$(nproc --all) | |
BUILD_NO=.$(date +%s) && export BUILD_NO && echo "${BUILD_NO}" | |
cd "${HOME}"/source/git/AlexandreRouma/SDRPlusPlus || exit | |
git pull |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# This script takes two arguments: {{BAUD}} {{SCRIPT_NAME}} | |
# and tries to figure out the IQ sample rate | |
# SA2KNG | |
import satnogs | |
import sys | |
sps=4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Convert raw SatNOGS IQ to SDR# format | |
# Check dependencies: | |
DEPS=(sox) | |
SAMP="${2:-48000}" | |
for check in "${DEPS[@]}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Linux io benchmarks | |
# ----------------------------------------------------------------------------- | |
# Date: 30-10-2018 | |
# Version 1.0 | |
# | |
# IT Security Infrastructure | |
# | |
# ----------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# SATNOGS_POST_OBSERVATION_SCRIPT | |
# | |
# /usr/local/bin/satnogs-post {{ID}} {{FREQ}} {{TLE}} {{TIMESTAMP}} {{BAUD}} {{SCRIPT_NAME}} | |
grsat-wrapper.sh stop "$@" | |
# grsat.py stop "$@" | |
# Save IQ files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
set -o errexit # abort on nonzero exitstatus | |
set -o nounset # abort on unbound variable | |
set -o pipefail # don't hide errors within pipes | |
# | |
# | |
# Based on the following article: | |
# https://www.elttam.com/blog/intro-sdr-and-rf-analysis/ | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
set -o errexit # abort on nonzero exitstatus | |
set -o nounset # abort on unbound variable | |
set -o pipefail # don't hide errors within pipes | |
# | |
# Run STRF observation | |
# | |
# Author: Jan van Gils - PE0SAT | |
# |