pietern / goestools

Tools to work with signals and files from GOES satellites
https://pietern.github.io/goestools/
BSD 2-Clause "Simplified" License
374 stars 83 forks source link

Stat: File or directory not found goesproc #111

Open zeke800 opened 3 years ago

zeke800 commented 3 years ago

Hi

This is a wonderful piece of software, but I am getting one error on Raspberry pi 3. I am getting from goesproc, when I run the command goesproc -c /usr/share/goestools/goesproc-goesr.conf -m packet – subscribe tcp://127.0.0.1:5004 – out /home/pi/goes, I get the error "stat: no such file or directory. I have no 'stat' file anywhere, and I have no idea what this means. I am getting around 100 vit avg and the demodulator works perfectly. Config for demodulator:

[demodulator] mode = "hrit" source = "rtlsdr"

[rtlsdr] frequency = 1694100000 sample_rate = 2000000 gain = 42 bias_tee = true

[costas] max_deviation = 200e3

[decoder.packet_publisher] bind = "tcp://0.0.0.0:5004" send_buffer = 1048576

[monitor] statsd_address = "udp4://localhost:8125" For decoder: https://drive.google.com/file/d/10B1cr4ji0qMi9frQdC_bJKbfVa0k27Fj/view?usp=sharing How can I solve this issue? It the decoder worked fine before the pi crashed. Thanks in advance!!

Volas171 commented 2 years ago

I had the same issue, solved it by not using -

log into your pi create a goes folder mkdir goes && cd goes then open a screen session and execute goesproc screen -mS goesproc (inside the screen) goesproc --config /usr/share/goestools/goesproc-goesr.conf --mode packet --subscribe tcp://127.0.0.1:5004 --out /home/pi/goes that should fix the issue and store everything into /home/pi/goes

tl;dr: I'm pretty sure the source issue is because its piping stuff into - which isn't meant to be permanent (using - as a pipe for a long time eats a lot of ram)