-
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
Adds support for NMEA 0183 MDA sentence type #147
Adds support for NMEA 0183 MDA sentence type #147
Conversation
…al composite. This message type is used by Thies Clima, and probably other major meteorological instrument makers. Changes to be committed: modified: README.md new file: hooks/MDA.js modified: hooks/index.js new file: test/MDA.js
… not density. Changes to be committed: modified: hooks/MDA.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks! This is mergeable, but I suggest two changes. You could make it a little bit more elegant / less verbose if you construct the Like this:
Another nitpick would be to change |
Changes to be committed: modified: hooks/MDA.js
Thanks tkurki and sbender9. It seems best just to allow those duplicates, if the manufacturer puts that into the message, even though they should contain exact same values. Reason for the duplicates is that MDA definition is rather clumbsy, allowing multiple wind speed and pressure entries in differen units. In signalk this just gets converted to SI units. |
Well, we really should have a precommit hook to run lint. Thank you very much! |
* Adds support for NMEA 0183 MDA sentence type, containing meteorological composite. This message type is used by Thies Clima, and probably other major meteorological instrument makers.
Adds support for NMEA 0183 MDA sentence type, containing meteorological composite.
This message type is used by Thies Clima, and probably other major instrument makers.
Changes to be committed:
modified: README.md
new file: hooks/MDA.js
modified: hooks/index.js
new file: test/MDA.js