Documentation of make_level5_temp


Global Index (short | long) | Local contents | Local Index (short | long)


Listing of script make_level5_temp


clear
cd /home/disk/hayes2/dvimont/csiro/data
filin1 = 'temp_M_L5_1000_years_new.nc';
filin2 = 'temp_A_L5_1000_years.nc';
nc1 = netcdf(filin1, 'nowrite');
nc2 = netcdf(filin2, 'write');
for i = 1:1000;
  ind = 12*(i-1) + [1:12];
  sst = nc1{'temp'}(ind,1,:,:);
  sst2 = mean(sst);
  nc2{'temp'}(i,1,:,:) = sst2;
end;
nc1 = close(nc1);
nc2 = close(nc2);