Initially, on the Arduino RAM itself, define an array with a very large length, e.g. 1,000 elements.
I would technically be able to write as many times as 100K multiplied by the number of cells/sectors which would come out to many years.
POSSIBLE TIMING CONCERNAs for the buffer/write strategy, how can one prevent the following problem?:--Let's say data is being collected from the sensor to a 1000-element array buffer at intervals of 500milliseconds per each of the 1000 datapoints.--And let's say the write time for each buffered block (of 1000 array elements) to the SD card takes 1000milliseconds, just as an exaggerated example.Doesn't this mean that, during these 1000milliseconds of SD write time, one or two datapoints will fail to be collected to the RAM from the sensor because the Arduino is busy writing to the SD card?