diff --git a/crpptbx/AUG/gdat_aug.m b/crpptbx/AUG/gdat_aug.m
index 86538d891be7a71e006445524e1ffdfce641b13f..71e6e2685ea86c8c20660594776aa7fcf45797e3 100644
--- a/crpptbx/AUG/gdat_aug.m
+++ b/crpptbx/AUG/gdat_aug.m
@@ -969,7 +969,15 @@ elseif strcmp(mapping_for_aug.method,'switchcase')
     [equil_Zcoil,e]=rdaAUG_eff(shot,DIAG,'Zcl',exp_name_eff);
     gdat_data.Zcoils=equil_Zcoil.value;
     %
-    [IpiPSI,e]=rdaAUG_eff(shot,DIAG,'IpiPSI',exp_name_eff);
+    if strcmp(DIAG,'IDE')
+      [IpiPSI,e]=rdaAUG_eff(shot,'IDG','Itor',exp_name_eff);
+      if length(IpiPSI.value)~=NTIME
+	disp('Problem with nb time points of IDG/Itor with respect to IDE NTIME, check with O. Sauter')
+	return
+      end
+    else
+      [IpiPSI,e]=rdaAUG_eff(shot,DIAG,'IpiPSI',exp_name_eff);
+    end
     gdat_data.Ip = IpiPSI.value(1:NTIME);
     %
     gdat_data.data = gdat_data.qvalue; % put q in data