Meteor MN2 decoder for rpi 3B+


#41

Mine is running fine, but i have a dubt:
Why is it generating only one file?
have a look:
https://network.satnogs.org/observations/370507/
It generates only one image with RGB and IR in the same file.
How can i generate (and upload) 2 files?
Thank’s a lot.


#42

Hi,

I did it by modifying process_meteor.py. The original version calls the ‘convert’ utility with the ‘combine’ operator and the two bmp’s as input. If you modify that into two calls to ‘convert’, each with one bmp as input and without ‘combine’ you’ll get two separate images and uploads. Just be sure that you use different output filename suffixes, I used _vis.png and _ir.png


#43

A lot of thanks.
Please… Could you send me your modified file?
My email runahue at gmail dot com


#44

I’ll look at changing this in the satnogs-extras repository too… Using separate files is probably a better idea.


#45

Hello friends:
I had a problem with my SD and i had to reinstall Raspbian.
I did a fresh satnogs install and Meteor decoder modification, but i have some problem becouse it is not decoding. .s files are being generated.

This is my /datadrive/meteor directory:

pi@Raspi:~ $ ls -l /datadrive/meteor/
total 736076
drwxrwxrwx 2 satnogs satnogs 4096 ene 23 08:08 complete
-rw-r–r-- 1 satnogs satnogs 112219948 ene 23 08:53 data_427354_2019-01-23T07-40-14.s
-rw-r–r-- 1 satnogs satnogs 135458774 ene 23 10:35 data_427355_2019-01-23T09-19-27.s
-rw-r–r-- 1 satnogs satnogs 119909310 ene 23 20:15 data_427356_2019-01-23T19-01-32.s
-rw-r–r-- 1 satnogs satnogs 133825240 ene 23 21:55 data_427357_2019-01-23T20-40-31.s
-rw-r–r-- 1 satnogs satnogs 136325448 ene 24 10:15 data_427358_2019-01-24T08-59-33.s
-rw-r–r-- 1 satnogs satnogs 107770864 ene 24 11:53 data_427359_2019-01-24T10-40-39.s
-rw-r–r-- 1 satnogs satnogs 3512374 ene 24 12:04 meteor_image_temp.bmp
-rw-r–r-- 1 satnogs satnogs 413696 ene 24 12:04 meteor_image_temp.dec
-rw-r–r-- 1 satnogs satnogs 3512374 ene 24 12:04 meteor_image_temp_thermal.bmp

Trying to execite process_meteor.py like satnogs i don’t have any answer, but trying like pi:

root@Raspi:/home/pi # su satnogs -c “/datadrive/process_meteor.py”
root@Raspi:/home/pi # su pi -c “/datadrive/process_meteor.py”
Waiting for 120 seconds before processing.

root@Raspi:/home/pi # cd /datadrive/
root@Raspi:/datadrive # ls -l
total 336
drwxrwxrwx 3 satnogs satnogs 4096 nov 20 23:23 complete
drwx------ 2 root root 16384 nov 20 23:21 lost+found
-rwx------ 1 pi pi 65851 dic 2 21:07 lrpt_demod.grc
-rwxr-xr-x 1 pi pi 67594 nov 20 23:38 lrpt_demod.grc.orig
-rwxr-xr-x 1 pi pi 158904 abr 11 2017 medet_arm
drwxrwxrwx 3 satnogs satnogs 4096 ene 24 14:04 meteor
-rwxr-xr-x 1 root root 4440 nov 21 22:49 process_meteor.py
root@Raspi:/datadrive # cd /datadrive/meteor/
root@Raspi:/datadrive/meteor # ls -l
total 728796
drwxrwxrwx 2 satnogs satnogs 4096 ene 23 08:08 complete
-rw-r–r-- 1 satnogs satnogs 112219948 ene 23 08:53 data_427354_2019-01-23T07-40-14.s
-rw-r–r-- 1 satnogs satnogs 135458774 ene 23 10:35 data_427355_2019-01-23T09-19-27.s
-rw-r–r-- 1 satnogs satnogs 119909310 ene 23 20:15 data_427356_2019-01-23T19-01-32.s
-rw-r–r-- 1 satnogs satnogs 133825240 ene 23 21:55 data_427357_2019-01-23T20-40-31.s
-rw-r–r-- 1 satnogs satnogs 136325448 ene 24 10:15 data_427358_2019-01-24T08-59-33.s
-rw-r–r-- 1 satnogs satnogs 107770864 ene 24 11:53 data_427359_2019-01-24T10-40-39.s
root@Raspi:/datadrive/meteor #

What do you think?

Thank’s a lot.


#46

More info: running /datadrive/process_meteor.py generates images correctly, but not like satnogs.


#47

I have created a pull request on the satnogs-extras repo implementing this, could you have a look?


#48

Hi,

I have forked the satnogs-extras repo and committed the file there, and sent a pull request to vk5qi. Here it is:


#49

That sounds a lot like a file permission problem. You could try this (although a bit crude):

chmod 777 -R /datadrive/


#50

Problem has been solved adding a shell to satnogs user on /etc/passwd before was /bin/false now with /bin/bash is fine.

Thank’s for your help.


#51

A lot of thank’s for the new script.

I have updated.

Waiting for next pass.


#52

Hi I believe I followed all the steps but I get this when executing grcc:

pi@SatNogs : /datadrive $ grcc -d /usr/bin/ lrpt_demod.grc

linux; GNU C++ version 6.2.0 20161010; Boost_106100; UHD_003.009.005-0-unknown

Validation failed:

Block - audio_gain - Variable(variable):

Param - Value(value):

Value “satnogs.fm_demod_settings[rx_sdr_device][‘audio_gain’]” cannot be evaluated:

‘module’ object has no attribute ‘fm_demod_settings’

Error during file compilation.

pi@SatNogs : /datadrive $


#53

That would be because the lrpt_demod.grc script linked to in the original post is now out of date. The latest version is in github here: https://github.com/darksidelemm/satnogs-extras/blob/master/flowgraphs/lrpt_demod.grc


#54

After some testing on LRPT IQ files recorded at station #39, I suggest to use pll_alpha=1m and clock_alpha=2m. Pull request to @vk5qi has been submitted.

Image from before (pll_alpha=15m, clock_alpha=3m).

Images after the change:


#55

I’ve now merged this PR, so the changes are available from the satnogs-extras repo.


#56

Now the PR has been merged, is there an update or howto for implementing this demod? I’m keen to do it…