Satnogs station waterfall error

Hi, our station includes an eggbeater antenna+ LNA (18db)+ RTL-SDR V3+Raspi 3. At the raspberry side, we set the station parameters as given in the satnogs website (SatNOGS Client Setup - SatNOGS Wiki ). To observe the required gain parameter we used CubicSDR, then set it to 12.5dB. We can also observe the RF spectrum from the Cubic SDR flowchart. To test the station setup, we used the commands $ cd /tmp $ satnogs_afsk1200_ax25.py --soapy-rx-device=“driver=rtlsdr” --antenna=RX --samp-rate-rx=2.048e6 --rx-freq=444000000 --file-path=./audio-out.ogg --waterfall-file-path=./waterfall.dat

We can get the ogg file, waterfall files without any problem. In order to get the observation waterfalls, we started the satnogs-client by entering “systemctl status satnogs-client” the command. After that we get this message :

satnogs-client.service - SatNOGS client
Loaded: loaded (/etc/systemd/system/satnogs-client.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-06-09 14:50:54 GMT; 31min ago Main PID: 4666 (satnogs-client)
Tasks: 22 (limit: 2063)
CGroup: /system.slice/satnogs-client.service
└─4666 /var/lib/satnogs/bin/python3 /var/lib/satnogs/bin/satnogs-client

After having this message, we scheduled some observations, but we can’t observe any waterfall or data from the satnogs website. Satnogs client gives the error:

Loaded: loaded (/etc/systemd/system/satnogs-client.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-06-09 14:50:54 GMT; 21min ago
Main PID: 4666 (satnogs-client)
Tasks: 22 (limit: 2063)
CGroup: /system.slice/satnogs-client.service
└─4666 /var/lib/satnogs/bin/python3 /var/lib/satnogs/bin/satnogs-client

Jun 09 15:02:58 raspberrypi satnogs-client[4666]: observer.observe()
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/observer/observer.py”, line 209, in observe
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: waterfall = Waterfall(self.observation_waterfall_file)
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/waterfall.py”, line 105, in init
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: self.data = _get_waterfall(datafile_path)
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/waterfall.py”, line 80, in _get_waterfall
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: waterfall = _read_waterfall(datafile_path)
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/waterfall.py”, line 36, in _read_waterfall
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: ‘timestamp’: np.fromfile(datafile, dtype=’|S32’, count=1)[0],
Jun 09 15:02:58 raspberrypi satnogs-client[4666]: IndexError: index 0 is out of bounds for axis 0 with size 0

Our station support report is generated as:

{
“versions”: {
“satnogs-client”: “1.6”,
“satnogs-client-ansible”: “202205101826”,
“satnogs-flowgraphs”: “1.4-1”,
“gr-satnogs”: “2.3.1.1-1”,
“gr-soapy”: “2.1.3-1”,
“gnuradio”: “3.8.2.0-2”,
“satnogs-config”: “0.12”
},
“state”: {
“is-applied”: true,
“pending-tags”: null
},
“system”: {
“date”: “2022-06-09T15:13:50.111076+00:00”,
“distribution”: {
“DESCRIPTION”: “Raspbian GNU/Linux 10 (buster)”,
“RELEASE”: “10”,
“CODENAME”: “buster”,
“ID”: “Raspbian”
},
“pending-updates”: true,
“platform”: {
“system”: “Linux”,
“node”: “raspberrypi”,
“release”: “5.4.79-v7+”,
“version”: “#1373 SMP Mon Nov 23 13:22:33 GMT 2020”,
“machine”: “armv7l”,
“processor”: “”
},
“memory”: {
“total”: 969768960,
“available”: 783958016,
“percent”: 19.2,
“used”: 111370240,
“free”: 343785472,
“active”: 346619904,
“inactive”: 212492288,
“buffers”: 32722944,
“cached”: 481890304,
“shared”: 12562432,
“slab”: 47013888
},
“disk”: {
“total”: 15345393664,
“used”: 4118679552,
“free”: 10548908032,
“percent”: 28.1
}
},
“configuration”: {
“enable_iq_dump”: true,
“satnogs_antenna”: “RX”,
“satnogs_api_token”: “[redacted]”,
“satnogs_rf_gain”: “12.5”,
“satnogs_rx_bandwidth”: “200000”,
“satnogs_rx_samp_rate”: “32000”,
“satnogs_soapy_rx_device”: “rtlsdr”,
“satnogs_station_elev”: “1070”,
“satnogs_station_id”: “2693”,
“satnogs_station_lat”: “39.869513”,
“satnogs_station_lon”: “32.743898”
}
}

Could anyone help about this issue? Thanks,

This seems to be related to the sample rate you configured.

Change the following:

Remove: SATNOGS_RX_BANDWIDTH
Remove: ENABLE_IQ_DUMP

Set SATNOGS_RX_SAMP_RATE = 2.048e6
Set SATNOGS_SOAPY_RX_DEVICE = driver=rtlsdr

2 Likes

Thanks for your help, our station is now working.

3 Likes