schwehr/libais

View on GitHub
test/data/tagblock.json

Summary

Maintainability
Test Coverage
{"slot_timeout": 3, "tagblock_T": "2014-12-10 00.41.53", "scaled": true, "course": 224.60000610351562, "second": 51, "speed": 1.2000000476837158, "tagblock_q": "u", "tagblock_timestamp": "2014-12-10T00:41:53.000000Z", "lon": -161.88265991210938, "type": 1, "accuracy": false, "status": 7, "maneuver": 0, "repeat": 0, "sync_state": 0, "timestamp": "2014-12-10T00:41:53.000000Z", "mmsi": 224651000, "raim": false, "spare": 0, "device": "stdin", "class": "AIS", "received_stations": 0, "lat": -5.277916431427002, "tagblock_station": "rORBCOMM104", "turn": 0.0, "status_text": "Engaged in fishing", "heading": 155}
{"tagblock_group": {"groupsize": 2, "id": 1604, "sentence": 1}, "tagblock_T": "2014-12-10 00.00.01", "to_port": 3, "to_bow": 9, "scaled": true, "tagblock_station": "rORBCOMM008", "callsign": "XPD5019", "shiptype": 0, "to_starboard": 0, "tagblock_timestamp": "2014-12-10T00:00:01.000000Z", "ais_version": 0, "destination": "", "imo": "0", "shiptype_text": "Not available", "type": 5, "repeat": 0, "draught": 0.0, "timestamp": "2014-12-10T00:00:01.000000Z", "mmsi": 219005012, "epfd": 1, "spare": 0, "device": "stdin", "class": "AIS", "to_stern": 3, "shipname": "ROSINANTE", "epfd_text": "GPS", "dte": 1}
{"slot_timeout": 3, "tagblock_T": "2014-12-10 00.35.22", "scaled": true, "course": 221.3000030517578, "second": 21, "speed": 1.100000023841858, "tagblock_q": "u", "tagblock_timestamp": "2014-12-10T00:35:22.000000Z", "lon": -161.8813934326172, "type": 1, "accuracy": false, "status": 7, "maneuver": 0, "repeat": 0, "sync_state": 0, "timestamp": "2014-12-10T00:35:22.000000Z", "mmsi": 224651000, "raim": false, "spare": 0, "device": "stdin", "class": "AIS", "received_stations": 0, "lat": -5.276533126831055, "tagblock_station": "rORBCOMM007", "turn": 0.0, "status_text": "Engaged in fishing", "heading": 156}
{"slot_timeout": 1, "tagblock_T": "2014-12-10 00.32.41", "scaled": true, "course": 222.89999389648438, "second": 41, "utc_min": 32, "speed": 1.2000000476837158, "tagblock_q": "u", "tagblock_timestamp": "2014-12-10T00:32:41.000000Z", "lon": -161.88087463378906, "type": 1, "accuracy": false, "status": 7, "maneuver": 0, "repeat": 0, "sync_state": 0, "timestamp": "2014-12-10T00:32:41.000000Z", "mmsi": 224651000, "raim": false, "spare": 0, "utc_spare": 0, "device": "stdin", "class": "AIS", "lat": -5.2759833335876465, "tagblock_station": "rORBCOMM007", "utc_hour": 0, "turn": 0.0, "status_text": "Engaged in fishing", "heading": 151}