diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/sample.aivdm | 59 | ||||
-rw-r--r-- | test/sample.aivdm.chk | 1 | ||||
-rw-r--r-- | test/synthetic-ais.json | 1 |
3 files changed, 57 insertions, 4 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm index fc9bed6f..a12dc169 100644 --- a/test/sample.aivdm +++ b/test/sample.aivdm @@ -266,7 +266,7 @@ # scaled parameter value, and CS the checksum). The resulting AIVDO # sentence has been decoded using the Kanaton software. Sent data, # kanaton decoder output and gpsd JSON output all match each other. -# +!AIVDO,1,1,4,B,8>jR06@0Bk3:wOli;<`WPhh<1rqVBQf2V@Pdt0J82avIM2b<<Rv1t<ot=@1,2*54 # "18/05/2012 18:15:37" !AIVDO,1,1,4,B,8>jR06@0Bk3:wOli;<`WPhh<1rqVBQf2V@Pdt0J82avIM2b<<Rv1t<ot=@1,2*54 # AIS channel:1 # Message ID=8 @@ -312,12 +312,13 @@ # Precipitation=0x6(6 according to WMO) # Salinity=0x35(5.3 permil) # Ice=0x0(0) -!AIVDO,1,1,4,B,8>jR06@0Bk3:wOli;<`WPhh<1rqVBQf2V@Pdt0J82avIM2b<<Rv1t<ot=@1,2*54 +# # Type 8, DAC 1, FID 11 (IMO 236 Met/Hydro message) # From Christian Gagneraud: -# Same set-up as above, but the NMEA strem to the Kanaton has been stopped, +# Same set-up as above, but the NMEA stream to the Kanaton has been stopped, # causing the Kanaton to send a message with all bits set to 1, meaning "no # data available" +!AIVDO,1,1,4,B,8>jR06@0Bk3:vOli;L`nwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwt1,2*0E # "18/05/2012 18:45:37" !AIVDO,1,1,4,B,8>jR06@0Bk3:vOli;L`nwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwt1,2*0E # AIS channel:1 # Message ID=8 @@ -363,7 +364,57 @@ # Precipitation=0x7(7 according to WMO) # Salinity=0x1FF(51.1 permil) # Ice=0x3(3) -!AIVDO,1,1,4,B,8>jR06@0Bk3:vOli;L`nwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwt1,2*0E +# +# Type 8, DAC 1, FID 31 (IMO 289 Met/Hydro message) +# From Christian Gagneraud: +# Kanaton3 with all data marked as not available, checked with KanAton3_configV2.0.4.exe +!AIVDO,1,1,5,A,8>jR06@0Gwli:QQUP3en?wvlFR06EuOwgwl?wnSwe7wvlOwwsAwwnSGmwvh0,0*51 +# AIS channel:1 +# Message ID=8 +# Repeat Indicator=0 +# Source ID (MMSI)=992509977 +# Spare=0 +# Binary Data +# Application identifier=0x005F(95) +# DAC=1(International) +# Function identifier =31(Reserved for international operational applications) +# Application data: +# Longitude=0x59DAC(006°008.044 W) +# Latitude=0x30CB00(53°017.696 N) +# Pos. acc.=0 +# Date and time=0xEDD8(29 23h24m) +# Average wind speed=0x7F(127 kts) +# Wind gust=0x7F(127 kt(s)) +# Wind direction=0x168(360 degree(s)) +# Wind gust direction=0x168(360 degree(s)) +# Air temperature=0xFFFFFC00(-102.4 degree(s) Celcius) +# Relative humidity=0x65(101percent) +# Dew point=0x1F5(50.1 degree(s) Celcius) +# Air pressure=0x1FF(1310 hPa) +# Air pressure tendency=0x3(3(Not available)) +# Horizontal visibility=0x7F(12.7 NM) +# Water level=0xFA1(30.01 m) +# Water level trend=0x3(3) +# Surface current speed=0xFF(25.5 kts) +# Surface current direction=0x168(360 degree(s)) +# Current speed #2=0xFF(25.5 kts) +# Current direction #2=0x168(360 degree(s)) +# Current measuring level #2=0x1F(31 m) +# Current speed #3=0xFF(25.5 kts) +# Current direction #3=0x168(360 degree(s)) +# Current measuring level #3=0x1F(31 m) +# Significant wave height=0xFF(25.5 m) +# Wave period=0x3F(63 Sec) +# Wave direction=168(360 degree(s)) +# Swell height=0xFF(25.5) m +# Swell period=0x3F(63 Sec) +# Swell direction=0x168(360 degree(s)) +# Sea state=0xD(13 Beaufort) +# Water temperature=0x1F5(50.1 degree(s) Celcius) +# Precipitation=0x7(7 according to WMO) +# Salinity=0x1FE(51.0 permil) +# Ice=0x3(3) +# # Type 9: # From AISHub. Checked with the noaadata tools. !AIVDM,1,1,,A,91b77=h3h00nHt0Q3r@@07000<0b,0*69 diff --git a/test/sample.aivdm.chk b/test/sample.aivdm.chk index 3a0fd493..6b6adfd8 100644 --- a/test/sample.aivdm.chk +++ b/test/sample.aivdm.chk @@ -14,6 +14,7 @@ 8|0|999999999|366|56|256:eb0d4f917a035b2dfca3d4739381735c18ebbe754936f66850037dcacd9538b8
8|0|992509977|1|11|-368039|3197693|18T17:15Z|3|6|12|15|142|50|123|1024|2|153|-84|1|103|256|104|257|10|126|203|20|42|35|25|23|48|124|3|123|6|53|0
8|0|992509977|1|11|-368037|3197689|18T17:45Z|127|127|511|511|1447|127|823|1311|3|255|411|3|255|511|255|511|31|255|511|31|255|63|511|255|63|511|15|923|7|511|3
+8|0|992509977|1|31|-368044|3197696|29T23:24Z|127|127|360|360|-1024|101|501|1310|3|127|3001|3|255|360|255|360|31|255|360|31|255|63|360|255|63|360|13|501|7|510|3
9|0|111265591|15|0|0|7128960|34667073|0|28|0x0|0|0|0x6015
10|0|366814480|366832740
10|0|440882000|366972000
diff --git a/test/synthetic-ais.json b/test/synthetic-ais.json index 4d9e77fc..3622a2a6 100644 --- a/test/synthetic-ais.json +++ b/test/synthetic-ais.json @@ -21,6 +21,7 @@ {"class":"AIS","type":8,"repeat":0,"mmsi":366999655,"scaled":false,"dac":366,"fid":22,"data":"256:631d1d6b32f735f03494870d9e13addaf3f373435347ab94628f1498868051c3"}
{"class":"AIS","type":8,"repeat":0,"mmsi":992509977,"scaled":false,"dac":1,"fid":11,"lat":3197693,"lon":-368039,"timestamp":"18T17:15Z","wspeed":3,"wgust":6,"wdir":12,"wgustdir":15,"humidity":50,"airtemp":142,"dewpoint":123,"pressure":1024,"pressuretend":2,"visibility":153,"waterlevel":-84,"leveltrend":1,"cspeed":103,"cdir":256,"cspeed2":104,"cdir2":257,"cdepth2":10,"cspeed3":126,"cdir3":203,"cdepth3":20,"waveheight":42,"waveperiod":35,"wavedir":25,"swellheight":23,"swellperiod":48,"swelldir":124,"seastate":3,"watertemp":123,"preciptype":6,"salinity":53,"ice":0} {"class":"AIS","type":8,"repeat":0,"mmsi":992509977,"scaled":false,"dac":1,"fid":11,"lat":3197689,"lon":-368037,"timestamp":"18T17:45Z","wspeed":127,"wgust":127,"wdir":511,"wgustdir":511,"humidity":127,"airtemp":1447,"dewpoint":823,"pressure":1311,"pressuretend":3,"visibility":255,"waterlevel":411,"leveltrend":3,"cspeed":255,"cdir":511,"cspeed2":255,"cdir2":511,"cdepth2":31,"cspeed3":255,"cdir3":511,"cdepth3":31,"waveheight":255,"waveperiod":63,"wavedir":511,"swellheight":255,"swellperiod":63,"swelldir":511,"seastate":15,"watertemp":923,"preciptype":7,"salinity":511,"ice":3} +{"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":992509977,"scaled":false,"dac":1,"fid":31,"lat":3197696,"lon":-368044,"accuracy":false,"timestamp":"29T23:24Z","wspeed":127,"wgust":127,"wdir":360,"wgustdir":360,"humidity":101,"airtemp":-1024,"dewpoint":501,"pressure":1311,"pressuretend":3,"visgreater":false,"visibility":127,"waterlevel":3001,"leveltrend":3,"cspeed":255,"cdir":360,"cspeed2":255,"cdir2":360,"cdepth2":31,"cspeed3":255,"cdir3":360,"cdepth3":31,"waveheight":255,"waveperiod":63,"wavedir":360,"swellheight":255,"swellperiod":63,"swelldir":360,"seastate":13,"watertemp":501,"preciptype":7,"salinity":510,"ice":3}
{"class":"AIS","type":9,"repeat":0,"mmsi":111265591,"scaled":false,"alt":15,"speed":0,"accuracy":false,"lon":7128960,"lat":34667073,"course":0,"second":28,"regional":0,"dte":0,"raim":false,"radio":24597}
{"class":"AIS","type":10,"repeat":0,"mmsi":366814480,"scaled":false,"dest_mmsi":366832740}
{"class":"AIS","type":10,"repeat":0,"mmsi":440882000,"scaled":false,"dest_mmsi":366972000}
|