Scripts to automagically capture and decode NOAA 15, 18, 18 APT and METEOR-M 2 LRPT images.
Original credit for the scripts goes to haslettj I have used his scripts and heavily modified them for my own use!
These are some poorly written instructions and a list of dependancies to install to get things working. This whole project assumes you are running on Raspbian, using the RTL-SDR.
sudo apt-get update
sudo apt-get install libusb-1.0
sudo apt-get install cmake
sudo apt-get install sox
sudo apt-get install at
sudo apt-get install predict
sudo apt-get install libncurses5-dev libncursesw5-dev
sudo apt-get install git
sudo apt-get install libxft2:armhf
/etc/modprobe.d/no-rtl.conf
With contents:
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
cd ~
wget https://wxtoimgrestored.xyz/beta/wxtoimg-armhf-2.11.2-beta.deb
sudo dpkg -i wxtoimg-armhf-2.11.2-beta.deb
~/.wxtoimgrc
With contents:
Latitude: <Your Latitude>
Longitude: <Your Longitude EAST POSITIVE>
Altitude: 25
To install license key add the following lines to ~/.wxtoimgrc with the proper values: (Optional, unlocks all enhancements. You can find the key on WXtoIMG's restored site.)
Registration Name: Firstname Lastname
Registration Email: Your@email.com
Registration Key: XXXX-XXXX-XXXX-XXXX-XXXX
git clone https://github.com/keenerd/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
sudo make install-udev-rules
git clone https://github.com/dbdexter-dev/meteor_demod.git
cd meteor_demod
make
sudo make install
git clone https://github.com/dbdexter-dev/meteor_decode.git
cd meteor_decode
make
sudo make install
rtl_biast (Optional):
git clone https://github.com/rtlsdrblog/rtl_biast.git
cd rtl_biast
mkdir build
cd build
cmake ..
make
sudo make install
git clone https://github.com/TGYK/rpiWX.git
cd rpiWX/weather/predict
sudo chmod +x *.sh
meteor_rectify (Optional):
git clone https://github.com/dbdexter-dev/meteor_rectify.git
cd meteor_rectify
cp rectify.py ../rpiWX/weather/predict
pip3 install pillow
pip3 install numpy
Once everything is installed, reboot and plug in your RTL-SDR and run rtl_test -p
to test that it is functioning properly. Let it warm up for 10-15 minutes and make a note of the average ppm error value for configuration later.
Set up predict by running it for the first time with the command predict
enter long/lat accordingly. Predict uses north-positive and WEST-positive. Google maps supplies north-positive and EAST-positive. Keep this in mind and do the math.
Run wxtoimg using "wxtoimg" and accept the ToS. Make sure to have created the file at ~/.wxtoimgrc
with your lat/lon EAST-positive.
Make a cron job with crontab -e
and add the following line:
1 0 * * * /home/pi/rpiWX/weather/predict/schedule_all.sh
Rename the config file to just "config" and modify with your options. Add the execute permission to the config file with sudo chmod +x config
.
Optionally, you can kick things off with:
/home/pi/rpiWX/weather/predict/schedule_all.sh