Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: DavidHZLHello,
I have a question. Is there a way to move an record one row up? Example data:
$GNRMC,111620.40,A,5312.67614,N,00637.28038,E,0.02 2,86.6,060215,1.2,E,D*10
$GNGLL,5312.67614062,N,00637.28038116,E,111620.40, A,D*75
$GPGGA,111620.6,5312.67614,N,00637.28038,E,4
,13,1.0,0.7,M,40.7,M,0.6,0967*79$GNVTG,310.90,T,,M ,0.03,N,0.05,K,D*2B
$GNZDA,111620.622,06,02,2015,00,00*49
$GNHDT,74.605,T*1B
All these lines are from a log in a GPS module, saved as raw data. I'm able to get the data into lavastorm and give every line it's own row, but I would love some advice how to add every row that doesn't start with "$" to the previous record. What I would need in the end is that the node looks for an "$" in the raw data and starts a new row that point.
example result:
$GNRMC,111620.40,A,5312.67614,N,00637.28038,E,0.02 2,86.6,060215,1.2,E,D*10
$GNGLL,5312.67614062,N,00637.28038116,E,111620.40, A,D*75
$GPGGA,111620.6,5312.67614,N,00637.28038,E,4,13,1. 0,0.7,M,40.7,M,0.6,0967*79
$GNVTG,310.90,T,,M,0.03,N,0.05,K,D*2B
$GNZDA,111620.622,06,02,2015,00,00*49
$GNHDT,74.605,T*1B
Thanks in advance,
David.