Skip to content
Snippets Groups Projects
Commit 6bf1d759 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

replace mdsdata by mdsvalue

parent e22335bd
No related branches found
No related tags found
1 merge request!180Fix gdat remote
Pipeline #230103 passed
......@@ -633,7 +633,7 @@ end
function [gdat_data] = get_thomson_raw_data(shot,data_request_eff,gdat_data,doedge,nverbose);
%
try
time=mdsdata('\results::thomson:times');
time=mdsvalue('\results::thomson:times');
catch
gdat_data.error_bar = [];
if strcmp(data_request_eff(1:2),'ne')
......@@ -695,7 +695,7 @@ if strcmp(data_request_eff(1:2),'ne')
disp('***********************************************************************')
end
end
z=mdsdata(['\diagz::thomson_set_up' edge_str_dot ':vertical_pos']);
z=mdsvalue(['\diagz::thomson_set_up' edge_str_dot ':vertical_pos']);
gdat_data.dim=[{z};{time}];
gdat_data.dimunits=[{'Z [m]'} ; {'time [s]'}];
gdat_data.x=z;
......@@ -716,7 +716,7 @@ function [psiscatvol,psi_max] = psi_scatvol_zshift(gdat_data, zshift, system_str
% Use psitbx
t_th = gdat_data.t;
th_z = mdsdata(['dim_of(\thomson' system_str_dot ':te,1)']); % TODO: Isn't this gdat_data.dim{1}?
th_z = mdsvalue(['dim_of(\thomson' system_str_dot ':te,1)']); % TODO: Isn't this gdat_data.dim{1}?
th_r = 0.9*ones(size(th_z));
ntt = numel(t_th);
nch = numel(th_z); % number of chords
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment