Return data works. Just need a reasonable way to get mlat data into the output plugins.
This commit is contained in:
@@ -44,4 +44,3 @@ class CPRBoundaryStraddleError(CPRNoPositionError):
|
||||
class FieldNotInPacket(ParserError):
|
||||
def __init__(self, item):
|
||||
self.item = item
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user