Closed andyvan-trabus closed 2 years ago
Note: If you use the decode_ais routine from issue # 204, they still don't decode.
Took a quick look at #204. ais.decode is the thinnest of python support that I could come up with. Most folks who have used this code wrote their own. AIS logging is so different between organizations.
So, what happens when you do this?
ais.decode('85Mr6<1KmhB:VgtfPV9lIf4M31PR000P', 0)
But, looking at https://github.com/schwehr/libais/blob/master/src/libais/ais8.cpp, I don't see 8_367_23, 8_367_24, 8_367_25. If I remember correctly the 367 messages were evolving over time back 10 years ago and difficult to deal with different messages with that were going over VHF. If things have settled down with the spec, let's get a copy of it and work through adding the decoders for those. Should be pretty close to things like Ais8_1_24::Ais8_1_24 and similar.
We can close this issue. Support for these messages has been added.
Note: This specific test case doesn't pass; all but the last one fail with AIS_ERR_BAD_BIT_COUNT.
None of these messages decode using libais. They decode without error in pyais and gpsdecode, and in online decoders at maritec, ais.tbsalling.dk.
Exception: _ais.DecodeError: ais.decode: unknown message - !
Test Code