This isn’t really directly related to the previous plotting script, but this thread is a bit of a dumping ground for my stuff so it’s going here.
I quite like the hourly received reports plot on the FA stats page but it only shows the previous week:

I wanted something that covered a bit longer and in a bit more detail, so I decided to try and make something that did that. This uses data that is already collected and stored by graphs1090 so doesn’t require any other services running to work.
The graphs1090 rrds hold ~1 month of data at 15 minute resolution so that’s what is being used here. Data plotted is message rate (local and remote combined), total aircraft visible, mlat aircraft visible and range:
The range plot is intended to show the difference from the average maximum range. White is average, more intense red is longer range than average and blue is shorter. I don’t like how it looks that much so I’ll probably change it when I find a palette I prefer. The dark line on 22nd May is some missing data which wasn’t written to disk when I managed to crash the pi.
If anyone wants to try it, the script is here: adsbcompare/monthplot.py at master · caiusseverus/adsbcompare · GitHub
or you can do:
wget https://raw.githubusercontent.com/caiusseverus/adsbcompare/master/monthplot.py
Create a directory in /usr/share/skyaware/html called plots and either make it writeable as that’s where the files are saved, or run the script using sudo. It will allow you to see the output via web browser. The address is:
<ip of pi>/skyaware/plots/heatmaps.html
If you want it to output elsewhere there is a variable at the top of the script to set the location.
The script requires pandas and seaborn, so if you don’t have them installed do:
sudo apt install python3-seaborn
or
pip3 install seaborn
I’m not sure if the raspberry pi has binaries available via pip, so it might be preferable to use the apt method, or it will take long time to compile.
Then to run it:
python3 monthplot.py




