Skip to content
/ rpiWX Public

Scripts to automagically capture and decode weather satellites

Notifications You must be signed in to change notification settings

TGYK/rpiWX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

rpiWX

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.

Apt-get

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

May be needed for wxtoimg to run

sudo apt-get install libxft2:armhf

Modify files

New file at:

/etc/modprobe.d/no-rtl.conf

With contents:

blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830

Wget

cd ~
wget https://wxtoimgrestored.xyz/beta/wxtoimg-armhf-2.11.2-beta.deb
sudo dpkg -i wxtoimg-armhf-2.11.2-beta.deb

New file at:

~/.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

Gits

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

rpiWX

git clone https://github.com/TGYK/rpiWX.git
cd rpiWX/weather/predict
sudo chmod +x *.sh

meteor_rectify (Optional):

Assumes you have python3 already installed
Be sure to enable in config!
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

About

Scripts to automagically capture and decode weather satellites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages