% read_pic.m - force read of every file in run to generate new mat files
ddd0 = 0;
for kk = 1:length(flist_pic1)
    
    %% setup this hour
    % get file paths for this hour
    pic_dfl = cell2mat(flist_pic1(kk));
    if isempty(pic_dfl) % skip this hour if no pic data
        continue
    end
    
    % set up the various date variables and strings from wind file name
    temp = strsplit(pic_dfl,'/');  fname = cell2mat(temp(8));
    YY = fname(5:6); YYYY = ['20',YY]; DDD = fname(7:9); HH = fname(10:11);
    yyyy = str2double(YYYY); ddd = str2double(DDD); hh = str2double(HH);

    pic = read_picarro_mosaic_2019(pic_dfl,yyyy,ddd,hh);
end

