-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid data #56
Comments
@tkurki wouldn't this be better to handle at server level, e.g. removing/nullifying data points as the data get's stale (and parsers not sending anything at all)? Currently, in development branch, I'm not emitting values for "empty" sentences - making sure that the parser doesn't choke on them and assuming we'll handle this in whatever receives the data from the parser. |
The idea here is to distinguish between not getting any data and getting data but it is not valid. For example if a depth sounder drops off (no more data received) no more deltas will be sent and you can tell from the timestamp that the data is stale. We can define a way in But that is not the point here: we need a way for the sensor to indicate that comms and everything else is working ok, but there is something wrong with the data - and the ability to remove the value from for example a client's display. If the depth sounder loses bottom fix it needs to be able to remove the past value from connected clients (send value as null) and full model. If the parser ignores this type of incoming data none of this is possible. |
Okay, makes sense. Thanks |
Sometimes AIS has a |
Yes and no - this is both a global issue but fixes are per sentence afai can tell. Are you looking into the AIS issue @webmasterkai? |
There are several explicit cases where a sensor can indicate that it is otherwise operational but can not produce vali ddata. Example cases are a depth sounder that can not discern bottom from the echo data and a GNSS that has no satellite fix.
In these cases a gateway/server will typically receive a message indicating invalid data. It must send out a delta message where the value of the data item is null and serve the value as null in the REST api.
The text was updated successfully, but these errors were encountered: