Skip to content
Snippets Groups Projects
Commit 6f194981 authored by Olivier Sauter's avatar Olivier Sauter Committed by Antoine Merle
Browse files

correct icrh/ptot call to keep older version

parent 22dc43ff
No related branches found
No related tags found
1 merge request!131correct icrh/ptot call to keep older version
......@@ -1372,11 +1372,22 @@ elseif strcmp(mapping_for_jet.method,'switchcase')
%
if any(strmatch('ic',gdat_data.gdat_params.source))
% ic
params_eff.data_request={'ppf','icrh','ptot'};
params_eff.data_request={'ppf','rff','ptot'};
try
ic=gdat_jet(shot,params_eff);
if isempty(ic.data) || isempty(ic.dim)
params_eff.data_request={'ppf','icrh','ptot'};
try
ic=gdat_jet(shot,params_eff);
catch
end
end
catch
params_eff.data_request={'ppf','icrh','ptot'};
try
ic=gdat_jet(shot,params_eff);
catch
end
end
if ~isempty(ic.data) && ~isempty(ic.dim)
for i=1:length(fields_to_copy)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment