plane-watch / pw-pipeline

Takes in ADSB information and churns out JSON
https://plane.watch
GNU General Public License v3.0
8 stars 1 forks source link

Introduce an "ads-c" mode into pw_ingest. #197

Closed bluntelk closed 1 year ago

bluntelk commented 1 year ago

When the --ads-c flag (or ADS_C env var) is set we will repeat the last message from an aircraft every 30 seconds up to 1 hour

only use this mode when you have very infrequent updates

This is a simple implementation with no interpolation or guessing of location

closes #194

tardoe commented 1 year ago

@bluntelk does this avoid updating the lastMsg column on the repeat? So we still have a representation of when the last true message was?

bluntelk commented 1 year ago

@bluntelk does this avoid updating the lastMsg column on the repeat? So we still have a representation of when the last true message was?

No, this is purely in pw_ingest and it does a simple injection of a repeat frame before processing.

shaneshort commented 1 year ago

the only note I would make is a suggestion for a flag on the regenerated frames so we don't store them in clickhouse needlessly.