clc
clear all
close all

cn45_file = '/discover/nobackup/jkolassa/CN51_config_debug/carbon_error_files/carbon_error_col';
cn51_file = '/discover/nobackup/jkolassa/CN51_config_debug/carbon_error_files/carbon_error_col_cycle1_year1_complete';

fid = fopen(cn45_file,'r');
cn45_data = fscanf(fid,'%i %f');
fclose(fid);

cn45_carbon_balance_data = reshape(cn45_data,[2,length(cn45_data)/2]);
cn45_carbon_balance_data = cn45_carbon_balance_data';

fid = fopen(cn51_file,'r');
cn51_data = fscanf(fid,'%i %f');
fclose(fid);

cn51_carbon_balance_data = reshape(cn51_data,[2,length(cn51_data)/2]);
cn51_carbon_balance_data = cn51_carbon_balance_data';
