Observation 4609364: METEOR M-2 (40069)

Regarding Observation 4609364

Hi all, When i installed the “decoder” for this sat i got one pass that produced an image.
https://network.satnogs.org/observations/4590588/
But since then “nothing”.
I have what i think a decent waterfall from the sat. All i can think of that i did was adjusting the PPM-value in the client.
this is what happens:
~ $ sudo ./postob.sh
POST OBSERVATION SCRIPT RUNNING
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 002

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Waiting for 12 seconds before processing.
Attempting to process: /tmp/data_4591485_2021-08-19T19-54-15.s
Total: 156.790604
Processing: 0.000000
Correlation: 96.029259
Viterbi: 54.835861
ECC: 5.913401
Remainder: 0.012086
Packets: 0 / 3429
Traceback (most recent call last):
File “/home/pi/satnogs-extras/scripts/process_meteor.py”, line 110, in
result_vis = convert_image("_vis")
File “/home/pi/satnogs-extras/scripts/process_meteor.py”, line 72, in convert_image
subprocess.call([CONVERT_PATH, raw_image_path, result_image])
File “/usr/lib/python2.7/subprocess.py”, line 172, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.7/subprocess.py”, line 394, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
POST OBSERVATION SCRIPT FINISHED

Pse some pointers.

and just to clarify, this gives about the same info.

~ $ journalctl -f -u satnogs-client.service
– Logs begin at Thu 2021-08-19 12:41:12 CEST. –
aug 21 16:11:57 HamPi4 satnogs-client[2946]: subprocess.call([CONVERT_PATH, raw_image_path, result_image])
aug 21 16:11:57 HamPi4 satnogs-client[2946]: File “/usr/lib/python2.7/subprocess.py”, line 172, in call
aug 21 16:11:57 HamPi4 satnogs-client[2946]: return Popen(*popenargs, **kwargs).wait()
aug 21 16:11:57 HamPi4 satnogs-client[2946]: File “/usr/lib/python2.7/subprocess.py”, line 394, in init
aug 21 16:11:57 HamPi4 satnogs-client[2946]: errread, errwrite)
aug 21 16:11:57 HamPi4 satnogs-client[2946]: File “/usr/lib/python2.7/subprocess.py”, line 1047, in _execute_child
aug 21 16:11:57 HamPi4 satnogs-client[2946]: raise child_exception
aug 21 16:11:57 HamPi4 satnogs-client[2946]: OSError: [Errno 2] No such file or directory
aug 21 16:11:57 HamPi4 satnogs-client[2946]: POST OBSERVATION SCRIPT FINISHED
aug 21 16:12:06 HamPi4 satnogs-client[2946]: satnogsclient.observer.observer - ERROR - Upload of artifacts for observation 4609368 failed, response status code: 401

Found a typo in the convert path.
But still not good.
~/satnogs-extras/scripts $ sudo python ./process_meteor.py
Waiting for 12 seconds before processing.
Attempting to process: /tmp/data_4591482_2021-08-19T14-50-58.s
Total: 210.213623
Processing: 0.000000
Correlation: 128.790070
Viterbi: 73.500481
ECC: 7.906486
Remainder: 0.016578
Packets: 0 / 4580
convert: unable to open image /tmp/meteor_image_temp_vis.bmp': Filen eller katalogen finns inte @ error/blob.c/OpenBlob/2874. convert: no images defined /tmp/meteor_image_temp_vis.png’ @ error/convert.c/ConvertImageCommand/3258.
Input file “/tmp/meteor_image_temp_vis.dec” not found!
convert: unable to open image /tmp/meteor_image_temp_ir.bmp': Filen eller katalogen finns inte @ error/blob.c/OpenBlob/2874. convert: no images defined /tmp/meteor_image_temp_ir.png’ @ error/convert.c/ConvertImageCommand/3258.
VIS Processing unsuccessful.
IR Processing unsuccessful.
73 George

Hi, I am not sure but the line:

Packets: 0 / 4580

Means probably that 0 lines where decoded. And that therefor no file was written. Unfortunately the rest of the script does not handle this gracefully. Questions remains why it didn’t decode. Do you have this on every observation?

HI Eelke,
First thanks for the nice “How-to”. It worked the first time for me then it stopped.
I have a lot of .s-files saved and none of them gives decoded packets. Can i send one to you and se if you get it to decode?
I am trying it like this: ~/medet $ ./medet_arm ~/sparade_s_filer_meteor/data_4591480_2021-08-19T11-37-02.s gg

BR George

Hi George, thanks for the appreciation! Good to hear. The file you mentioned in your last post belongs to observation: SatNOGS Network - Observation 4591480

The satellite was only 6° above the horizon, and that gives a weak signal. That would never have worked on my station. I needed at least about 30° using a V-dipole. I think you need more signal! :smiley: Can you try with passes that have a high elevation?

On your last observation SatNOGS Network - Observation 4612540 you have bad luck. NOAA 19 satellite is on the same frequency and disturbs the signal.

On an old pass SatNOGS Network - Observation 4590591 with high elevation the signal looks stronger but has a lot of fading. There are gaps.

Yes, i will try further…
Hope that NOAA19 drifts away over time.

Horray!
Back in bussnies agn.
PPM = 5 gives me this picture.
https://network.satnogs.org/observations/4622364/
If just the NOAA will go away. :smile:
Dont know what made it happen. I Changed PPM to 5 and i did a complete reboot, i.e. Powerdown for a while.
Now on to more satellite listening.
Thanks again Eelke.
73 George

Congrats! Do you really need the PPM? From the Metadata, it looks like you use the RTL-SDR dongle. I have the same and don’t use the PPM setting. I think it I left it empty, and now it shows ‘null’.

You mentioned earlier that you have a lot of *.s files. Were they in /tmp? That folder is located in ram memory and gets cleared on reboot. Could it be that the pi ran out of memory?

No i do not think that Adjusting frequency is needed. But i had it at 5 in my first succsessfull picture so will leave it here. :slight_smile:
I have som files saved in my own directory.

13:46:27 up 27 min, 2 users, load average: 0,11, 0,08, 0,08
Tasks: 162 total, 1 running, 161 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2,8 us, 2,7 sy, 0,0 ni, 94,2 id, 0,0 wa, 0,0 hi, 0,3 si, 0,0 st
MiB Mem : 1872,2 total, 1159,7 free, 254,1 used, 458,4 buff/cache
MiB Swap: 1872,2 total, 1872,2 free, 0,0 used. 1457,7 avail Mem
and lots of memory.
I have an idiea what goes wrong and are investigating further.

Sooo…
Here goes. Eelke and others. This is what fails.
First i need to better my reception, but that i RF and i know that. :wink:
But this is what stops reception software vice.
The .s-file gets moved to /tmp/.satnogs/data/complete after it has been converted to pictures.
That directory do not excist if we do not make it after every reboot.
So after a reboot the files get stuck in /tmp.
And after a new observation the “converter” find the first file there wich is the right file only the first time. So all observations after that fails.
Questions:
Why do we save the .s-files?
Why dont we create the neccesary directory? We create an “inclomplete”.directory. When is that used?

Now back to antenna building.
My solution is to manually create the directory. If not someone comes up with a smart solotion.
Best 73 George

Well this directory is in memory. So after a certain amount of observations the Raspberry runs out of memory. I had written in step 5 to change the script and just remove the files. In the comments there was also a suggestion to change the script and create the directory if it is missing. See Howto: Meteor M2 weather satellite image decoding - #63 by michal.drzal

The log file you posted, showed no problem with the directory but with the amount of packages decoded being 0. I guess you had several setbacks.

Nice to hear that you have mastered it and it starts to work for you! Enjoy! :smiley:

Best regards, Eelke

I never got to step 5 Tweaking. I have done the remove change.
All fine now.
73 George

1 Like