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

Bugfix, the wrong reference point has been chosen.

parent b906a04b
No related branches found
No related tags found
No related merge requests found
201
\ No newline at end of file
202
\ No newline at end of file
......@@ -11,7 +11,7 @@ referencePosition = '';
isNotNan = ~isnan(artoaWorkspace.satData.lat_sat) & ~isnan(artoaWorkspace.satData.lon_sat);
knownPositions = [artoaWorkspace.satData.lat_sat(isNotNan), artoaWorkspace.satData.lon_sat(isNotNan)];
if ~(size(knownPositions, 1) == 0)
referencePosition = [num2str(knownPositions(end, 1)) ' ' num2str(knownPositions(end, 2))];
referencePosition = [num2str(knownPositions(1, 1)) ' ' num2str(knownPositions(1, 2))];
end
%% Create default cell
......
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