diff --git a/tsg_util/minPressQC.m b/tsg_util/minPressQC.m index a3df1f32815bed8c5955adb83b9df984774c5b4f..8c5438c57c9e5700c026453f42c6c1f3a7712ef4 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 ea2281492fca55924aa6f5e8ace2ea5b8b5eefd0..ad1575b67cbf2c72859b1c6ca0e260b96d51e374 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