1
2
3 __version__ = '$Revision: 4791 $'.split()[1]
4 __date__ = '$Date: 2007-02-26 $'.split()[1]
5 __author__ = ''
6
7 __doc__='''
8
9 Hand coded utilities for ais ship and cargo messages (msg #5).
10
11 The main goal for the initial version is to help decode the
12 complicated type of ship and cargo 8 bit table (Table 18 in ITU-R M.1371-1).
13
14 @requires: U{epydoc<http://epydoc.sourceforge.net/>} > 3.0alpha3
15
16 @author: U{'''+__author__+'''<http://schwehr.org/>}
17 @version: ''' + __version__ +'''
18 @var __date__: Date of last svn commit
19 @undocumented: __version__ __author__ __doc__ parser
20 @status: under development
21 @license: GPL v2
22 @since: 2007-Mar-04
23 '''
24
25
27 '''
28 Is the vessel classified as a tanker? This is true if the first digit is 8.
29 @rtype: bool
30 '''
31 if str(value)[0]=='8': return True
32 return False
33