clear profileinfo
i=handles.currentprofile;
profileinfo{1}=[' '];
profileinfo{2}=sprintf('Latitude : %6.2f',keysdata.obslat(i));
%profileinfo{3}=[' ' ];
profileinfo{3}=sprintf('Longitude : %6.2f',keysdata.obslon(i));
profileinfo{4}=[' ' ];

profileinfo{5}=[profiledata.date '/' profiledata.month '/' ...
    profiledata.year '   ' profiledata.time];

profileinfo{6}=[' '];
profileinfo{7}=['Prof No :  ' num2str(i)];

profileinfo{8}=[' '];
profileinfo{9}=['Station Number : ' num2str(keysdata.stnnum(i))];

%profileinfo{10}=[' '];
profileinfo{10}=['  Ship ID : ' keysdata.callsign(i,:)];

%profileinfo{13}=[' '];
profileinfo{11}=['Data Type : ' keysdata.datatype(i,:)];

%profileinfo{13}=[' '];
profileinfo{12}=['Data Source : ' keysdata.datasource(i,:) ];
profileinfo{13}=['Priority : ' num2str(keysdata.priority(i)) ]; 

set (handles.profile_info,'String',profileinfo);
