summaryrefslogtreecommitdiff
path: root/test/sample.aivdm
diff options
context:
space:
mode:
Diffstat (limited to 'test/sample.aivdm')
-rw-r--r--test/sample.aivdm523
1 files changed, 523 insertions, 0 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm
new file mode 100644
index 00000000..ac8d56ff
--- /dev/null
+++ b/test/sample.aivdm
@@ -0,0 +1,523 @@
+# Sample AIVDM data sentences provided from real data by Kurt Schwehr
+# Mike Greene, Neal Arundale, and AISHub.
+#
+# The text dumps following are (mostly) produced by the parsers in
+# Kurt's noaadata.py toolkit, and are here so they can be eyeball-checked
+# against gpsdecode's output.
+#
+# Type 1:
+!AIVDM,1,1,,A,15RTgt0PAso;90TKcjM8h6g208CQ,0*4A
+# MessageID: 1
+# RepeatIndicator: 0
+# UserID: 371798000
+# NavigationStatus: 0
+# ROT: -127
+# SOG: 12.3
+# PositionAccuracy: 1
+# longitude: -123.395383333
+# latitude: 48.38163333333
+# COG: 224
+# TrueHeading: 215
+# TimeStamp: 33
+# RegionalReserved: 0
+# Spare: 0
+# RAIM: False
+# state_syncstate: 0
+# state_slotoffset: 4252
+#
+# Type 1:
+!AIVDM,1,1,,A,16SteH0P00Jt63hHaa6SagvJ087r,0*42
+# MessageID: 1
+# RepeatIndicator: 0
+# UserID: 440348000
+# NavigationStatus: 0
+# ROT: -128
+# SOG: 0
+# PositionAccuracy: 0
+# longitude: -70.7582
+# latitude: 43.08015
+# COG: 93.4
+# TrueHeading: 511
+# TimeStamp: 13
+# RegionalReserved: 0
+# Spare: 0
+# RAIM: False
+# state_syncstate: 0
+# stare_slottimeout: 2
+# state_slotoffset: 506
+#
+# Type 2:
+# Kurt says 2 is really uncommon. I had to regenerate the CRC32
+# for this one myself, it was missing in Kurt's original.
+!AIVDM,1,1,,B,25Cjtd0Oj;Jp7ilG7=UkKBoB0<06,0*60
+# MessageID: 2
+# RepeatIndicator: 0
+# UserID: 356302000
+# NavigationStatus: 0
+# ROT: 127
+# SOG: 13.9
+# PositionAccuracy: 0
+# longitude: -71.62614333333333333333333333
+# latitude: 40.39235833333333333333333333
+# COG: 87.7
+# TrueHeading: 91
+# TimeStamp: 41
+# RegionalReserved: 0
+# Spare: 0
+# RAIM: False
+# state_syncstate: 0
+# state_slottimeout: 3
+# state_slotoffset: 6
+#
+# Type 3:
+!AIVDM,1,1,,A,38Id705000rRVJhE7cl9n;160000,0*40
+# MessageID: 3
+# RepeatIndicator: 0
+# UserID: 563808000
+# NavigationStatus: 5
+# ROT: 0
+# SOG: 0
+# PositionAccuracy: 1
+# longitude: -76.32753333333333333333333333
+# latitude: 36.91
+# COG: 252
+# TrueHeading: 352
+# TimeStamp: 35
+# RegionalReserved: 0
+# Spare: 0
+# RAIM: False
+# state_syncstate: 0
+# state_slottimeout: 0
+# state_slotoffset: 0
+#
+# Type 4:
+!AIVDM,1,1,,A,403OviQuMGCqWrRO9>E6fE700@GO,0*4D
+# MessageID: 4
+# RepeatIndicator: 0
+# UserID: 3669702
+# Time_year: 2007
+# Time_month: 5
+# Time_day: 14
+# Time_hour: 19
+# Time_min: 57
+# Time_sec: 39
+# PositionAccuracy: 1
+# Position_longitude: -76.35236166666666666666666667
+# Position_latitude: 36.88376666666666666666666667
+# fixtype: 7
+# Spare: 0
+# RAIM: False
+# state_syncstate: 0
+# state_slottimeout: 4
+# state_slotoffset: 1503
+#
+# Type 5:
+# From Kurt Schwehr
+!AIVDM,2,1,1,A,55?MbV02;H;s<HtKR20EHE:0@T4@Dn2222222216L961O5Gf0NSQEp6ClRp8,0*1C
+!AIVDM,2,2,1,A,88888888880,2*25
+# MessageID: 5
+# RepeatIndicator: 0
+# UserID: 351759000
+# AISversion: 0
+# IMOnumber: 9134270
+# callsign: 3FOF8
+# name: EVER DIADEM
+# shipandcargo: 70
+# dimA: 225
+# dimB: 70
+# dimC: 1
+# dimD: 31
+# fixtype: 1
+# ETAminute: 0
+# ETAhour: 16
+# ETAday: 15
+# ETAmonth: 5
+# draught: 12.2
+# destination: NEW YORK
+# dte: 0
+# Spare: 0
+#
+# Type 6:
+# From Kurt Schwehr
+# Text decode for this one came from regrouping the binary data dump from Kurt's
+# ais_msg_6.py on one of his test sentences. It's unknown what's in the binary
+# data block.
+!AIVDM,1,1,,B,6B?n;be:cbapalgc;i6?Ow4,2*4A
+# MessageID: 6
+# RepeatIndicator: 1
+# UserID: 150834090
+# SeqNum: 3
+# DestinationID: 313240222
+# RetransmitFlag: False
+# Spare: 0
+# ApplicationID: 42827
+# Data: 50:3acbc463dffc4
+#
+# Type 7:
+# From Kurt Schwehr
+!AIVDM,1,1,,A,7IiQ4T`UjA9lC;b:M<MWE@,4*01
+# SourceMMSI: 655901842
+# MMSI1: 158483613
+# MMSI2: 321823389
+# MMSI3: 836359488
+# MMSI4: 0
+#
+# Type 7:
+# This was from Mike Greene and had a dump attached.
+!AIVDM,1,1,,B,7`0Pv1L:Ac8rbgPKHA8`P,2*56
+# Message Type: 7
+# RepeatIndicator: 2
+# SourceMMSI: 537411077
+# MMSI1: 43101326
+# MMSI2: 717096664
+# MMSI3: 76161024
+#
+# Type 8:
+# Text decode for this one came from regrouping the binary data dump from Kurt's
+# ais_msg_8.py on one of his test sentences. It's unknown what's in the binary
+# data block.
+!AIVDM,1,1,,A,85Mwp`1Kf3aCnsNvBWLi=wQuNhA5t43N`5nCuI=p<IBfVqnMgPGs,0*47
+# MessageID: 8
+# RepeatIndicator: 0
+# UserID: 366999712
+# ApplicationID: 23480
+# Data: 256:3a53dbb7be4a773137f87d7b0445f040dea05d93f593783194ae9b9d9dbe05fb
+#
+# Type 8:
+# From Mike Greene
+!AIVDM,2,1,6,B,85MwpIiKf6<M7FdjukGh=9B73IpCcMckto=3DlNcU6:,0*04
+!AIVDM,2,2,5,A,?59R6P573,0*25
+# Message Type: 8
+# Repeat Indicator: 0
+# MMSI: 366999655
+# Application ID: 23480
+# Binary Data: 256:631d1d6b32f735f03494870d9e13addaf3f373435347ab94628f1498868051c3
+#
+# Type 9:
+# From Kurt Schwehr
+# This sentence is slightly malformed -- extra data at the end.
+!AIVDM,1,1,,B,9wsh:3?h>TdcWHftni=J0d5fs?8WT852,5*74
+# MessageID: 9
+# RepeatIndicator: 3
+# UserID: 1069287948
+# Altitude: 4032
+# SOG: 932
+# PositionAccuracy: 1
+# Position_longitude: 177.3000916666666666666666667
+# Position_latitude: 106.353155
+# COG: 256.2
+# TimeStamp: 48
+# Reserved: 0
+# DTE: True
+# Spare: 0
+# RAIM: True
+# state_syncstate: 2
+# state_slottimeout: 3
+# state_slotoffset: 12839
+#
+# Type 10:
+# From Kurt Schwehr
+!AIVDM,1,1,,B,:5MlU41GMK6@,0*6C
+# MessageID: 10
+# RepeatIndicator: 0
+# UserID: 366814480
+# Spare1: 0
+# DestID: 366832740
+# Spare2: 0
+#
+# Type 10:
+# From Mike Greene
+!AIVDM,1,1,,B,:6TMCD1GOS60,0*5B,s36310,d-081,T59.01777335
+# Message Type: 10
+# Repeat Indicator: 0
+# MMSI: 440882000
+# Destination MMSI: 366972000
+#
+# Type 11:
+# From Kurt Schwehr
+# Message has Coast Guard extended fields following
+!AIVDM,1,1,,B,;4R33:1uUK2F`q?mOt@@GoQ00000,0*5D,s28089,d-103,T39.44353985,x147521,r08TPHI1,1242958962
+# MessageID: 11
+# RepeatIndicator: 0
+# UserID: 304137000
+# Time_year: 2009
+# Time_month: 5
+# Time_day: 22
+# Time_hour: 2
+# Time_min: 22
+# Time_sec: 40
+# PositionAccuracy: 1
+# Position_longitude: -94.40768333333333333333333333
+# Position_latitude: 28.40911666666666666666666667
+# fixtype: 1
+# Spare: 0
+# RAIM: False
+# state_syncstate: 0
+# state_slottimeout: 0
+# state_slotoffset: 0
+#
+# Type 12:
+# From AIS Hub via Neal Arundale. Dumps by ais.py.
+!AIVDM,1,1,,A,<02:oP0kKcv0@<51C5PB5@?BDPD?P:?2?EB7PDB16693P381>>5<PikP,0*37
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 2275200
+# Sequence Number : 0
+# Destination MMSI : 215724000
+# Retransmit flag : 0
+# Text : PLEASE REPORT TO JOBOURG TRAFFIC CHANNEL 13
+!AIVDM,1,1,,A,<5?SIj1;GbD07??4,0*38
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 351853000
+# Sequence Number : 0
+# Destination MMSI : 316123456
+# Retransmit flag : 0
+# Text : GOOD
+!AIVDM,1,1,,A,<5?SIj5Cp;NPD81>H0,4*4C
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 351853000
+# Sequence Number : 1
+# Destination MMSI : 351809000
+# Retransmit flag : 0
+# Text : THANX
+!AIVDM,1,1,,A,<42Lati0W:Ov=C7P6B?=Pjoihhjhqq0,2*2B
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 271002099
+# Sequence Number : 0
+# Destination MMSI : 271002111
+# Retransmit flag : 1
+# Text : MSG FROM 271002099
+!AIVDM,1,1,,A,<CR3B@<0TO3j5@PmkiP31BCPphPDB13;CPihkP=?D?PmP3B5GPpn,0*3A
+# Message Type : 12
+# Repeat Indicator : 1
+# MMSI : 237032000
+# Sequence Number : 3
+# Destination MMSI : 2391100
+# Retransmit flag : 1
+# Text : EP 531 CARS 80 TRACKS 103 MOTO 5 CREW 86
+!AIVDM,1,1,,A,<9NS8O1ROcS0>9P81?f31<<PD5CD,0*46
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 636012668
+# Sequence Number : 0
+# Destination MMSI : 413118000
+# Retransmit flag : 0
+# Text : NI HAO.CALL TEST
+# From AISHub
+!AIVDM,2,1,1,A,<39KdV8jIGtP7E4P@=PjEP>P81@9P>5GPI9BP?<P4P25CP6B=P1<P6E:19B1,0*02
+!AIVDM,2,2,1,A,80,4*1B
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 211217560
+# Sequence Number : 2
+# Destination MMSI : 211378120
+# Retransmit flag : 0
+# Text : GUD PM 2U N HAPI NEW YIR OL D BES FRM AL FUJAIRAH
+# Type 13:
+# From AISHub. This message was shipped to acknowledge the last type 12 and is
+# verified by the fact that the MMSI fields are right.
+!AIVDM,1,1,,A,=39UOj0jFs9R,0*65
+# Message Type : 13
+# Repeat Indicator : 0
+# MMSI : 211378120
+# MMSI number 1 : 211217560
+#
+# Type 14:
+# From AIS Hub via Neal Arundale. Dumps by ais.py.
+!AIVDM,1,1,,A,>5?Per18=HB1U:1@E=B0m<L,2*51
+# Message Type : 14
+# Repeat Indicator : 0
+# MMSI : 351809000
+# Text : RCVD YR TEST MSG
+!AIVDM,1,1,,A,>3R1p10E3;;R0USCR0HO>0@gN10kGJp,2*7F
+# Message Type : 14
+# Repeat Indicator : 0
+# MMSI : 237008900
+# Text : EP228 IX48 FG3 DK7 PL56.
+!AIVDM,1,1,,A,>4aDT81@E=@,2*2E
+# Message Type : 14
+# Repeat Indicator : 0
+# MMSI : 311764000
+# Text : TEST
+#
+# Type 15:
+# From Mike Greene
+!AIVDM,1,1,,A,?5OP=l00052HD00,2*5B
+# Message Type: 15
+# Repeat Indicator: 0
+# MMSI: 368578000
+# Destination MMSI: 5158
+# First Message Type: 5
+# First Slot Offset: 0
+#
+# Type 18:
+# From Kurt Schwehr
+# I had to regenerate the CRC32 for this one myself, it was missing
+# in Kurt's original.
+!AIVDM,1,1,,A,B52K>;h00Fc>jpUlNV@ikwpUoP06,0*4C
+# MessageID: 18
+# RepeatIndicator: 0
+# UserID: 338087471
+# Reserved1: 0
+# SOG: 0.1
+# PositionAccuracy: 0
+# longitude: -74.07213166666666666666666667
+# latitude: 40.68454
+# COG: 79.6
+# TrueHeading: 511
+# TimeStamp: 49
+# RegionalReserved: 0
+# Spare: 0
+# RAIM: True
+# CommStateSelector: 1
+# CommState: 393222
+# Type 18:
+# From Kurt Schwehr
+!AIVDM,1,1,,A,B52KB8h006fu`Q6:g1McCwb5oP06,0*00
+# MessageID: 18
+# RepeatIndicator: 0
+# UserID: 338088483
+# Reserved1: 0
+# SOG: 0
+# PositionAccuracy: 0
+# longitude: -70.8111966
+# latitude: 43.11555833
+# COG: 171.6
+# TrueHeading: 511
+# TimeStamp: 20
+# RegionalReserved: 0
+# Spare: 0
+# RAIM: True
+# CommStateSelector: 1
+# CommState: 393222
+# Type 18:
+# From Kurt Schwehr
+!AIVDM,1,1,,B,B5O6hr00<veEKmUaMFdEow`UWP06,0*4F
+# Message Type: 18
+# Repeat Indicator: 0
+# MMSI: 368161000
+# Speed Over Ground: 51
+# Position Accuracy: 1
+# Longitude: -72.2338483333
+# Latitude: 39.480925
+# Course Over Ground: 349
+# True Heading: 511
+# Time Stamp: 17
+# CS Unit: 1
+# Display Flag: 0
+# DSC Flag: 1
+# Band Flag: 1
+# Message 22 Flag: 0
+# Assigned-Mode Flag: 0
+# RAIM: 1
+# Sync State: 3
+# Slot Time-Out: 0
+# Sub Message: 6
+#
+# Type 19:
+# From Mike Greene
+!AIVDM,1,1,,B,C5N3SRgPEnJGEBT>NhWAwwo862PaLELTBJ:V00000000S0D:R220,0*0B
+# MessageID: 19
+# RepeatIndicator: 0
+# UserID: 367059850
+# Spare: 0
+# SOG: 8.7
+# PositionAccuracy: 0
+# longitude: -88.8103916667
+# latitude: 29.543695
+# COG: 335.9
+# TrueHeading: 511
+# TimeStamp: 46
+# Spare2: 0
+# name: CAPT.J.RIMES
+# shipandcargo: 70
+# dimA: 5
+# dimB: 21
+# dimC: 4
+# dimD: 4
+# fixtype: 1
+# RAIM: False
+# DTE: 0
+# Spare3: 0
+#
+# Type 20 (1 offset)
+# From Mike Greene
+!AIVDM,1,1,,A,Dh3OvjB8IN>4,0*1D
+# Message Type: 20
+# Repeat Indicator: 3
+# MMSI: 3669705
+# Offset 1: 2182
+# Reserved Slots 1: 5
+# Timeout 1: 7
+# Increment 1: 225
+#
+# Type 20 (3 offsets):
+# From Mike Greene
+!AIVDM,1,1,,B,D030p8@2tN?b<`O6DmQO6D0,2*5D
+# Message Type: 20
+# Repeat Indicator: 0
+# MMSI: 3160097
+# Offset 1: 47
+# Reserved Slots 1: 1
+# Timeout 1: 7
+# Increment 1: 250
+# Offset 2: 2250
+# Reserved Slots 2: 1
+# Timeout 2: 7
+# Increment 2: 1125
+# Offset 3: 856
+# Reserved Slots 3: 5
+# Timeout 3: 7
+# Increment 3: 1125
+#
+# Type 21:
+# Has a Name Extension field
+# From Mike Greene
+!AIVDM,2,1,5,B,E1mg=5J1T4W0h97aRh6ba84<h2d;W:Te=eLvH50```q,0*46
+!AIVDM,2,2,5,B,:D44QDlp0C1DU00,2*36
+# Message Type: 21
+# Repeat Indicator: 0
+# MMSI: 123456789
+# Aid Type: 20
+# Name: CHINA ROSE MURPHY EXPRESS ALERT
+# Position Accuracy: 0
+# Longitude: -122.698591667
+# Latitude: 47.9206183333
+# Dimension to Bow: 5
+# Dimension to Stern: 5
+# Dimension to Port: 5
+# Dimension to Starboard: 5
+# Type of EPFD: GPS
+# UTC Second: 50
+# Off-Position Indicator: 0
+# Regional Reserved: 165
+# RAIM Flag: 0
+# Virtual-Aid Flag: 0
+# Assigned-Mode Flag: 0
+#
+# Type 24:
+# One pair of type A and Type B messages. Note, these have Coast Guard
+# extended fields after them.
+!AIVDM,1,1,,B,H5NHcTP<51@4TrM>10584@U<D00,2*77,x337805,b003669710,1241895000
+# MessageID: 24
+# RepeatIndicator: 0
+# UserID: 367405970
+# partnum: 0
+# name: CAPTAIN`S PARADISE
+!AIVDM,1,1,,B,HU2K5NTn13BijklG44oppk103210,0*06,s23294,d-114,T44.21624911,x731910,r13RSMT1,1241894986
+# MessageID: 24
+# RepeatIndicator: 2
+# UserID: 338085242
+# partnum: 1
+# shipandcargo: 54
+# vendorid: ACR1234
+# callsign: WDD7883
+# dimA: 8
+# dimB: 3
+# dimC: 2
+# dimD: 1
+# mothership: 16789633
+# spare: 0