Skip to content

discosat/disco-doppler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disco Doppler Frequency Shift

This script generates a small csh output file tmp.csh that can then be run from within csh to set radio tx and rx frequency doppler correction. It can be configured with an external TLE file, time in UTC, lat and lon location of observer. A time offset can be added in case of inaccurate TLE.

A simple trigger script is provided which handles creation of an input file for non blocking reads, as well as logging.

Install

Requires Skyfield

Example of command

./doppler.py 55.6167 12.65 -t 2026-03-25T14:13:32 -o tmp.csh -d 5

usage: doppler.py [-h] [-t [TIME]] [-o OUTPUT] [-d OFFSET] [-q | --quiet | --no-quiet]
                  obs_lat obs_lon

positional arguments:
  obs_lat               observer longitude (degrees)
  obs_lon               observer longitude (degrees)

options:
  -h, --help            show this help message and exit
  -t [TIME], --time [TIME]
                        UTC time of observation (default: now)
  -o OUTPUT, --output OUTPUT
                        Path to output file
  -d OFFSET, --offset OFFSET
                        Offset in seconds
  -q, --quiet, --no-quiet
                        No debug output

Trigger

./dopplerd.sh -i 2 -d 0 -l

Usage: ./dopplerd.sh [-l] log [-i] interval [-d] offset delta [-h] help
[ctrl-c] quit, tail -f doppler.log to monitor
frequencies output to input.csh
every [interval] s, with offset [delta] s

About

doppler frequency calculator test for DISCO2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 75.3%
  • Shell 24.7%