function [timeData,dropData] = gather_Drop(fileList)
    % GATHERARCHIVE Extracts a variable with a given name from a list of .h5 files
    %
    % Inputs:
    %   - fileList: A cell array of strings representing the file names or paths
    %               of the .h5 files to extract the variable from
    %   - variableName: A string representing the name of the variable to extract
    %
    % Output:
    %   - varData: A cell array of matrices representing the values of the
    %              variable in each of the .h5 files

    % Initialize the output variable
    timeData = cell(length(fileList),1);
    dropData = cell(length(fileList), 1);
    lidarData = cell(length(fileList), 1);
    %lidarData = cell(length(fileList,1);
    % Loop through each file in the list
    for i = 1:length(fileList)
        file = fileList{i};      
        data = csvread(file,1,0);
        time = (data(:,1));
        timeData{i} = time;
        mlh_drop = (data(:,2));
        dropData{i} = mlh_drop;        
    end
     


end






%[patth, filename, ext] = fileparts(fileList{i});
%        drop_path = strrep(path, '/Archive','/PBLH/');
%        drop_file = strcat(filename,'.csv');
%        full_path = strcat(drop_path,drop_file)ry

