A station is a receiver that records UHF spectrograms around the clock, and a container beside it that sends them here hour by hour, with the narrowband tracks it finds in them. If you already run STRF's rffft, you add that container and nothing in your receiving chain changes. Setting it up takes about five minutes.
What you need
rffftrunning on a Linux computer, writing its<prefix>_NNNNNN.binfiles into one folder. The images are built for amd64 and arm64.- Docker with Compose v2:
docker compose versionanswers. - An internet connection out. Nothing has to be opened to the internet: the station only makes HTTPS requests.
- An LSF account, the one you use for SatNOGS, to add the station to OSSA.
- Room for what it sends. An hour of a 4 MHz band in 80,000 channels of 50 Hz is about 136 MB once encoded: 0.3 Mbit/s up, 3.3 GB a day, for each band. The station keeps each hour 30 days after it is sent, about 100 GB a band, and never removes one that has not been sent.
1. Start it
In a folder of its own, fetch the compose file, say where rffft writes, and start it:
mkdir ossa-station && cd ossa-station
curl -fsSLO https://gitlab.com/librespacefoundation/ossa/-/raw/main/services/station/compose.yml
echo "STRF_DIR=/home/you/strf/data" > .env
docker compose up -dReplace /home/you/strf/data with your folder. It is mounted read-only. Two containers start: station, which encodes and sends, and serves its console; and detect, which follows the same folder and finds the tracks. detect has no network.
2. Set it up
Open http://<that computer>:8080 from any computer on the same network. The console takes you through four steps:
- Your station. A name to offer OSSA (3 to 32 lowercase letters, digits and dashes), where the antenna is (passes are predicted from it), and an admin password for the console's settings.
- Your data. The console lists the
rffftfolders it finds, each with its bands and the age of its newest row. Pick yours. - Join OSSA. The console shows a code such as
OSSA-7K2Q-9MPR. - Done. The console moves on by itself once the station is added.
"See the station first" opens the console before joining: the station encodes meanwhile and sends nothing.
3. Add it to OSSA
Go to ossa.libre.space/claim, sign in with your LSF account, and type the code. You see what the station says of itself, its name and bands, before you add it, and you confirm the name its data will carry: name-402-20261020 for a day of the 402 MHz band. The code comes from a key the station made itself: it holds no password and works once, while the station is on.
What it sends, and where it goes
- Each hour of each band, about 3 minutes after the hour ends, encoded into log8 (one byte a value) and read back before it goes. It uploads straight to OSSA's storage by a link made for that hour, checked by size and MD5 when it arrives.
- detect's tracks, as they close, and the station's health every minute.
- On ossa.libre.space each hour is added to that day's spectrogram within minutes, and the passes predicted over your station are searched for in it. The day is listed with the other spectrograms while it grows.
- Your LSF username is shown as the station's owner on the stations page. The position you give is used to predict the passes over the station and travels with each day's data; the stations page rounds it to a tenth of a degree.
While the station cannot reach OSSA, hours wait on its disk and go out when it can: nothing is lost. Sending can be turned off in the console's settings.
Day to day
The console's overview says in one line whether everything works, shows the last ten minutes of every band, and lists what needs you. In the folder with compose.yml:
docker compose logs -f station # its log; the first lines give the code
docker compose pull && docker compose up -d # update to the newest buildThe station volume holds the station's key, its identity on OSSA. Keep it when updating; a station whose key is lost is added again with a new code.
When something is wrong
The console names the part and says what to do. The ones you are most likely to meet:
| Part | It says | What to do |
|---|---|---|
| Receive | No folder | Check STRF_DIR in .env, then docker compose up -d. |
| Receive | No reading | The station runs as a user of its own: chmod -R o+rX on the folder. |
| Receive | No spectrograms, Stopped | rffft is not writing there, or stopped more than 5 minutes ago. |
| Detect | Not running, Stopped | docker compose up -d; docker compose logs detect says why. |
| Network | Offline | The station's internet connection; the reason follows. Nothing is lost meanwhile. |
On an OSSA station
OSSA's own stations run the same container from their station stack, reading capture's spectrograms instead of rffft's; the console is the same, on port 8080.
The station software is new: tested against this server and with recorded and made-up data, not yet run at a station for long. Tell us what goes wrong, and what reads badly, in OSSA's issues. How it works: services/station and ADR 0020.