Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedding MLRPT for recording Meteor M2 images #46

Closed
DL4OCH opened this issue Nov 18, 2018 · 15 comments
Closed

Embedding MLRPT for recording Meteor M2 images #46

DL4OCH opened this issue Nov 18, 2018 · 15 comments
Labels
📡 New module New module requests

Comments

@DL4OCH
Copy link

DL4OCH commented Nov 18, 2018

Is it possible, to embed mlrpt for Meteor M2 images as well ? It would be nice, to have a high quality weather-picture source as well.

Should be easy to implement another module for this case, (except for me)...

Best,
Wilm

@filipsPL
Copy link
Owner

Hi Wilm,

Should be easy to implement another module for this case, (except for me)...

Yes, it should be! Unfortunately I don't have the hardware to test this modules, but maybe some other people would like to give it a try?

If there is a program for Meteor recording/decoding, which can be run from the command line, than building a module from it is super-simple.

@filipsPL
Copy link
Owner

Also, please see issue #38

@DL4OCH
Copy link
Author

DL4OCH commented Nov 19, 2018 via email

@filipsPL filipsPL added the 📡 New module New module requests label Nov 23, 2018
@filipsPL
Copy link
Owner

Good. I was able to download and compile the decoder (tested for 4.18.0-2-686-pae #1 SMP Debian 4.18.10-2 (2018-11-02) i686 GNU/Linux). As soon as I get some signal probes I will test it and try to make a module out of it.

But definitely we will need some beta testers then... 😅

@DL4OCH
Copy link
Author

DL4OCH commented Nov 24, 2018

Hi Filip,
I appreciate your approach. I'm ready to beta-test with my antenna...

Best,
Wilm

filipsPL added a commit that referenced this issue Jan 6, 2019
@filipsPL
Copy link
Owner

filipsPL commented Jan 6, 2019

I've created an super experimental module for meteor-m2 support, living in the modules/meteor-m2. Please read our wiki page on this topic: https://github.com/filipsPL/autowx2/wiki/meteor-m2 (disclaimer: very crude notes - feel free to edit, polish it, add more info...)

  • I was working on mlrpt-1.1, any later version - I was unable to compile (1.2, 1.3)
  • I was not able to test it (no hardware), but during dry runs it works.
  • please report all issues here, also please modify instructions on the wiki page

happy testing!

@DL4OCH
Copy link
Author

DL4OCH commented Jan 7, 2019

Tested it since yesterday and firgured out, that mlrpt duration is not seconds, but minutes. Means, wrong documentation of mlrpt. We need to hand over minutes, not seconds.

@filipsPL
Copy link
Owner

filipsPL commented Jan 7, 2019

True, but (at least for 1.1) one may provide start-stop time range and duration is optional:
mlrpt -f $freq -s $startT-$stopT (time HHMM in UTC)
so we don't care about duration. At least I hope so...

@filipsPL
Copy link
Owner

filipsPL commented Jan 7, 2019

... I think we should care about duration... I've added support for the duration in the meteor module:
mlrpt -f $freq -s $startT-$stopT -t $durationMin
available in the current commit.

filipsPL added a commit that referenced this issue Jan 8, 2019
@SA7BNT
Copy link
Contributor

SA7BNT commented Jan 9, 2019

Hallo Filip,

i just run the mlrpt by hand. Here i got the pics after Meteor is transmitting again.

When the meteor.sh inside autowx2 starts it seems that there is something going wrong.
I don’t know what but i should guess it can be from the autowx2_config.py the option
skipFirst = 20

It seems that after the first 20 sek. he received on the wrong freq. because mlrpt still is running.
A nice feature for mlrpt should be that it is possible to deactivate skipFirst / skipLast option in autowx2_config.py.

Best Tim

Pic´s when i run by hand.

09jan2019-0906-ch0
09jan2019-0906-ch1
09jan2019-0906-ch2
09jan2019-0906-combo

@filipsPL
Copy link
Owner

Congratulations on nice images!

So what if in autowx2_config.py you set: skipFirst = 0?

@SA7BNT
Copy link
Contributor

SA7BNT commented Jan 10, 2019

Will give it a try. Next pass tomorow.

@SA7BNT
Copy link
Contributor

SA7BNT commented Jan 11, 2019

God morning, tried to set SkipFirst = 0 and SkipLast = 0
But i get the same result.

If you looking at the last part of the log the used freq. is

mlrpt: Set SDR Frequency to 461046.5kHz

but why?? Where is he getting the freq. from??

2019-01-11 09:12 !! Recording � METEOR-M2 :: 2019-01-11 09:11 to 2019-01-11 09:27, dur: 15:30, max el. 69°; azimuth: 104° (E→) f=137900000Hz; Decoding: modules/meteor-m2/meteor.sh
/home/sa7bnt/autowx2/
Bruzaholm
fileNameCore=20190111-0911_METEOR-M2
satellite=METEOR-M2
start=1547194301
duration=911
peak=69
azimuth=104
freq=137900000
0813-0827, duration: 16 min
Found Rafael Micro R820T tuner
Allocating 15 zero-copy buffers
mlrpt: Paused till 08:13 UTC. Operation Timer set to 840 sec
mlrpt: Pause Timer Expired
mlrpt: Operation Timer set to 960 sec
mlrpt: SDR Receiver Type: RTL-SDR
mlrpt: SDR Device Index: 0
mlrpt: SDR Receiver I/Q Sample Rate: 288000
mlrpt: Roofing Filter Bandwidth: 150000
mlrpt: Manual Gain Setting: 90
mlrpt: Frequency Correction Factor: 11
mlrpt: Satellite Frequency kHz: 137900
mlrpt: Decoding Duration: 900
mlrpt: RRC Filter Order: 32
mlrpt: RRC Filter alpha factor: 0.6
mlrpt: Costas PLL Loop Bandwidth: 200
mlrpt: Transmitter QPSK Symbol Rate: 72000
mlrpt: Demodulator Interpolation Factor: 4
mlrpt: LRPT Decoder Output Mode: 3
mlrpt: Save As image file type: 1
mlrpt: JPEG Quality Factor: 85
mlrpt: LRPT Decoder Save Raw Images flag: 0
mlrpt: LRPT Decoder Image Normalize flag: 1
mlrpt: LRPT Decoder Image CLAHE Enhance flag: 1
mlrpt: LRPT Decoder Image Colorize flag: 1
mlrpt: LRPT Decoder Red APID: 68
mlrpt: LRPT Decoder Green APID: 65
mlrpt: LRPT Decoder Blue APID: 64
mlrpt: Invert Palette APID: 68
mlrpt: Red Channel Normalization Range: 0-230
mlrpt: Green Channel Normalization Range: 0-255
mlrpt: Blue Channel Normalization Range: 60-255
mlrpt: Blue Channel min pixel value in pseudo-color image: 60
mlrpt: Blue Channel max pixel value to enhance in pseudo-color image: 80
mlrpt: Blue Channel cloud area pixel value threshold: 210
mlrpt: Directory to save images in: /home/sa7bnt/mlrpt/images/
mlrpt: Initializing RTLSDR Device
mlrpt: RTLSDR Device Information:
mlrpt: Device Index: 0 Name: Generic RTL2832U OEM
Manufacturer: NOAA Product: RTL2838UHIDIR Serial: 00000002
mlrpt: Tuner Type: R820T
mlrpt: Set SDR Frequency to 461046.5kHz
mlrpt: Frequency Correction: 11 ppm
mlrpt: Setting Tuner Gain Mode to Manual
mlrpt: Setting Tuner Gain to 44dB
mlrpt: ADC Sample Rate: 288000 S/s
mlrpt: RTLSDR Device Initialized OK
mlrpt: Decoding from RTL-SDR Receiver
mlrpt: Operation Timer Started: 960 sec
mlrpt: Decoding of LRPT Images Started
mlrpt: PLL Unlocked
mlrpt: Operation Timer Expired
mlrpt: Receiving and Decoding Ended

@DL4OCH
Copy link
Author

DL4OCH commented Jan 11, 2019 via email

@SA7BNT
Copy link
Contributor

SA7BNT commented Jan 11, 2019

Well done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📡 New module New module requests
Projects
None yet
Development

No branches or pull requests

3 participants