function [met,scs] = load_1min_met(path)
%{
    loads NOAA and ship met files for entire cruise and returns
    N x 13 met array for NOAA met and N x 41 array scs for ship met.
%}

cd(path);
files = dir([path,'CAPRICORN_2016_proc_met_1min_2016*.txt']);
met = zeros(0,13);
for ii = 1:length(files)
    fname = files(ii).name;
    disp (['Reading file ',fname]);
    temp = load(fname);
    temp(:,9) = replace_NaN_nearest_neighbor(temp(:,9));
    temp(:,13) = cumsum(temp(:,9))*1/60;  % cumulative rain
    met = [met;temp];
end;

files = dir([path,'CAPRICORN_2016_proc_scs_1min_2016*.txt']);
scs = zeros(0,41);
for ii = 1:length(files)
    fname = files(ii).name;
    disp (['Reading file ',fname]);
    temp = load(fname);
    scs = [scs;temp];
end;

end