function [w,jd]=getwind2(cdf,start,stop);
%GETWIND gets wind stress time series from cdf file(s)
%  USAGE 
%     [w,jd]=getwind(cdf,start,stop);
%     or
%     [w,jd]=getwind(cdf);
% 
%         w  = complex wind velocity (or stress)
%         jd = julian day 
%
%var1='east';
%var2='north';
var1='east_str';   % the u component of velocity
var2='north_str';  % the v component of velocity
%var1='u.1';
%var2='v.1';
%
if(nargin==1),
  [u,jd]=getts(cdf,var1);
  [v]=getts(cdf,var2);
else,
  [u,jd]=getts(cdf,var1,start,stop);
  [v]=getts(cdf,var2,start,stop);
end
w=u+i*v;
