function [newHandles] = select_modis(handles)

% Get selected data
tmp = zeros(handles.modis.pixels_across, handles.modis.scanlines);
handles.modis.sub_data = zeros(handles.modis.sub_pixels_across_size, ...
                               handles.modis.sub_scanlines_size);
handles.modis.sub_data(:) = NaN;
tmp(:) = NaN;
tmp(handles.modis.index) = handles.modis.data(handles.modis.index);
handles.modis.sub_data(:) = tmp( ...
                handles.modis.sub_pixels_across(1):handles.modis.sub_pixels_across(2), ...
                handles.modis.sub_scanlines(1):handles.modis.sub_scanlines(2));

newHandles = handles;
