Xerbo / aptdec

NOAA APT satellite imagery decoder
GNU General Public License v2.0
84 stars 12 forks source link

Adding map overlay - Segmentation fault #5

Closed KiwiInNZ closed 4 years ago

KiwiInNZ commented 4 years ago

Same Pi / Buster combo with updated code from previous issue:

aptdec -m 2020-06-10-21-30-06-NOAA_18-map.png 2020-06-10-21-30-06-NOAA_18.wavv

2020-06-10-21-30-06-NOAA_18-map 2020-06-10-21-30-06-NOAA_18.zip

pi@Beta:~/temp $ aptdec -m 2020-06-10-21-30-06-NOAA_18-map.png 2020-06-10-21-30-06-NOAA_18.wav
Aptdec; (c) 2004-2009 Thierry Leconte F4DWV, Xerbo (xerbo@protonmail.com) 2019-2020
Input file: 2020-06-10-21-30-06-NOAA_18.wav
Input sample rate: 11025
Total rows: 1793
Channel A: 1 (visble)
Channel B: 4 (thermal-infrared)
WARNING: Map is too short to cover entire image
Adding map overlay
Segmentation fault

Potential link to #4.

Xerbo commented 4 years ago

Yes, one of the warnings in #4 was partially to blame for this. I silenced the -Wmissing-field-initializers warnings (they're not important) to make actual useful warnings easier to see in future.

And thanks for reporting bugs instead of just ditching aptdec and continuing to use wxtoimg.