starts={'May','Jun','Jul'};
leads={'L/1.5/4.5/','L/0.5/3.5/','L/0.5/2.5/'};
leadname = {'JJAS','JJAS','JAS'};

if ~( (length(starts)==length(leads))& (length(leads)==length(leadname)) )
  disp('ERROR')
  return
end


for istart = 1:length(starts)

  loaddap(['http://sreejith:xetbyv@iridl.ldeo.columbia.edu/expert/home/.mbell/SOURCES/.IMD/.NCC1-2005/.v2p0/.rf/T/%28Jun-Sep%29seasonalAverage/T/%28Jun-Sep%201981%29%28Jun-Sep%202008%29RANGE/T//S/renameGRID/SOURCES/.NOAA/.NCEP/.EMC/.CFS/.MONTHLY/.surface/.prate/S/%280000%201%20',starts{istart},'%201981-2008%29VALUES/',leads{istart},'RANGE%5BL%5Daverage%5BX/Y%5DregridLinear/86400/mul/dods'])
end

