reynico / raspberry-noaa

Fully automated ISS SSTV, NOAA and Meteor satellite image downloader using Raspberry PI
https://github.com/reynico/raspberry-noaa
GNU General Public License v3.0
181 stars 56 forks source link

Hi after install a have error on METEOR-M2 and NOAAs all ok #10

Closed v222008 closed 4 years ago

v222008 commented 4 years ago
INFO : Starting rtl_fm record
sox FAIL formats: can't open output file `/var/www/wx/meteor/audio/METEOR-M220200528-094301.wav': No such file or directory
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 48.00 dB.
Tuner error set to 1 ppm.
Tuned to 137388000 Hz.
Oversampling input by: 4x.
Oversampling output by: 1x.
Buffer size: 7.11ms
Sampling at 1152000 S/s.
Output at 288000 Hz.
Signal caught, exiting!

User cancel, exiting...
INFO : Normalization in progress
sox FAIL formats: can't open input file `/var/www/wx/meteor/audio/METEOR-M220200528-094301.wav': No such file or directory
rm: cannot remove '/var/www/wx/meteor/audio/METEOR-M220200528-094301.wav': No such file or directory
INFO : Demodulation in progress (QPSK)
[FATAL]: Could not find specified file
rm: cannot remove '/var/www/wx/meteor/METEOR-M220200528-094301.wav': No such file or directory
INFO : Decoding in progress (QPSK to BMP)
Input file "/var/www/wx/meteor/METEOR-M220200528-094301.qpsk" not found!
rm: cannot remove '/var/www/wx/meteor/METEOR-M220200528-094301.qpsk': No such file or directory
ERROR : Decoding failed, either a bad pass/low SNR or a software problem
v222008 commented 4 years ago

I think there is not enough stake to create a directory in ~/raspberry-noaa/common.sh

if [ ! -d "${METEOR_OUTPUT}/audio/" ]; then
        mkdir -m 775 -p "${METEOR_OUTPUT}/audio/"
fi
reynico commented 4 years ago

Hi! is the /var/www/wx/meteor/ directory created? Should be created automatically

v222008 commented 4 years ago

All works fine after add

if [ ! -d "${METEOR_OUTPUT}/audio/" ]; then
        mkdir -m 775 -p "${METEOR_OUTPUT}/audio/"
fi

https://www.facebook.com/photo.php?fbid=585891148705674&set=pcb.1489055977944499&type=3&theater&ifg=1

reynico commented 4 years ago

Thanks sir, I've commited the change 428cb2b