Return data works. Just need a reasonable way to get mlat data into the output plugins.

This commit is contained in:
Nick Foster
2012-12-19 18:47:47 -08:00
parent fd12402462
commit 7f6a3c7779
4 changed files with 40 additions and 51 deletions

View File

@@ -44,4 +44,3 @@ class CPRBoundaryStraddleError(CPRNoPositionError):
class FieldNotInPacket(ParserError):
def __init__(self, item):
self.item = item

View File

@@ -113,7 +113,7 @@ def mlat_iter(stations, prange_obs, guess = [0,0,0], limit = 20, maxrounds = 100
guess += xerr[:3] #we ignore the time error for xguess
rounds += 1
if rounds > maxrounds:
raise Exception("Failed to converge!")
raise MlatNonConvergeError("Failed to converge!")
return (guess, xerr[3])
#func mlat: