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

feat: An error dialog is now indicating missing applied soundspeed values for SatfixEtaToToa

parent 94f62896
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,17 @@ function [] = open(~, ~)
%OPENEDITTEMPERATURE Initializes the pressure editing gui.
% Detailed explanation goes here
global artoaGui;
global artoaGui artoaWorkspace;
%% Check if required soundspeed is set
soundspeedValues = artoaWorkspace.editOffsets.offsets.AppliedSoundspeed;
if any(isnan(soundspeedValues))
waitfor(errordlg( ...
"At least one applied soundspeed is not set. The corresponding soundsources are hidden from this plot.", ...
"Applied soundspeed missing", ...
"modal" ...
));
end
%% Check if the gui is already opened
......
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