schwehr / libais

C++ decoder for Automatic Identification System for tracking ships and decoding maritime information
Other
215 stars 94 forks source link

air_pressor_type is an odd name #230

Open andyvan-trabus opened 2 years ago

andyvan-trabus commented 2 years ago

I noticed the following name in the code for AIS8_1_26_SENSOR_WX:

DictSafeSetItem(rpt_dict, "air_pressor_type", rpt->air_pressor_type);

This seems to be the field which is "Air Pressure Sensor Data Description" in a similar section of EM Version Release 3-23MAR15.pdf, which is the spec for the AIS 8:367:33 message.

I don't know whether this is a typo or not, but it could be clearer to the user what it is.