From ab4425abd5f7325e90ce70643d63e4b8a51cfbb0 Mon Sep 17 00:00:00 2001 From: Jacques Grelet <jacques.grelet@ird.fr> Date: Tue, 8 Jan 2008 15:59:10 +0000 Subject: [PATCH] rajoute le chemin tsg_io modifie les appels aux anciennes fonctions tsg_ --- tsgqc_GUI.m | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tsgqc_GUI.m b/tsgqc_GUI.m index 5d0fd0f..eab3437 100644 --- a/tsgqc_GUI.m +++ b/tsgqc_GUI.m @@ -40,7 +40,8 @@ function tsgqc_GUI DEFAULT_PATH_FILE = strrep(fulltsgqcname, tsgqcname, '') ; p = [pathsep,... DEFAULT_PATH_FILE,[filesep 'tsg_util' pathsep],... - DEFAULT_PATH_FILE,[filesep 'tsg_data' pathsep] + DEFAULT_PATH_FILE,[filesep 'tsg_data' pathsep],... + DEFAULT_PATH_FILE,[filesep 'tsg_io' pathsep] ]; addpath( p, '-END' ); rehash; @@ -318,17 +319,17 @@ function tsgqc_GUI switch filterIndex case 1 - error1 = tsg_readTsgDataTxt( hMainFig, filename ); + error1 = readTsgDataTxt( hMainFig, filename ); case 2 - error1 = tsg_readTsgDataXML( hMainFig, filename ); + error1 = readTsgDataXML( hMainFig, filename ); case 3 - error1 = tsg_readTsgDataNetCDF( hMainFig, filename ); + error1 = readTsgDataNetCDF( hMainFig, filename ); %# a modifier if error1 == 1 error2 = error1; end case 4 - error2 = tsg_readBucketData(hMainFig, filename ); + error2 = readBucketData(hMainFig, filename ); otherwise return; @@ -351,11 +352,11 @@ function tsgqc_GUI % Make the Salinity, temperature and velocity plot % ------------------------------------------------ - tsg_plot_SalTempVel( hMainFig, hPlotAxes ); + plot_SalTempVel( hMainFig, hPlotAxes ); % Plot the Map with the ship trackline % ------------------------------------ - tsg_plotmap( hMainFig, hPlotAxes) + plotmap( hMainFig, hPlotAxes) end end @@ -376,7 +377,7 @@ function tsgqc_GUI % Plot Salinity bucket % ------------------------------------------------ if error2 ~= -1 - tsg_plot_SalTsgSample( hMainFig, hPlotAxes ); + plot_SalTsgSample( hMainFig, hPlotAxes ); end % Pointer reset to arrow @@ -944,7 +945,7 @@ function tsgqc_GUI % write netcdf file % ----------------- fileName = [pathName fileName]; - error = tsg_writeTSGDataNetCDF( hMainFig, fileName ); + error = writeTSGDataNetCDF( hMainFig, fileName ); % Pointer reset to arrow % ---------------------- @@ -999,6 +1000,7 @@ function tsgqc_GUI % reset Matlab search path to default rmpath( [DEFAULT_PATH_FILE filesep 'tsg_util'] ); rmpath( [DEFAULT_PATH_FILE filesep 'tsg_data'] ); + rmpath( [DEFAULT_PATH_FILE filesep 'tsg_io'] ); rehash; end -- GitLab