From 608ef9b8a1f6a9a73e3292cdc7074029327be5be Mon Sep 17 00:00:00 2001
From: Gael Alory <gael.alory@legos.obs-mip.fr>
Date: Fri, 26 Feb 2010 17:15:09 +0000
Subject: [PATCH] rajout d'un module de lecture du format ascii *.sdf (format
 TSG standard jusqu'en 2005 avant le passage a labview)

---
 tsgqc.m | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tsgqc.m b/tsgqc.m
index dc6c830..efb8f3a 100644
--- a/tsgqc.m
+++ b/tsgqc.m
@@ -1161,7 +1161,7 @@ hrbInterpCancel = uicontrol( ...
     % Open standard dialog box for retrieving files
     % ---------------------------------------------
     [fileName, pathname, filterIndex] = uigetfile( ...
-      {'*.nc';'*.lbv';'*.tsgqc';'*.btl';'*.spl';'*.arg';'*.xml'}, 'Pick a file');
+      {'*.nc';'*.lbv';'*.tsgqc';'*.btl';'*.spl';'*.arg';'*.xml';'*.sdf'}, 'Pick a file');
 
     % flushes the event queue and updates the closed uigetfile window
     % ---------------------------------------------------------------
@@ -1223,6 +1223,10 @@ hrbInterpCancel = uicontrol( ...
           tsg_initialisation(hMainFig);
           errTsg = readTsgDataXML(     hMainFig, fullFileName );
 
+        case 8                      % read TSG SDF file *.sdf
+          tsg_initialisation(hMainFig);
+          errTsg = readTsgDataSDF( hMainFig, fullFileName );
+
         otherwise
 
           % Reset pointer to arrow
-- 
GitLab