Skip to content

Commit

Permalink
Merge pull request #362 from aodn/2.5.13
Browse files Browse the repository at this point in the history
2.5.13
  • Loading branch information
ggalibert authored Jun 23, 2016
2 parents 9989efc + b587e6d commit 324af6c
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion AutomaticQC/imosRateOfChangeQC.m
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
% of 1 or 2 gradients
threshold(2:end-1) = 2*threshold(2:end-1);
catch
error(['Invalid threshold expression in imosRateOfChangeQC.txt for ' param]);
error(['Invalid threshold expression in imosRateOfChangeQC.txt for ' paramName]);
end

iGoodGrad = false(lenDataTested, 1);
Expand Down
12 changes: 7 additions & 5 deletions AutomaticQC/qcFilterPrep.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@
% ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
% POSSIBILITY OF SUCH DAMAGE.
%
fun = str2func([filtername 'Prep']);
fun2 = functions(fun);
ok = size(fun2.file, 2) > 0;

if ok
fun = [filtername 'Prep'];
if exist(fun, 'file') % MATLAB function
fun = str2func(fun);
type{1} = 'dimensions';
type{2} = 'variables';
qcPrep=struct;
Expand All @@ -57,7 +56,10 @@
% check for previously computed stddev
if isfield(sam.meta, 'qcPrep')
if isfield(sam.meta.qcPrep, filtername)
continue;
if isfield(sam.meta.qcPrep.(filtername), type{m})
qcPrep.(type{m}){k} = sam.meta.qcPrep.(filtername).(type{m}){k};
continue;
end
end
end

Expand Down
2 changes: 2 additions & 0 deletions Parser/netcdfParse.m
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@
sample_data.meta.level = imosFileVersion(sample_data.file_version, 'index');
end

sample_data.toolbox_input_file = filename;

[~, sample_data.meta.file_name, ext] = fileparts(filename);
sample_data.meta.file_name = [sample_data.meta.file_name, ext];
sample_data.meta.site_id = '';
Expand Down
1 change: 1 addition & 0 deletions Parser/readParadoppBinary.m
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
fprintf('%s\n', ['Warning : ' filename ' bad sync (idx '...
num2str(idx) ', val ' num2str(data(idx)) ')']);
fprintf('%s\n', ['Sect Type: ' num2str(sectType)]);
off = 1; % continue to the next byte
return;
end

Expand Down
2 changes: 1 addition & 1 deletion imosToolbox.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function imosToolbox(auto, varargin)
end

% Set current toolbox version
toolboxVersion = ['2.5.12 - ' computer];
toolboxVersion = ['2.5.13 - ' computer];

switch auto
case 'auto', autoIMOSToolbox(toolboxVersion, varargin{:});
Expand Down
Binary file modified imosToolbox_Linux64.bin
Binary file not shown.
Binary file modified imosToolbox_Win32.exe
Binary file not shown.
Binary file modified imosToolbox_Win64.exe
Binary file not shown.

0 comments on commit 324af6c

Please sign in to comment.