PortO2PerChamberPerHr=zeros((size(PortSlopes,1)),1);%%%umol/(chamber*hr)

for i= 1: size(PortSlopes,1),
    PortO2PerChamberPerHr(i)=PortSlopes(i,1).*PortCmbrVolLiter(i);
    
end
ChamberArea=(pi*(diameter/2)^2)/10000;  %meter square

PortO2PerSquareMeterPerHr=PortO2PerChamberPerHr/ChamberArea; %umol/m2hr

PortO2PerSquareMeterPerDayInMMol=PortO2PerSquareMeterPerHr*24/1000; %mmol//m^2day
PortCarbonPerSquareMeterPerDay=PortO2PerSquareMeterPerDayInMMol/0.0959;%mgC/m2day


plot(PortSlopes(:,5),-1*PortCarbonPerSquareMeterPerDay,'bx');
datetick('x','mmmyyyy','keepticks','keeplimits');
legend('Port');
xlabel('Date');ylabel('Carbon Consumed Per Square Meter Per Day (mgC/m^2day)');
