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

add D3D

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@1893 d63d8f72-b253-0410-a779-e742ad2e26cf
parent 104bdfd4
No related branches found
No related tags found
No related merge requests found
......@@ -109,13 +109,15 @@ end
doplot=0;
if (nargineff>=3 & ~isempty(varargin{1})); doplot=varargin{1}; end
machine='TCV';
a=which('sawteeth');
a=which('gdat');
if ~isempty(findstr('ipp',a)) | ~isempty(findstr('/u/osauter',a));
machine='AUG';
global usemdsplus; % so far from AUG, do not use mdsplus
usemdsplus=0;
elseif ~isempty(findstr('/home/osauter',a));
machine='JET';
elseif ~isempty(findstr('/u/sauter',a));
machine='D3D';
end
if (nargineff>=4 & ~isempty(varargin{2})); machine=varargin{2}; end
......@@ -127,7 +129,7 @@ else
end
% PLOT DATA (if required)
if doplot==1 & length(trace.data)>1
if doplot==1 & length(trace.data)>1 & ~ischar(trace.data)
figure;zoom on
if length(size(trace.data))<=2
plot(trace.t,trace.data);
......
......@@ -7,7 +7,7 @@ a=which('gdat');
ii=findstr('/',a);
a=a(1:ii(end));
machines=[{'JET'} {'TCV'} {'AUG'}];
machines=[{'JET'} {'TCV'} {'AUG'} {'D3D'}];
for i=1:length(machines)
addpath([a machines{i}])
......
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