Skip to content
Snippets Groups Projects
Verified Commit 99f56755 authored by leprob001's avatar leprob001
Browse files

fix: Although use_ibcso=1 ETOPO file was tried to be loaded

parent 776acd03
No related branches found
No related tags found
No related merge requests found
355
\ No newline at end of file
356
\ No newline at end of file
......@@ -4,19 +4,20 @@ function [topographicalLineHandles] = plotTopographicalLines(pAxesHandle)
global artoaWorkspace artoaDataInput artoaConfig;
%% Get required variables
topographical_line_values = artoaConfig.topographical_lines.depth;
use_ibcso = artoaConfig.topographical_lines.use_ibcso;
%% Load etopo
if ~artoa.controller.file.loadEtopoFile( ...
if ~use_ibcso
if ~artoa.controller.file.loadEtopoFile( ...
pAxesHandle.YLim, ...
pAxesHandle.XLim ...
)
return;
error('Could not load ETOPO file.');
end
end
%% Get required variables
topographical_line_values = artoaConfig.topographical_lines.depth;
use_ibcso = artoaConfig.topographical_lines.use_ibcso;
%% Plot topographical lines
% make handle the current axes
......
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