%
chdir /usr3/rps/massbay/ctd/mb04
winter=fresh('ecomsi.cdf')
start=[1991 2 4 0 0 0];
%
chdir /usr3/rps/massbay/ctd/mb06
early_spring=fresh('ecomsi.cdf')
stop=[1991 3 20 0 0 0];
chdir /usr3/rps/massbay/runoff

chdir /usr3/rps/massbay/ctd/mb07
spring=fresh('ecomsi.cdf');
stop=[1991 4 29 0 0 0];
chdir /usr3/rps/massbay/runoff

[rivers,jd]=getrivers(start,stop);
riv=sum(rivers');
riv=riv(:);
vol=cumsum(riv)*3600*24;
last(vol)
