% Function for the MODIS GUI
% Copyright by Jasmine S Nahorniak, Oregon State University.
% June 26 2000

function [data,names,files,mins,maxs,matrices,sizes,region,filetype]=GUIpremask(data,names,files,mins,maxs,matrices,sizes,region,filetype);

GUIbutton('Pushbutton16','WORKING','on');

options=get(findobj(gcbf,'Tag','Listbox1'),'String');
GUImaskwindow;

noptions{1}='none';
noptions(2:length(options)+1)=options;


set(findobj(gcf,'Tag','Listbox1'),'String',noptions);
set(findobj(gcf,'Tag','Listbox2'),'String',noptions);

GUIbutton('Pushbutton16','apply mask','off');
