function [tbl] = load_radar_reports(hdf_file, channel)

if (channel ~= 'a' && channel ~= 'b')
    disp('selecting channel a');
    channel = 'a';
end

root = ['/reports_' channel];

time = h5read(hdf_file, [root '/time']);
command = h5read(hdf_file, [root '/command']);
gain = h5read(hdf_file, [root '/gain']);
interference_rejection = h5read(hdf_file, [root '/interference_rejection']);
rain = h5read(hdf_file, [root '/rain']);
range = h5read(hdf_file, [root '/range']);
sea = h5read(hdf_file, [root '/sea']);
sea_auto = h5read(hdf_file, [root '/sea_auto']);
target_boost = h5read(hdf_file, [root '/target_boost']);
target_expansion = h5read(hdf_file, [root '/target_expansion']);

tbl =  table(time, command, range,gain, rain,  sea, interference_rejection, sea_auto, target_boost, target_expansion);
end
