Open digitlength opened 1 year ago
You can use polar.sh without having timelapse1090 installed, but it will collect the data as it goes according to the parameters on the command line.
Eg, ./polar.sh 120 5
will collect data for 120 minutes at 5 second intervals.
You can't use data from polar.sh in compare.sh directly because the format is different. polar.sh uses snapshots of data from each aircraft. For each time interval it takes the data contained in the aircraft.json produced by dunp1090 and uses it directly.
Compare.sh uses an extract of data from the rrd databases used by graphs1090 and collectd. This is aggregate data like number of aircraft and messages etc. so you'd have to summarise data from polar.sh before you could use it.
It might be possible, but in not sure it's worth it.
You can use polar.sh without having timelapse1090 installed
Indeed - I'm currently using it 👍
It might be possible, but in not sure it's worth it.
The main advantage - for me, admittedly - is that polar.sh
can collect data from a different device. Conversely, compare.sh
must be executed on the same device as graphs1090
, as I understand it - without modification it can't collect data from a different device.
I appreciate the response, and thanks for sharing the scripts - the images produced are very pretty!
Setups that don't use the
timelapse
feature of tar1090 can't usecompare.sh
(as I understand it).However, presumably the right data is being collected by
polar.sh
- couldcompare.sh
be modified to accept two (bonus: or more)polarheatmap-YYYY-MM-DD
files with which to perform the comparisons?