stat = {'Honolulu','HVH'};
yr0  = [2007 2013];
yr1  = [2007 2013];

for ist=1:2

    noos = ['..\measurements\',stat{ist},'_noos_',num2str(yr0(i0)),'.txt'];

    %% html (default)
    html = wps.processes.t_tide(noos,'sort','-amp');
    savestr(['HVH_',num2str(yr),'_components.html'],html);

    %% native t_tide asc
    asc = wps.processes.t_tide(noos,'sort','-amp','format','text/plain');
    savestr(['HVH_',num2str(yr),'_components.asc'],asc);

    %% IHO xml
    asc = wps.processes.t_tide(noos,'sort','-amp','format','text/xml');
    savestr(['HVH_',num2str(yr),'_components.xml'],asc);

end