function [URL] = woa94annurl(archive, urlinfolist, StartColumn, EndColumn, ...
StartRow, EndRow, dset_stride, ranges, variablelist, server, ...
whichurl)

VERSION = version; VERSION = str2num(VERSION(1));
Constraint = '';
for i = 1:size(variablelist,1)
  TempName = deblank(variablelist(i,:));
  if i > 1
    Constraint = [Constraint ','];
  end
  Constraint = [Constraint sprintf('%s', TempName,'[', num2str(urlinfolist(2)), ':', ...
      num2str(urlinfolist(3)), '][', num2str(StartRow), ':', ...
      num2str(dset_stride), ':', num2str(EndRow),'][', ...
      num2str(StartColumn), ':', num2str(dset_stride), ':',...
      num2str(EndColumn), ']')];
end
URL = sprintf('%s', deblank(server), '?', Constraint);
return
