junzis / pyModeS

Python decoder for Mode S and ADS-B signals
GNU General Public License v3.0
527 stars 151 forks source link

nuc_p calculation and vertical containment radius #99

Closed wrobell closed 2 years ago

wrobell commented 3 years ago

In nuc_p function in pyModeS/decoder/adsb.py:

    if tc in [20, 21]:
        RCv = uncertainty.NA

But in the ICAO document, it says that vertical position error should be 4 and 15 for typecode 20 and 21, it seems?

junzis commented 3 years ago

@wrobell, would you please point out where these are mentioned in the official document? I wasn't able to find it. Thanks.

wrobell commented 3 years ago

Appendix A, page A-7, table: “TYPE” Subfield Code Definitions (DF = 17 or 18)

junzis commented 2 years ago

hi @wrobell, this is finally fixed (bb8f83e). i apologize for taking such a long time :)