% 
% script to get TCV data as ids and then write them on the database
%

shot=40000;
run_out=999;
occurence=0;

ids2get = []; % default will load all defined so far
[ids_from_tcv,idsok] = tcv2ids(shot,ids2get);

% can plot with: [plotids_H] = plotids([],idsok.ids{1},idsok.ids{2});
[ids_put_status] = ids2database(shot,run_out,occurence,ids_from_tcv);

