Package ais :: Module ais_positions
[hide private]
[frames] | no frames]

Module ais_positions

source code

Get the name and mmsi (User ID) for each msg 5 identification message.

This program requires that the nmea strings be sorted such that the 2nd part of the message comes directly after the first. You can do this by grepping for the USCG N-AIS station name. This will prevent interleaving of msg 5 nmea strings.


Requires:

Author: xmlbinmsg

Version: 4791

Status: under development

License: GPL

Functions [hide private]
  dist(lon1, lat1, lon2, lat2)
  getPosition(logfile, outfile, minDist=None)

Variables [hide private]
  __date__ = '2007-01-02'
Date of last svn commit
  outfile = file(options.outputFileName, 'w')

Function Details [hide private]

dist(lon1, lat1, lon2, lat2)

source code 
None

getPosition(logfile, outfile, minDist=None)

source code 
None

Variables Details [hide private]

__date__

Date of last svn commit
Value:
'2007-01-02'                                                           
      

outfile

None
Value:
file(options.outputFileName, 'w')