%This program makes the latest 24 hour plots of data from the Vaissala
%ceilometer CL31

%try
    fclose('all');
    
    read_parameters_BAO;
    
    dd = clock;
    edn=datenum(dd(1),dd(2),dd(3),dd(4),0,0);
    bdn=edn-1;
    begdn=datenum(dd(1),dd(2),dd(3)-1,0,0,0);
    read_24hour_rawceilo_CL31_2010a;
    if( nfiles > 0 )
        ceilo_24hour_plot_program_2010;
        close all
        fclose('all');
    else
        fprintf(1,'No ceilometer file: %s\n',fname);
    end
%catch ME
%    dd = clock;
%    fid = fopen( '/home/dwelsh/logs/matlabceilo_24hour_try.log','a');
%    fprintf(fid,'%4d-%02d-%02d %02d:%02d:%02d %s\n',...
%        dd(1),dd(2),dd(3),dd(4),dd(5),dd(6),ME.message);
%    exit
%end


%exit
