Things are not quite to a usable state, but this gives the basic idea. The waterlevel.py contains a working example that can convert a params dictionary of values into a BitVector. That BitVector needs to be packed into the payload of an AIS Msg 8 (binary message). That code should be coming soon. Requires the BitVector library (tested with version 1.2).
   cd ais
   ./waterlevel.py --verbose --unit-test
Look in waterlevel for the autogenerated epydoc based documentation.

-kurt 30-Nov-2006