clc, clear

% Path to remote S3 datalake
datalake_path = "s3://css-parquet-test/AABBCCDD/CAN2_GnssSpeed";

% Create datastore containing multiple files
ds_gnss_speed = parquetDatastore(datalake_path, "RowTimes", "t", "IncludeSubfolders", true );

% Create tall array (files not loaded into memory)
gnss_speed = tall(ds_gnss_speed);

% Plot speed over time
figure(1)
plot(gnss_speed.t, gnss_speed.Speed)