Documentation of newtime2


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


Cross-Reference Information

This script calls

Listing of script newtime2


cd /home/disk/hayes/dvimont/ccm3.6/data
filccm = ['sst_skew.nc'];
nc = netcdf(filccm, 'nowrite')
date = nc{'date'}(:);
time = nc{'time'}(:);
nbdate = nc{'nbdate'}(:);
nc = close(nc) 
newtime = time - 4*365;
newdate = date - 40000;
nc = netcdf(filccm, 'write')
nc{'date'}(:) = newdate;
nc = close(nc);
nc = netcdf(filccm, 'write')
nc{'time'}(:) = newtime;
nc = close(nc);