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

change v1.41 to 1.42

add date_version in tsg struct and global DATE_VERSION
the date_version is displayed inside info screen and console
parent dfb25d38
No related branches found
No related tags found
No related merge requests found
......@@ -65,13 +65,13 @@ hRightPanel = uipanel( ...
'ButtonDownFcn', @quitAboutCallback);
% display info in botom panel
msg = sprintf( 'TSGQC Version : %s - GOSUD format: %s', ...
tsg.preference.char_version, tsg.FORMAT_VERSION)
msg = sprintf( 'TSGQC v %s - %s - GOSUD v %s', ...
tsg.preference.char_version, tsg.preference.date_version, tsg.FORMAT_VERSION)
uicontrol('Parent', hBottomPanel, ...
'Style','text',...
'FontSize', 14, ...
'Units','normalized',...
'Position',[.1 .1 .9 .5],...
'Position',[.1 .1 .75 .5],...
'FontWeight','bold',...
'String', msg,...
'HorizontalAlignment','center');
......
......@@ -17,7 +17,7 @@ function tsg_preferences(hTsgGUI, app_name, DEFAULT_PATH_FILE)
% global variable VERSION, update revision number when tsg structure change
% -------------------------------------------------------------------------
global VERSION CHAR_VERSION
global VERSION CHAR_VERSION DATE_VERSION
% Initialize loading preference file waitbar
% ------------------------------------------
......@@ -130,6 +130,7 @@ set(hTsgGUI,'Pointer','arrow');
% -------------------------------------
preference.version = VERSION;
preference.char_version = CHAR_VERSION;
preference.date_version = DATE_VERSION;
preference.autoload = 'off';
% Climatology
preference.levitus_version = {'WOA01','WOA05'};
......
......@@ -32,13 +32,15 @@ function tsgqc( varargin )
% ---------------------------------------
global VERSION
global CHAR_VERSION
global DATE_VERSION
global GOSUD_FORMAT_VERSION
% version number, may be used to initialize some files when it change
% 0.90x -> 1.0RCx
% -------------------------------------------------------------------
VERSION = 1.410; % -> 1.41
CHAR_VERSION = '1.41';
VERSION = 1.420; % -> 1.41
CHAR_VERSION = '1.42';
DATE_VERSION = '05 dec 2014';
% 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