Short question: are there any scripts out there to take waterfall .dat file generated by the satnogs_*.py decoder scripts and create a waterfall image like displayed on the SatNOGS Network for a particular observation?
then Cntrl-C out of it when the satellite goes below the horizon. So Iām looking to take the resulting waterfall.dat file and view the waterfall as a png or jpg (not to upload to SatNOGS network). I realize the doppler shift will be off without rigctl adjusting the frequency
Why do I want to do this? Sometimes I want to record the waterfall of an observation that I cannot schedule in satnogs or maybe my station when offline for a few seconds and missed the start of a scheduled pass that is still visible for the next 10-15 minutes, this way I can at least manually run the decoder and capture raw data with the hopes of displaying the waterfall portion of the artifact.
Iāve searched around and didnāt come up with anything. Thanks for any insight you can offer (even if itās āyou canāt do thatā )
Iām trying to play with running manual observations now, as well. Did you get the processing of the waterfall plot working as you intended? Iāve been spending time on this, but am not certain of how to use waterfall.py with a specific file (Iām no coderā¦ So my understanding is lacking).
Any suggestions on how to run this py script against a dat file would be appreciated.
AFAICT, this is possible without too much pain. For the .dat file, you just mean the .ogg output, ya? Like the file from --waterfall-file-path=./receiving_waterfall_.ogg mentioned by original poster?
I took the waterfall.py and made it so thereās a line for a file you want to read and it will output a PNG. Not sure if it is doing what you want, but maybe. See:
I have two āreceivingā filesā¦
receiving_satnogsā¦ .out
and
receiving_waterfallā¦ .dat
So you didnāt add that to the waterfall.py, but added to the input command when called manually? Just want to be sure I understand how itās working. Thanks so much.
Since @fredy said it was all done in waterfall.py, all I did is take the input waterfall.py would ānormallyā use and made it so it could use a file instead. I then made it output a PNG. I didnāt dig into which is the appropriate input file, as I hadnāt done your manual process of gathering observations.
You shouldnāt have to change the output filename from waterfall.png, unless you want to. The .dat file should probably be this line:
datafile_path='receiving_waterfall_.ogg'
to whatever your filename is, such as:
datafile_path='receiving_waterfall_.dat'
Let me know how that goes for you. Thanks!
Note: I also changed the name in the script to .dat now. If you want to send me a sample .dat file youāve created, I can test with that.