From 4fb74f32a3120ac5cb0266ecd5e63d51dc6899bd Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Mon, 7 Apr 2014 16:52:00 +0000 Subject: [PATCH] add gpol and gtor for ecrh2 from ECN git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@4385 d63d8f72-b253-0410-a779-e742ad2e26cf --- crpptbx/AUG/loadAUGdata.m | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/crpptbx/AUG/loadAUGdata.m b/crpptbx/AUG/loadAUGdata.m index d81288e1..fef2947c 100644 --- a/crpptbx/AUG/loadAUGdata.m +++ b/crpptbx/AUG/loadAUGdata.m @@ -973,6 +973,16 @@ switch AUGkeywrdcase{index} else trace_all.torpos_ecs(i+4) = a.value; end + [a,e]=rdaAUG_eff(shot,'ECN',['G' num2str(i) 'POL'],shotfile_exp_eff); + if isempty(a) || e~=0 + else + trace_all.gpol_ecn(i+4) = a; + end + [a,e]=rdaAUG_eff(shot,'ECN',['G' num2str(i) 'TOR'],shotfile_exp_eff); + if isempty(a) || e~=0 + else + trace_all.gtor_ecn(i+4) = a; + end end if ~isempty(trace_all) trace_all.dim=[{trace_all.t} {[1:9]}]; -- GitLab