From 026a1a61e77b8c221cf4ae800befa5aa234b4df2 Mon Sep 17 00:00:00 2001 From: Jacques Grelet <jacques.grelet@ird.fr> Date: Mon, 11 Jan 2010 20:45:10 +0000 Subject: [PATCH] change tsg version to 1.031 for reser tsg.preference in mat file.m correct tsg.PRESS to tsg.PRES --- tsg_util/minPressQC.m | 4 ++-- tsgqc.m | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tsg_util/minPressQC.m b/tsg_util/minPressQC.m index a3df1f3..8c5438c 100644 --- a/tsg_util/minPressQC.m +++ b/tsg_util/minPressQC.m @@ -30,9 +30,9 @@ if isnumeric( press_min ) && ~isnan( press_min ) % Set salinity QC to BAD for flow < flow_min % ----------------------------------------------------- - ind = find(tsg.PRESS < press_min); + ind = find(tsg.PRES < press_min); if ~isempty( ind ) - tsg.PRESS_QC(ind) = castByteQC( badCode, ind ); + tsg.PRES_QC(ind) = castByteQC( badCode, ind ); end % Save tsg structure diff --git a/tsgqc.m b/tsgqc.m index ea22814..ad1575b 100644 --- a/tsgqc.m +++ b/tsgqc.m @@ -36,8 +36,8 @@ global NETCDF_FORMAT_VERSION % version number, may be used to initialize some files when it change % 0.90x -> 1.0RCx % ------------------------------------------------------------------- -VERSION = 1.03; % -> 1.03 -CHAR_VERSION = '1.03'; +VERSION = 1.031; % -> 1.03 +CHAR_VERSION = '1.031'; % netcdf file version, see DATA FORMAT TSG document: % CORTSG_format_gosud_1.5.doc -- GitLab