Disclaimer: Since these are my first steps using node red and Javascript not every step or piece of code is the best solution that one can imagine. It's like a PoC. Use what you want to use and ignore the rest.
The NMEA183 data collected is delivered by an ip-based NMEA device, e.g. a chart plotter, openplotter etc. The following sentences are processed: $GPAAM, $GPAPB, $GPBOD, $GPGGA, $GPGLC, $GPGLL, $GPGSA, $GPGSV, $GPRMB, $GPRMC, $GPVTG, $GPXTE, $GPZDA, $IIXDR, $SDDBT, $SDDPT, $SDHDG, $SDMTW, $SDVHW, $SDVLW, $WIMWD, $WIMWV
Usage: copy the code and insert in in node red using: import -> cliboard -> clipboard