   % TABLE   'points' HEADER 'test_points.tab'    TIME XP YP HS   DIR TM01 RTP    TPS    TMM10 TM02 & 
   % OUTPUT 19970102.000000 6 HR    
    
    tbfile = 'test_points.tab';
    T = swan_io_table(tbfile,{'TIME','XP','YP','HS','DIR','TM01','RTP','TPS','TMM10','TM02'});
    n = length(T.XP);
    platform_name = addrowcol(num2str([1:n]'),0,-1,'noitats'); % test

    ncfile = ['swan_io_table2nc_matlab.nc'];
    delete(ncfile)
    swan_io_table2nc(T,ncfile,'platform_name',platform_name)

