Commit 9569692a authored by Matteo Vallar's avatar Matteo Vallar
Browse files

handling error ala gdat

parent 1ac7fb07
Pipeline #94731 passed with stages
in 4 minutes and 44 seconds
......@@ -87,6 +87,9 @@ for iunit=1:nb_units
%% power
params_eff.data_request = ['\results::' results_subname{iunit} ':powr_tcv'];
pow=gdat_tcv(shot,params_eff);
if ischar(pow.data)
pow.data=0;
end
ids_nbi.unit{iunit}.power_launched.data = pow.data*1e6;
ids_nbi.unit{iunit}.power_launched.time = pow.t;
ids_nbi_description.unit{iunit}.power_launched = params_eff.data_request;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment