Skip to content
Snippets Groups Projects
Commit 8185ebc2 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

move updateTsgStructWithSmoothVars(hMainFig) from tsg_preferences.m to the...

move  updateTsgStructWithSmoothVars(hMainFig) from tsg_preferences.m to the end of tsg_initialisation.m
parent 1927ebe4
No related branches found
No related tags found
No related merge requests found
......@@ -229,3 +229,7 @@ tsg.conventions = [];
% ------------------
setappdata( hMainFig, 'tsg_data', tsg);
% update structure tsg with derived value
% ---------------------------------------
updateTsgStructWithSmoothVars(hMainFig)
......@@ -91,14 +91,6 @@ switch fid
end
% call default tsg_initialisation
% -------------------------------
tsg_initialisation(hTsgGUI);
% Get the tsg struct from the application GUI
% -------------------------------------------
tsg = getappdata( hTsgGUI, 'tsg_data');
% add preference struct to tsg struct
% -----------------------------------
tsg.preference = preference;
......@@ -111,6 +103,10 @@ setappdata( hTsgGUI, 'tsg_data', tsg);
% ---------------------------------------
updateTsgStructWithSmoothVars(hTsgGUI)
% call default tsg_initialisation
% -------------------------------
tsg_initialisation(hTsgGUI);
% display waitbar
% ---------------
waitbar( 1/2, wb, 'loading structure tsg' );
......
......@@ -38,9 +38,9 @@ global GOSUD_FORMAT_VERSION
% version number, may be used to initialize some files when it change
% 0.90x -> 1.0RCx
% -------------------------------------------------------------------
VERSION = 1.440; % -> 1.44
CHAR_VERSION = '1.440';
DATE_VERSION = 'jan 14 2016';
VERSION = 1.442; % -> 1.44
CHAR_VERSION = '1.442';
DATE_VERSION = 'jan 20 2016';
% netcdf file version, see DATA FORMAT TSG document:
% CORTSG_format_gosud.doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment