Threads!
Moved serial reading to a separate thread to allow concurrent processing of the previous grid data while getting the data for the next grid.
Moved serial reading to a separate thread to allow concurrent processing of the previous grid data while getting the data for the next grid.