Commit Graph

35 Commits

Author SHA1 Message Date
Eric Tran ac7b5759f7
SkyAware HTML/CSS cleanup (#171)
* Remove deprecated dump1090-fa/ html files and update dump1090-fa.install accordingly

* Remove deprecated lighttpd files and update paths/readmes

* SkyAware readme update

* More SkyAware readme updates

* Bump html/css script cache bust versions
2022-02-15 08:58:22 -06:00
eric1tran 42a5c2a978 Update aircraft db to 20211210 2021-12-10 12:57:59 +00:00
Oliver Jowett ae042eeb27 Update aircraft db to 20210817 (Australian registrations & types)
Update public_html db so it's in sync with public_html_merged
2021-08-17 15:03:34 +08:00
eric1tran 2ba2f4da71 Update aircraft db to 20210816 2021-08-16 17:32:24 +00:00
Oliver Jowett c421c31152 Overhaul of message scoring & error correction.
Major changes:

Try to error-correct all messages that potentially could be DF11/17/18
even if the original DF value is different. This allows messages with
correctable damage in the first 5 bits to be correctable.

Track recently-seen DF18 addresses separately to DF17 addresses.
DF18 does not imply Mode S support, so we don't want to treat it like
a known Mode S emitter, but once we've heard some DF18 for an aircraft
we can be more confident about future DF18 messages for the same
address.

Rework the scoring system so it's just a big enum that lists all the
possible outcomes in the order that we want. This makes the relative
ordering of different messages clearer, and makes it easier to move
messages above/below the accept thresholds as needed.

Don't accept 2-bit-error-corrected messages that are from aircraft we
have not previously seen. This greatly reduces the number of garbage
messages when using 2-bit error correction.

Overall results are:

 * more CPU required for decoding (approx 30% increase in my tests)
   as we're doing a lot more speculative CRC-checking work
 * no significant change to message rates with error correction off
 * about 5% more 1-bit-corrected DF17 decodes, with a
   disproportionate increase in those messages contributing to
   successful position decodes / unique aircraft counts
 * _fewer_ decodes with 2-bit correction (versus old code with 2-bit
   correction), but the message quality is substantially improved,
   the rate of garbage decodes / phantom aircraft is greatly reduced

sample stats:

1-bit correction, old code:
    141158 total usable messages
    137852 accepted with correct CRC
      3306 accepted with 1-bit error repaired
     27446 DF17 messages
        51 unique aircraft tracks

1-bit correction, new code:
    141296 total usable messages
    137854 accepted with correct CRC
      3442 accepted with 1-bit error repaired
     27528 DF17 messages
        55 unique aircraft tracks

2-bit correction, old code:
    142656 total usable messages
    137809 accepted with correct CRC
      3283 accepted with 1-bit error repaired
      1564 accepted with 2-bit error repaired
     28803 DF17 messages
       349 unique aircraft tracks (<- note that most of these are garbage)

2-bit correction, new code:
    142426 total usable messages
    137822 accepted with correct CRC
      3420 accepted with 1-bit error repaired
      1184 accepted with 2-bit error repaired
     28666 DF17 messages
        55 unique aircraft tracks
2021-02-09 20:10:55 +08:00
Eric Tran 3167459bfc Update README with current compressed csv file 2020-09-24 06:10:58 +00:00
Eric Tran 398728439b Update aircraft db to 20200924 2020-09-24 06:01:36 +00:00
Oliver Jowett 81e6f680ee Update aircraft db to 20191216 2019-12-16 10:22:46 -06:00
Oliver Jowett 6a0df00e2d Update aircraft DB to 20190816.
In addition to the usual updated data, this update fixes a number
of ICAO type designator errors in the FlightAware static data
export (notably for the A330).

Fixes #17
2019-08-16 15:42:01 +08:00
Oliver Jowett 35299c47ba Have filter-regs emit a special value "-COMPUTED-" for filtered data values,
rather than blanking them out entirely.

This lets csv-to-json.py handle the case where an earlier input file has (e.g.)
a registration value which does not match the computed value, and then a later
input file has a value that does match. In this case we want to override the
older value with the newer value, then notice that the registration can be
omitted when writing the database. Previously in this case the older (incorrect)
value would be used.
2019-08-16 15:16:55 +08:00
Oliver Jowett 930e158208 Update aircraft DB to 20190502 2019-05-02 18:54:59 +08:00
Oliver Jowett 6c055c8c23 Update aircraft db docs 2018-07-24 17:31:43 +01:00
Oliver Jowett 1caabc5ad8 Update FlightAware registry data export; regenerate json db. 2018-07-20 21:14:23 +01:00
Oliver Jowett 02b9e635b5 Update FlightAware aircraft data export. 2017-04-03 17:52:14 +01:00
Oliver Jowett f2872d6c15 Update FlightAware static data export, regenerate the aircraft DB. 2017-01-12 13:52:22 +00:00
Oliver Jowett d3fad32d5e Merge remote-tracking branch 'upstream/master' into dev 2016-10-14 21:35:31 +01:00
Oliver Jowett edb1eaeee2 Add the source file for the flightaware static data export. 2016-10-05 00:36:05 +01:00
Oliver Jowett 344415b91f Add a port-30003 regression diff script. 2016-10-02 13:27:13 +01:00
Oliver Jowett 812e4486a4 Merge remote-tracking branch 'upstream/master' into dev 2016-10-01 15:18:26 +01:00
Oliver Jowett 197fb2625a Tool to replay beast captures with the right inter-message timing. 2016-10-01 15:06:02 +01:00
Oliver Jowett 77ae0387ea Increase the DB block size. 2016-09-14 22:09:24 +01:00
Oliver Jowett 69031408f3 Add filtering of icao type descriptions / wtc based on descriptor. 2016-09-14 19:06:51 +01:00
Oliver Jowett 65a0f7f963 Compress vrs.csv since it's basically readonly. 2016-09-10 17:43:10 +01:00
Oliver Jowett 2a3e4a0a0d Support reading multiple CSVs in csv-to-json.py 2016-09-10 17:26:55 +01:00
Oliver Jowett f45430e3b5 Warn about CSV mismatches in filter-regs.js 2016-09-10 17:26:36 +01:00
Oliver Jowett d1a33f4655 Add a script that filters redundant registrations from the json db 2016-09-10 15:54:59 +01:00
Oliver Jowett 158a8298fc Rearrange json DB stuff so it can work with CSV input. 2016-08-27 16:13:10 +01:00
Oliver Jowett b2aaa23984 Remove the last vestiges of the update-aircraft-db cronjob. 2016-07-10 12:22:32 +01:00
Oliver Jowett 976dc44d11 Regenerate the ICAO ranges table based on data extracted from Annex 10. 2015-09-01 14:21:25 +01:00
Oliver Jowett e8ad60de6b Making progress output a bit friendlier. 2015-02-25 13:51:28 +00:00
Oliver Jowett 60eab2284f Package changes to support the aircraft DB. 2015-02-25 13:16:54 +00:00
Oliver Jowett 8209267301 Avoid creating small child blocks, keep data in the parent where possible.
This reduces the number of blocks from 151 to 61.
2015-02-24 23:04:26 +00:00
Oliver Jowett da2fff8531 Proof of concept for an aircraft metadata DB. 2015-02-24 21:51:30 +00:00
antirez 13596ba3dd A few bugs fixed in debug.html. 2013-01-27 21:42:40 +01:00
antirez c2e79d4555 Many small improvements (see full commit message).
* Better preamble detection to skip most of the messages we'll likely
  not be able to decode.

* A Phase correction algorithm that improves the recognition compared
  to the previous algorithm used.

* Javascript output in debug mode, and a debug.html file that can be
  used in order to see graphically undecoded samples.

* Ability to detect cross-read messages, that are, messages that happen
  to start and end across two different reads from the device or file.

* A few bugx fixed.

* README improved.
2013-01-26 01:08:13 +01:00