Beko:
I have a code that takes information from an ublox gps sensor every 10 seconds, and writes the NMEA data to a csv file in the SD card every 60 seconds. So that's done. But there is a problem. In the upcoming stages, I will be transmitting the csv file via telemetry to a Raspberry Pi, so I need to limit the size of the csv file so that there won't be any problem when sending data.
It is not clear why you have, or think you have, a problem. Maybe the problem is with Raspberry Pi, but I can't think what that would be.