%
% add paths for gdat directory
%
% assumes gdat already available
%
a=which('gdat');
ii=findstr('/',a);
a=a(1:ii(end));

machines=[{'JET'} {'TCV'} {'AUG'} {'D3D'}];
machines=[{'JET'} {'TCV'} {'AUG'} {'KSTAR'}];
machines=[{'JET'} {'TCV'} {'AUG'} {'D3D'} {'KSTAR'}];

for i=1:length(machines)
  addpath([a machines{i}])
end

