artlav / meteor_decoder

A portable decoder for METEOR M weather satellite LRPT signal
GNU General Public License v3.0
148 stars 15 forks source link

No output #8

Open pausrn opened 4 years ago

pausrn commented 4 years ago

When I run the program he is decoding the file well. But at the end there is no output, my folder stay empty. Am I missing something? What is the output path file supposed to be?

The console output :

Reading ../../Documents/DecodedAndDeveloped/2019_07_22_LRPT_19-58-06.s... pos=39993840 ( 99.96%) ( 6, 6322,49) sig= -240 rs=(-1,-1,-1,-1) C5A84106 Total: 61.484665 Processing: 0.000000 Correlation: 35.990200 Viterbi: 22.235390 ECC: 3.199975 Remainder: 0.059097 Packets: 0 / 1650

The compilation output :

Free Pascal Compiler version 3.0.4+dfsg-22 [2019/01/24] for x86_64 Copyright (c) 1993-2017 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling medet.dpr Compiling ./alib/asys.pas Compiling met_to_data.pas Compiling ./alib/ecc.pas ecc.pas(223,87) Warning: Local variable "root" does not seem to be initialized ecc.pas(235,18) Warning: Local variable "loc" does not seem to be initialized ecc.pas(223,35) Warning: Local variable "omega" does not seem to be initialized Compiling correlator.pas Compiling viterbi27.pas Compiling ./alib/bitop.pas Compiling ./alib/tim.pas Compiling met_jpg.pas Compiling ./alib/bmp.pas Compiling huffman.pas huffman.pas(126,15) Warning: Local variable "v" does not seem to be initialized Compiling dct.pas Compiling met_packet.pas medet.dpr(285,19) Warning: Local variable "hard" of a managed type does not seem to be initialized Linking medet /usr/bin/ld.bfd : avertissement : link.res contient des sections de sortie; avez-vous oublié -T? 2674 lines compiled, 0.6 sec 5 warning(s) issued

Update : So I tried some troubleshooting (which isn't easy since I don't know anything in Pascal) and apparently it seem that the variable "length(big_img)" is equal to 0 which break the saving of the image.

oneschirm commented 4 years ago

Seeing a similar issue (I think).

Ran my iq file through: meteor_demod gqrx_20191018_033103_137100200.wav -o raw_iq.dat

then ran

./medet raw_iq.dat output

and got:

Total:        7.841845
Processing:   0.000007
Correlation:  4.658157
Viterbi:      3.053326
ECC:          0.109081
Remainder:    0.021274
Packets:          71/  1348

But no output or output.bmp.

sq2mo commented 4 years ago

Same issue here. Precompiled version from medet_190825_lin64.tar.gz.

GlassesToCSharp commented 4 years ago

Similar here. My output is:

Total:        650.776978
Processing:   0.000015
Correlation:  456.880585
Viterbi:      173.219849
ECC:          20.214424
Remainder:    0.462073
Packets:      15 / 5259

yet I have no images. I noticed that at the end of medet_arm $decFile $outputFile -r 65 -g 65 -b 64 -d, I get no images:

Total:        0.000244
Processing:   0.000008
Correlation:  0.000000
Viterbi:      0.000000
ECC:          0.000000
Remainder:    0.000236
Packets:      15 / 15
no images

I am wondering if it has anything to do with Packets: 15 / 5259? If that is how many packets have been received/decoded, that seems awfully low... @oneschirm did you find any issues with your number of received packets?

0nnyx commented 3 years ago

Guess you figured it out but you didn't have enough valid packets to generate any image. I also had no image until the packet count became significant:

Total:        592.538330
Processing:   12.167146
Correlation:  329.017426
Viterbi:      227.877396
ECC:          23.012892
Remainder:    0.463420
Packets:      1516 / 4361

Packets:      1516 / 1516
Elapsed time: 00:05:09.016
Thumb for 20201231-0912_METEOR-M2.png