Would be very similar to https://mode-s.org/jet1090 Maybe there's a smart way to factorise it? (@abc8747 any idea?)