%% Import data from text file.
% Script for importing data from the following text file:
%
%    /d1/nsteiger/proxy-data/PAGES2k_v2/v1_13_1/metadata_1_13_1_PAGES-crit-regional+FDR.txt
%
% To extend the code to different selected data or a different text file,
% generate a function instead of a script.

% Auto-generated by MATLAB on 2017/07/11 16:58:40

%% Initialize variables.
filename = '/d1/nsteiger/proxy-data/PAGES2k_v2/v1_13_1/metadata_1_13_1_PAGES-crit-regional+FDR.txt';
delimiter = '\t';

%% Read columns of data as strings:
% For more information, see the TEXTSCAN documentation.
formatSpec = '%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%[^\n\r]';

%% Open the text file.
fileID = fopen(filename,'r');

%% Read columns of data according to format string.
% This call is based on the structure of the file used to generate this
% code. If an error occurs for a different file, try regenerating the code
% from the Import Tool.
dataArray = textscan(fileID, formatSpec, 'Delimiter', delimiter,  'ReturnOnError', false);

%% Close the text file.
fclose(fileID);

% %% Convert the contents of columns containing numeric strings to numbers.
% % Replace non-numeric strings with NaN.
% raw = repmat({''},length(dataArray{1}),length(dataArray)-1);
% for col=1:length(dataArray)-1
%     raw(1:length(dataArray{col}),col) = dataArray{col};
% end
% numericData = NaN(size(dataArray{1},1),size(dataArray,2));
% 
% for col=[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265]
%     % Converts strings in the input cell array to numbers. Replaced non-numeric
%     % strings with NaN.
%     rawData = dataArray{col};
%     for row=1:size(rawData, 1);
%         % Create a regular expression to detect and remove non-numeric prefixes and
%         % suffixes.
%         regexstr = '(?<prefix>.*?)(?<numbers>([-]*(\d+[\,]*)+[\.]{0,1}\d*[eEdD]{0,1}[-+]*\d*[i]{0,1})|([-]*(\d+[\,]*)*[\.]{1,1}\d+[eEdD]{0,1}[-+]*\d*[i]{0,1}))(?<suffix>.*)';
%         try
%             result = regexp(rawData{row}, regexstr, 'names');
%             numbers = result.numbers;
%             
%             % Detected commas in non-thousand locations.
%             invalidThousandsSeparator = false;
%             if any(numbers==',');
%                 thousandsRegExp = '^\d+?(\,\d{3})*\.{0,1}\d*$';
%                 if isempty(regexp(thousandsRegExp, ',', 'once'));
%                     numbers = NaN;
%                     invalidThousandsSeparator = true;
%                 end
%             end
%             % Convert numeric strings to numbers.
%             if ~invalidThousandsSeparator;
%                 numbers = textscan(strrep(numbers, ',', ''), '%f');
%                 numericData(row, col) = numbers{1};
%                 raw{row, col} = numbers{1};
%             end
%         catch me
%         end
%     end
% end
% 
% 
% %% Split data into numeric and cell columns.
% rawNumericColumns = raw(:, [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265]);
% rawCellColumns = raw(:, 1);
% 
% 
% %% Replace non-numeric cells with NaN
% R = cellfun(@(x) ~isnumeric(x) && ~islogical(x),rawNumericColumns); % Find non-numeric cells
% rawNumericColumns(R) = {NaN}; % Replace non-numeric cells
% 
% %% Allocate imported array to column variable names
% dataSetName = rawCellColumns(:, 1);
% AntJamesRossIslMulvaney2012 = cell2mat(rawNumericColumns(:, 1));
% AntSiteDML05Graf2000 = cell2mat(rawNumericColumns(:, 2));
% AntSiteDML07Graf2000 = cell2mat(rawNumericColumns(:, 3));
% AntTALDICEStenni2011 = cell2mat(rawNumericColumns(:, 4));
% AntUSITASE20001Steig2013 = cell2mat(rawNumericColumns(:, 5));
% AntVostokEkaykin2014 = cell2mat(rawNumericColumns(:, 6));
% AntWDC05ASteig2013 = cell2mat(rawNumericColumns(:, 7));
% AntWDC05ABoreholeTreconstruction = cell2mat(rawNumericColumns(:, 8));
% AntWDC06ASteig2013 = cell2mat(rawNumericColumns(:, 9));
% AntWDC06ASteig1 = cell2mat(rawNumericColumns(:, 10));
% ArcAgassizVinther2008 = cell2mat(rawNumericColumns(:, 11));
% ArcAkademiiNaukOpel2013 = cell2mat(rawNumericColumns(:, 12));
% ArcArjeplogBjorklund2014 = cell2mat(rawNumericColumns(:, 13));
% ArcArmarnaesBjorkelund2013 = cell2mat(rawNumericColumns(:, 14));
% ArcAustfonnaIsaksson2005 = cell2mat(rawNumericColumns(:, 15));
% ArcAvamTaimyrBriffa2008 = cell2mat(rawNumericColumns(:, 16));
% ArcBird2009 = cell2mat(rawNumericColumns(:, 17));
% ArcCook2009 = cell2mat(rawNumericColumns(:, 18));
% ArcCreteVinther2010 = cell2mat(rawNumericColumns(:, 19));
% ArcDArrigo2006Yuk = cell2mat(rawNumericColumns(:, 20));
% ArcDyeVinther2010 = cell2mat(rawNumericColumns(:, 21));
% ArcGISP2Grootes1997 = cell2mat(rawNumericColumns(:, 22));
% ArcGulfofAlaskaWiles2014 = cell2mat(rawNumericColumns(:, 23));
% ArcHalletLakeMcKay2008 = cell2mat(rawNumericColumns(:, 24));
% ArcKittelfjallBjorkelund2013 = cell2mat(rawNumericColumns(:, 25));
% ArcKongressvatnDAndrea2012 = cell2mat(rawNumericColumns(:, 26));
% ArcLamoureux1996 = cell2mat(rawNumericColumns(:, 27));
% ArcLarsen2011 = cell2mat(rawNumericColumns(:, 28));
% ArcLindholm2010Fennoscandia = cell2mat(rawNumericColumns(:, 29));
% ArcLomonosovfonDivine2013 = cell2mat(rawNumericColumns(:, 30));
% ArcMackenzieDeltaPorter2013 = cell2mat(rawNumericColumns(:, 31));
% ArcMcCarrolForfjordalen2013 = cell2mat(rawNumericColumns(:, 32));
% ArcNGRIP1Vinther2006 = cell2mat(rawNumericColumns(:, 33));
% ArcNGTB16Fischer1998 = cell2mat(rawNumericColumns(:, 34));
% ArcSchneider2015PolarUrals = cell2mat(rawNumericColumns(:, 35));
% ArcSoperLakeBafHughen2000 = cell2mat(rawNumericColumns(:, 36));
% ArcThomas2008 = cell2mat(rawNumericColumns(:, 37));
% ArcTjeggelvasBjorkelund2013 = cell2mat(rawNumericColumns(:, 38));
% ArcTornetraskMelvin2013 = cell2mat(rawNumericColumns(:, 39));
% ArcWindyDome2010Kinnard = cell2mat(rawNumericColumns(:, 40));
% ArcYamaliaBriffa2013 = cell2mat(rawNumericColumns(:, 41));
% ArcZhangJamtland2016 = cell2mat(rawNumericColumns(:, 42));
% AsiaANKHLS = cell2mat(rawNumericColumns(:, 43));
% AsiaASTABP = cell2mat(rawNumericColumns(:, 44));
% AsiaBARELC = cell2mat(rawNumericColumns(:, 45));
% AsiaBAYHLS = cell2mat(rawNumericColumns(:, 46));
% AsiaBDFLON = cell2mat(rawNumericColumns(:, 47));
% AsiaBIARLS = cell2mat(rawNumericColumns(:, 48));
% AsiaBUKPIG = cell2mat(rawNumericColumns(:, 49));
% AsiaBULGLS = cell2mat(rawNumericColumns(:, 50));
% AsiaCILAUP = cell2mat(rawNumericColumns(:, 51));
% AsiaDHURPS = cell2mat(rawNumericColumns(:, 52));
% AsiaENGILC = cell2mat(rawNumericColumns(:, 53));
% AsiaGANGCD = cell2mat(rawNumericColumns(:, 54));
% AsiaGAYTTD = cell2mat(rawNumericColumns(:, 55));
% AsiaHBMXJP = cell2mat(rawNumericColumns(:, 56));
% AsiaHENTLS = cell2mat(rawNumericColumns(:, 57));
% AsiaISBCDD = cell2mat(rawNumericColumns(:, 58));
% AsiaJOTPIG = cell2mat(rawNumericColumns(:, 59));
% AsiaKATKUW = cell2mat(rawNumericColumns(:, 60));
% AsiaKERALA = cell2mat(rawNumericColumns(:, 61));
% AsiaKHELLS = cell2mat(rawNumericColumns(:, 62));
% AsiaKHOVLS = cell2mat(rawNumericColumns(:, 63));
% AsiaKRNKAM = cell2mat(rawNumericColumns(:, 64));
% AsiaKunashirIslaDemezhko2009 = cell2mat(rawNumericColumns(:, 65));
% AsiaLAYAJR = cell2mat(rawNumericColumns(:, 66));
% AsiaMANHPS = cell2mat(rawNumericColumns(:, 67));
% AsiaMAXSIC = cell2mat(rawNumericColumns(:, 68));
% AsiaMOR2JU = cell2mat(rawNumericColumns(:, 69));
% AsiaMOR3JU = cell2mat(rawNumericColumns(:, 70));
% AsiaMSFCDD = cell2mat(rawNumericColumns(:, 71));
% AsiaMTASMD = cell2mat(rawNumericColumns(:, 72));
% AsiaMUNATG = cell2mat(rawNumericColumns(:, 73));
% AsiaMUSPIG = cell2mat(rawNumericColumns(:, 74));
% AsiaNANENG = cell2mat(rawNumericColumns(:, 75));
% AsiaNARANG = cell2mat(rawNumericColumns(:, 76));
% AsiaNASPTD = cell2mat(rawNumericColumns(:, 77));
% AsiaNLTJUE = cell2mat(rawNumericColumns(:, 78));
% AsiaNLTPCS = cell2mat(rawNumericColumns(:, 79));
% AsiaONB = cell2mat(rawNumericColumns(:, 80));
% AsiaQAMDJT = cell2mat(rawNumericColumns(:, 81));
% AsiaQML = cell2mat(rawNumericColumns(:, 82));
% AsiaQUMAJP = cell2mat(rawNumericColumns(:, 83));
% AsiaRANGCD = cell2mat(rawNumericColumns(:, 84));
% AsiaSAT1JU = cell2mat(rawNumericColumns(:, 85));
% AsiaSMASLY = cell2mat(rawNumericColumns(:, 86));
% AsiaSODAPS = cell2mat(rawNumericColumns(:, 87));
% AsiaSUBALS = cell2mat(rawNumericColumns(:, 88));
% AsiaSUMELS = cell2mat(rawNumericColumns(:, 89));
% AsiaTKACDD = cell2mat(rawNumericColumns(:, 90));
% AsiaTSHEPS = cell2mat(rawNumericColumns(:, 91));
% AsiaUKHEWD = cell2mat(rawNumericColumns(:, 92));
% AsiaUKHEWW = cell2mat(rawNumericColumns(:, 93));
% AsiaUKHLWD = cell2mat(rawNumericColumns(:, 94));
% AsiaUKHLWW = cell2mat(rawNumericColumns(:, 95));
% AsiaUKHMXD = cell2mat(rawNumericColumns(:, 96));
% AsiaUKHTRW = cell2mat(rawNumericColumns(:, 97));
% AsiaZHANGX = cell2mat(rawNumericColumns(:, 98));
% AsiaZURTLS = cell2mat(rawNumericColumns(:, 99));
% AusCTPEastTasmaAllen2001 = cell2mat(rawNumericColumns(:, 100));
% AusCTPWestTasmaAllen2001 = cell2mat(rawNumericColumns(:, 101));
% AusMtReadCook2006 = cell2mat(rawNumericColumns(:, 102));
% AusOrokoCook2002 = cell2mat(rawNumericColumns(:, 103));
% AusPinkPineNZDuncan2010 = cell2mat(rawNumericColumns(:, 104));
% AusStewartIslanDArrigo1995 = cell2mat(rawNumericColumns(:, 105));
% EurCentralEuBuntgen2011 = cell2mat(rawNumericColumns(:, 106));
% EurCentralEuDobrovolny2010 = cell2mat(rawNumericColumns(:, 107));
% EurECarpathiansPopa2009 = cell2mat(rawNumericColumns(:, 108));
% EurFinnishLakesHelama2014 = cell2mat(rawNumericColumns(:, 109));
% EurFrenchAlpsBuentgen2012 = cell2mat(rawNumericColumns(:, 110));
% EurLakeSilvaplaLarocqueTobler2010 = cell2mat(rawNumericColumns(:, 111));
% EurLotschentalBuentgen2006 = cell2mat(rawNumericColumns(:, 112));
% EurNScanEsper2012 = cell2mat(rawNumericColumns(:, 113));
% EurSPyreneesLinan2012 = cell2mat(rawNumericColumns(:, 114));
% EurSpainMartinChivelet2011 = cell2mat(rawNumericColumns(:, 115));
% EurStockholmLeijonhufvud2010 = cell2mat(rawNumericColumns(:, 116));
% EurTallinnTarand2001 = cell2mat(rawNumericColumns(:, 117));
% EurTat12 = cell2mat(rawNumericColumns(:, 118));
% NAmFRE = cell2mat(rawNumericColumns(:, 119));
% NAmGB = cell2mat(rawNumericColumns(:, 120));
% NAmGreenLake = cell2mat(rawNumericColumns(:, 121));
% NAmSFP = cell2mat(rawNumericColumns(:, 122));
% NAmSTREC = cell2mat(rawNumericColumns(:, 123));
% NAmak001 = cell2mat(rawNumericColumns(:, 124));
% NAmak006 = cell2mat(rawNumericColumns(:, 125));
% NAmak010 = cell2mat(rawNumericColumns(:, 126));
% NAmak021 = cell2mat(rawNumericColumns(:, 127));
% NAmak035 = cell2mat(rawNumericColumns(:, 128));
% NAmak046 = cell2mat(rawNumericColumns(:, 129));
% NAmak060 = cell2mat(rawNumericColumns(:, 130));
% NAmak074 = cell2mat(rawNumericColumns(:, 131));
% NAmak078 = cell2mat(rawNumericColumns(:, 132));
% NAmak094 = cell2mat(rawNumericColumns(:, 133));
% NAmak098 = cell2mat(rawNumericColumns(:, 134));
% NAmak102 = cell2mat(rawNumericColumns(:, 135));
% NAmak114 = cell2mat(rawNumericColumns(:, 136));
% NAmak115 = cell2mat(rawNumericColumns(:, 137));
% NAmak116 = cell2mat(rawNumericColumns(:, 138));
% NAmak132 = cell2mat(rawNumericColumns(:, 139));
% NAmaz553 = cell2mat(rawNumericColumns(:, 140));
% NAmca528 = cell2mat(rawNumericColumns(:, 141));
% NAmca529 = cell2mat(rawNumericColumns(:, 142));
% NAmca560 = cell2mat(rawNumericColumns(:, 143));
% NAmca636 = cell2mat(rawNumericColumns(:, 144));
% NAmcana002 = cell2mat(rawNumericColumns(:, 145));
% NAmcana062 = cell2mat(rawNumericColumns(:, 146));
% NAmcana091 = cell2mat(rawNumericColumns(:, 147));
% NAmcana094 = cell2mat(rawNumericColumns(:, 148));
% NAmcana096 = cell2mat(rawNumericColumns(:, 149));
% NAmcana097 = cell2mat(rawNumericColumns(:, 150));
% NAmcana111 = cell2mat(rawNumericColumns(:, 151));
% NAmcana113 = cell2mat(rawNumericColumns(:, 152));
% NAmcana151 = cell2mat(rawNumericColumns(:, 153));
% NAmcana153 = cell2mat(rawNumericColumns(:, 154));
% NAmcana157 = cell2mat(rawNumericColumns(:, 155));
% NAmcana169 = cell2mat(rawNumericColumns(:, 156));
% NAmcana225 = cell2mat(rawNumericColumns(:, 157));
% NAmcana231 = cell2mat(rawNumericColumns(:, 158));
% NAmcana234 = cell2mat(rawNumericColumns(:, 159));
% NAmcana238 = cell2mat(rawNumericColumns(:, 160));
% NAmcana324 = cell2mat(rawNumericColumns(:, 161));
% NAmcana358 = cell2mat(rawNumericColumns(:, 162));
% NAmcana432 = cell2mat(rawNumericColumns(:, 163));
% NAmco552 = cell2mat(rawNumericColumns(:, 164));
% NAmco554 = cell2mat(rawNumericColumns(:, 165));
% NAmco586 = cell2mat(rawNumericColumns(:, 166));
% NAmid008 = cell2mat(rawNumericColumns(:, 167));
% NAmid013 = cell2mat(rawNumericColumns(:, 168));
% NAmme010 = cell2mat(rawNumericColumns(:, 169));
% NAmmexi043 = cell2mat(rawNumericColumns(:, 170));
% NAmmt108 = cell2mat(rawNumericColumns(:, 171));
% NAmmt112 = cell2mat(rawNumericColumns(:, 172));
% NAmmt119 = cell2mat(rawNumericColumns(:, 173));
% NAmmt120 = cell2mat(rawNumericColumns(:, 174));
% NAmnv512 = cell2mat(rawNumericColumns(:, 175));
% NAmnv513 = cell2mat(rawNumericColumns(:, 176));
% NAmor042 = cell2mat(rawNumericColumns(:, 177));
% NAmor043 = cell2mat(rawNumericColumns(:, 178));
% NAmut511 = cell2mat(rawNumericColumns(:, 179));
% NAmwa056 = cell2mat(rawNumericColumns(:, 180));
% NAmwa083 = cell2mat(rawNumericColumns(:, 181));
% NAmwa097 = cell2mat(rawNumericColumns(:, 182));
% NAmwy021 = cell2mat(rawNumericColumns(:, 183));
% NAmwy022 = cell2mat(rawNumericColumns(:, 184));
% NAmwy023 = cell2mat(rawNumericColumns(:, 185));
% NAmwy025 = cell2mat(rawNumericColumns(:, 186));
% NAmwy1 = cell2mat(rawNumericColumns(:, 187));
% NAmwy030 = cell2mat(rawNumericColumns(:, 188));
% AfricaP17815Tierney2015 = cell2mat(rawNumericColumns(:, 189));
% O2kLRCapeGhirMcGregor2007 = cell2mat(rawNumericColumns(:, 190));
% O2kLRCariacoBasinBlack2007 = cell2mat(rawNumericColumns(:, 191));
% O2kLREasternTropicalNorthAtlanticKuhnert2011 = cell2mat(rawNumericColumns(:, 192));
% O2kLRGreatBarrierHendy2002 = cell2mat(rawNumericColumns(:, 193));
% O2kLRMakassarStraitOppo2009 = cell2mat(rawNumericColumns(:, 194));
% O2kLRMinorcaMoreno2012 = cell2mat(rawNumericColumns(:, 195));
% O2kLRWesternAntarcticPeninsulaShevenell2011 = cell2mat(rawNumericColumns(:, 196));
% Ocean2kHRAtlanticBahamasExumaRosenheim2005 = cell2mat(rawNumericColumns(:, 197));
% Ocean2kHRAtlanticBahamasExumaRosenheim1 = cell2mat(rawNumericColumns(:, 198));
% Ocean2kHRAtlanticBahamasSaenger2009 = cell2mat(rawNumericColumns(:, 199));
% Ocean2kHRAtlanticBermudaKuhnert2005 = cell2mat(rawNumericColumns(:, 200));
% Ocean2kHRAtlanticDryTortugasDeLong2014 = cell2mat(rawNumericColumns(:, 201));
% Ocean2kHRAtlanticGuadeloupeHetzinger2010 = cell2mat(rawNumericColumns(:, 202));
% Ocean2kHRAtlanticGuadeloupeHetzinger1 = cell2mat(rawNumericColumns(:, 203));
% Ocean2kHRAtlanticLosRoquesHetzinger2008 = cell2mat(rawNumericColumns(:, 204));
% Ocean2kHRAtlanticMexicoVasquez2012 = cell2mat(rawNumericColumns(:, 205));
% Ocean2kHRAtlanticMontegoBayHaaseSchramm2003 = cell2mat(rawNumericColumns(:, 206));
% Ocean2kHRAtlanticPedroBankHaaseSchramm2003 = cell2mat(rawNumericColumns(:, 207));
% Ocean2kHRAtlanticPuertoRicoKilbourne2008 = cell2mat(rawNumericColumns(:, 208));
% Ocean2kHRAtlanticTobagoMoses2006Montastrea = cell2mat(rawNumericColumns(:, 209));
% Ocean2kHRIndianAbrolhosKuhnert1999 = cell2mat(rawNumericColumns(:, 210));
% Ocean2kHRIndianAbrolhosZinke2014HAB05B = cell2mat(rawNumericColumns(:, 211));
% Ocean2kHRIndianAbrolhosZinke2014HAB10A = cell2mat(rawNumericColumns(:, 212));
% Ocean2kHRIndianAbrolhosZinke2014HAB10A1 = cell2mat(rawNumericColumns(:, 213));
% Ocean2kHRIndianAqabaHeiss1994AQ19 = cell2mat(rawNumericColumns(:, 214));
% Ocean2kHRIndianIfatyTulearZinke2014if1 = cell2mat(rawNumericColumns(:, 215));
% Ocean2kHRIndianIfatyTulearZinke2014tul3 = cell2mat(rawNumericColumns(:, 216));
% Ocean2kHRIndianKenyaNakamura2009 = cell2mat(rawNumericColumns(:, 217));
% Ocean2kHRIndianMalindiCole2000 = cell2mat(rawNumericColumns(:, 218));
% Ocean2kHRIndianMayotteZinke20082009 = cell2mat(rawNumericColumns(:, 219));
% Ocean2kHRIndianMayotteZinke1 = cell2mat(rawNumericColumns(:, 220));
% Ocean2kHRIndianMentawaiAbram2008 = cell2mat(rawNumericColumns(:, 221));
% Ocean2kHRIndianNingalooKuhnert2000 = cell2mat(rawNumericColumns(:, 222));
% Ocean2kHRIndianRedSeaFelis2000 = cell2mat(rawNumericColumns(:, 223));
% Ocean2kHRIndianReunionPfeiffer2004 = cell2mat(rawNumericColumns(:, 224));
% Ocean2kHRIndianSeychellesCharles1997 = cell2mat(rawNumericColumns(:, 225));
% Ocean2kHRIndianWAGrowthAbrolhosCooper2012 = cell2mat(rawNumericColumns(:, 226));
% Ocean2kHRIndianWAGrowthCoralBayCooper2012 = cell2mat(rawNumericColumns(:, 227));
% Ocean2kHRPacificAlibert2008Papua = cell2mat(rawNumericColumns(:, 228));
% Ocean2kHRPacificBunakenCharles2003 = cell2mat(rawNumericColumns(:, 229));
% Ocean2kHRPacificClippertonClipp2bWu2014 = cell2mat(rawNumericColumns(:, 230));
% Ocean2kHRPacificClippertonClipp4bWu2014 = cell2mat(rawNumericColumns(:, 231));
% Ocean2kHRPacificClippertonClipp6aWu2014 = cell2mat(rawNumericColumns(:, 232));
% Ocean2kHRPacificClippertonClippf1bWu2014 = cell2mat(rawNumericColumns(:, 233));
% Ocean2kHRPacificClippertonClippf1bWu1 = cell2mat(rawNumericColumns(:, 234));
% Ocean2kHRPacificClippertonLinsley2000 = cell2mat(rawNumericColumns(:, 235));
% Ocean2kHRPacificCoralSeaCalvo2007 = cell2mat(rawNumericColumns(:, 236));
% Ocean2kHRPacificCoralSeaCalvo1 = cell2mat(rawNumericColumns(:, 237));
% Ocean2kHRPacificFelis2009OgasawaraJapan = cell2mat(rawNumericColumns(:, 238));
% Ocean2kHRPacificGBRWei2009 = cell2mat(rawNumericColumns(:, 239));
% Ocean2kHRPacificGalapagosDunbar1994 = cell2mat(rawNumericColumns(:, 240));
% Ocean2kHRPacificGuamAsami2005 = cell2mat(rawNumericColumns(:, 241));
% Ocean2kHRPacificKiritimatiEvans1998 = cell2mat(rawNumericColumns(:, 242));
% Ocean2kHRPacificLiangTudhope2001 = cell2mat(rawNumericColumns(:, 243));
% Ocean2kHRPacificLinsley2006Fiji1F = cell2mat(rawNumericColumns(:, 244));
% Ocean2kHRPacificLinsley2006FijiAB = cell2mat(rawNumericColumns(:, 245));
% Ocean2kHRPacificLinsley2006RarotongaSrCa2R = cell2mat(rawNumericColumns(:, 246));
% Ocean2kHRPacificLinsley2006Rarotongad18O3R = cell2mat(rawNumericColumns(:, 247));
% Ocean2kHRPacificLinsley2006Rarotongad18O99 = cell2mat(rawNumericColumns(:, 248));
% Ocean2kHRPacificMaianaUrban2000 = cell2mat(rawNumericColumns(:, 249));
% Ocean2kHRPacificMooreaBoiseau2003 = cell2mat(rawNumericColumns(:, 250));
% Ocean2kHRPacificNauruGuilderson1999 = cell2mat(rawNumericColumns(:, 251));
% Ocean2kHRPacificNewCaledoniaDelong2012 = cell2mat(rawNumericColumns(:, 252));
% Ocean2kHRPacificNurhati2011 = cell2mat(rawNumericColumns(:, 253));
% Ocean2kHRPacificPNGTudhope1995 = cell2mat(rawNumericColumns(:, 254));
% Ocean2kHRPacificPalaurockislandsOsborne2014 = cell2mat(rawNumericColumns(:, 255));
% Ocean2kHRPacificPalauulongchannelOsborne2014 = cell2mat(rawNumericColumns(:, 256));
% Ocean2kHRPacificPalmyracombinedCobb2003 = cell2mat(rawNumericColumns(:, 257));
% Ocean2kHRPacificPanamaLinsley1994 = cell2mat(rawNumericColumns(:, 258));
% Ocean2kHRPacificSCSSun2004 = cell2mat(rawNumericColumns(:, 259));
% Ocean2kHRPacificSuvaBagnato2005 = cell2mat(rawNumericColumdns(:, 260));
% Ocean2kHRPacificTarawaCole1990 = cell2mat(rawNumericColumns(:, 261));
% Ocean2kHRPacificWu2013Tonga = cell2mat(rawNumericColumns(:, 262));
% SAmLagunaAculeovonGunten2009 = cell2mat(rawNumericColumns(:, 263));
% SAmQuelccayaIceThompson2013 = cell2mat(rawNumericColumns(:, 264));


%% Clear temporary variables
%clearvars filename delimiter formatSpec fileID dataArray ans raw col numericData rawData row regexstr result numbers invalidThousandsSeparator thousandsRegExp me rawNumericColumns rawCellColumns R;