SignalK / specification

Signal K is a JSON-based format for storing and sharing marine data from different sources (e.g. nmea 0183, 2000, seatalk, etc)
Other
91 stars 68 forks source link

Missing unit for directionGround #639

Open jobarne opened 2 years ago

jobarne commented 2 years ago

When running signalk nodejs server and an Airmar WX220 weather station, wind data comes in as environment.self.directionGround but with no unit specified.

Is there a way of updating the specification so that the unit is set correctly (to rad)?

jobarne commented 2 years ago

Anyone?

tkurki commented 2 years ago

How do you get the data into the server? Because there is no environment.self.directionGround (let alone environment.self.directionGround) defined in the current Signal K specification.

There are 2 paths for absolute wind direction, directionTrue and directionMagnetic.

jobarne commented 2 years ago

Thanks for your reply!

I am sorry. It should be environment.wind.directionGround , I assume the server uses the individual js files in n2k-signalk pgns directory, There is a environment.wind.directionGround mapping in 130306.js file but I do not understand how the unit is specified...