function [data, auxData, metaData, txtData, weights] = mydata_Octopus_tetricus

%% set metaData
metaData.phylum     = 'Mollusca'; 
metaData.class      = 'Cephalopoda'; 
metaData.order      = 'Octopoda'; 
metaData.family     = 'Octopodidae';
metaData.species    = 'Octopus_tetricus'; 
metaData.species_en = 'Common Sydney octopus'; 

metaData.ecoCode.climate = {'MA', 'MB'};
metaData.ecoCode.ecozone = {'MISE', 'MPSW'};
metaData.ecoCode.habitat = {'0jMc', 'jiMb'};
metaData.ecoCode.embryo  = {'Mc'};
metaData.ecoCode.migrate = {};
metaData.ecoCode.food    = {'bjPz', 'jiCi', 'jiCvf'};
metaData.ecoCode.gender  = {'D'};
metaData.ecoCode.reprod  = {'Os'};

metaData.T_typical  = C2K(22); % K, body temp
metaData.data_0     = {'ab'; 'aj'; 'ap'; 'am'; 'Wwb'; 'Wwp'; 'Ni'}; 
metaData.data_1     = {'t-Ww'}; 

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman'};    
metaData.date_subm = [2019 01 17];              
metaData.email    = {'bas.kooijman@vu.nl'};            
metaData.address  = {'VU University Amsterdam'};   

metaData.curator     = {'Starrlight Augustine'};
metaData.email_cur   = {'starrlight.augustine@akvaplan.niva.no'}; 
metaData.date_acc    = [2019 01 17]; 

%% set data
% zero-variate data

data.ab = 30;     units.ab = 'd';    label.ab = 'age at birth';              bibkey.ab = 'LepoHart2015';   
  temp.ab = C2K(22);     units.temp.ab = 'K'; label.temp.ab = 'temperature'; 
data.tj = 50;     units.tj = 'd';    label.tj = 'time since birth at end planktonic paralarva'; bibkey.tj = 'LepoHart2015';   
  temp.tj = C2K(22);     units.temp.tj = 'K'; label.temp.tj = 'temperature'; 
data.tp = 370;     units.tp = 'd';    label.tp = 'age at puberty  for females'; bibkey.tp = 'LepoHart2015';   
  temp.tp = C2K(22);     units.temp.tp = 'K'; label.temp.tp = 'temperature'; 
data.tpm = 240;     units.tpm = 'd';    label.tpm = 'age at puberty for males'; bibkey.tpm = 'LepoHart2015';   
  temp.tpm = C2K(22);     units.temp.tpm = 'K'; label.temp.tpm = 'temperature'; 
data.am = 600;     units.am = 'd';    label.am = 'life span';                bibkey.am = 'LepoHart2015';   
  temp.am = C2K(22);     units.temp.am = 'K'; label.temp.am = 'temperature'; 
  
data.Wwb = 0.0042; units.Wwb = 'g';   label.Wwb = 'dry weight at birth';     bibkey.Wwb = 'guess';
  comment.Wwb = 'based on egg diameter of 2 mm: pi/6*0.2^3';
data.Wwp = 1700;    units.Wwp = 'g';   label.Wwp = 'wet weight at puberty for females';   bibkey.Wwp = 'LepoHart2015';
data.Wwpm = 650;    units.Wwpm = 'g';   label.Wwpm = 'wet weight at puberty for males';   bibkey.Wwpm = 'LepoHart2015';

data.Ni  = 5e5; units.Ni  = '#';   label.Ni  = 'cum reprod at death';     bibkey.Ni  = 'LepoHart2015';   
  temp.Ni = C2K(22);    units.temp.Ni = 'K'; label.temp.Ni = 'temperature';
  comment.Ni = 'free interpretation of "hunderds of thousands of eggs"';
 
% uni-variate data
% t-W data
data.tW_f = [ ... % time since birth (d), wet weight (g)
97.250	138.462
106.546	190.385
112.981	164.423
112.981	129.808
114.411	207.692
119.417	173.077
123.707	173.077
125.138	207.692
125.138	242.308
131.573	233.654
131.573	285.577
132.288	190.385
135.864	138.462
135.864	199.038
135.864	268.269
135.864	328.846
140.869	207.692
140.869	276.923
140.869	294.231
141.584	363.462
145.875	216.346
145.875	276.923
145.875	346.154
149.450	242.308
149.450	311.538
152.310	242.308
152.310	276.923
154.455	380.769
158.031	242.308
158.031	346.154
158.031	501.923
159.461	311.538
159.461	380.769
160.176	242.308
161.606	294.231
161.606	450.000
161.606	995.192
164.466	545.192
165.182	415.385
166.612	380.769
166.612	346.154
167.327	242.308
169.472	346.154
170.902	458.654
171.617	571.154
172.332	268.269
172.332	380.769
172.332	415.385
173.762	346.154
175.908	354.808
175.908	415.385
176.623	484.615
179.483	276.923
180.913	415.385
180.913	501.923
180.913	553.846
183.773	597.115
185.204	363.462
185.204	553.846
185.919	415.385
186.634	450.000
186.634	484.615
189.494	372.115
189.494	597.115
191.639	510.577
191.639	579.808
192.354	450.000
193.069	735.577
194.499	363.462
195.215	493.269
197.360	683.654
198.075	553.846
198.075	1254.808
198.790	380.769
198.790	527.885
200.220	484.615
200.220	623.077
200.220	735.577
203.080	441.346
203.795	588.462
205.226	501.923
205.941	354.808
206.656	623.077
206.656	882.692
208.086	519.231
209.516	657.692
210.946	363.462
210.946	510.577
210.946	458.654
211.661	579.808
212.376	908.654
212.376	865.385
212.376	822.115
213.806	597.115
213.806	579.808
215.237	692.308
215.952	493.269
218.812	527.885
218.812	579.808
218.812	432.692
219.527	770.192
219.527	813.462
222.387	666.346
223.817	579.808
223.817	623.077
223.817	709.615
225.248	562.500
225.248	951.923
226.678	484.615
228.108	553.846
228.108	623.077
228.823	709.615
229.538	848.077
229.538	891.346
231.683	804.808
231.683	484.615
232.398	709.615
233.113	501.923
233.828	579.808
234.543	623.077
235.259	761.538
236.689	986.538
236.689	830.769
238.119	1194.231
238.834	787.500
238.834	666.346
238.834	579.808
240.264	510.577
240.264	467.308
240.264	726.923
240.979	415.385
243.839	874.038
243.839	657.692
245.270	813.462
246.700	726.923
248.130	597.115
249.560	813.462
250.275	761.538
250.275	900.000
250.275	1220.192
252.420	519.231
253.850	571.154
253.850	865.385
255.996	804.808
255.996	900.000
257.426	588.462
258.141	770.192
258.141	848.077
259.571	1107.692
261.001	960.577
261.001	917.308
261.716	700.962
263.146	995.192
263.146	891.346
263.861	830.769
265.292	1064.423
265.292	1081.731
265.292	1133.654
265.292	1254.808
266.007	735.577
266.722	848.077
266.722	943.269
266.722	1410.577
269.582	631.731
269.582	917.308
269.582	1133.654
270.297	692.308
270.297	1029.808
270.297	1246.154
271.012	969.231
271.012	1107.692
271.727	761.538
272.442	830.769
273.872	692.308
274.587	1176.923
275.303	900.000
276.733	804.808
276.733	1012.500
277.448	917.308
277.448	977.885
278.878	735.577
278.878	1289.423
279.593	1150.962
280.308	804.808
281.023	1194.231
281.023	1523.077
281.023	960.577
281.023	1047.115
283.168	1150.962
283.883	1142.308
283.883	874.038
285.314	718.269
285.314	1393.269
286.744	1038.462
286.744	917.308
287.459	1142.308
287.459	1254.808
288.174	1298.077
288.889	1176.923
288.889	995.192
288.889	865.385
288.889	813.462
289.604	1341.346
289.604	1073.077
292.464	1237.500
292.464	1401.923
292.464	1090.385
292.464	925.962
292.464	787.500
293.179	709.615
294.609	1168.269
294.609	969.231
294.609	882.692
295.325	1125.000
296.040	1384.615
296.040	1445.192
296.040	1159.615
296.040	943.269
296.755	1090.385
296.755	1583.654
297.470	1012.500
297.470	1800.000
298.185	1211.538
298.900	778.846
298.900	726.923
299.615	917.308
299.615	1592.308
301.045	1185.577
301.760	1073.077
302.475	1851.923
303.190	1427.885
303.190	969.231
303.905	1220.192
303.905	2665.385
304.620	649.038
306.051	1427.885
306.051	1358.654
306.051	1315.385
306.051	225.000
306.766	1272.115
306.766	796.154
306.766	917.308
306.766	1003.846
306.766	1073.077
306.766	1116.346
309.626	1375.962
310.341	1254.808
311.056	1497.115
311.056	1557.692
311.771	1012.500
312.486	1220.192
312.486	605.769
312.486	1142.308
312.486	1661.538
313.916	1350.000
313.916	1557.692
313.916	1609.615
314.631	1973.077
316.062	1280.769
316.062	943.269
316.062	1133.654
317.492	1367.308
317.492	1609.615
318.207	1185.577
318.207	1021.154
318.207	1955.769
320.352	1410.577
320.352	1341.346
320.352	1306.731
320.352	1237.500
321.067	1185.577
321.067	1116.346
323.212	1047.115
323.212	1696.154
323.927	951.923
323.927	1202.885
323.927	2526.923
324.642	804.808
324.642	1531.731
325.358	1497.115
326.073	1730.769
327.503	1125.000
327.503	1159.615
327.503	1254.808
328.218	848.077
328.218	1125.000
328.933	1592.308
329.648	1341.346
329.648	1445.192
330.363	1038.462
330.363	986.538
330.363	1549.038
330.363	1886.538
330.363	1834.615
331.793	1453.846
331.793	2033.654
332.508	1073.077
332.508	1280.769
332.508	1800.000
332.508	1670.192
333.223	1298.077
333.223	1600.962
333.938	1073.077
334.653	1280.769
336.084	1237.500
336.084	1670.192
336.799	1462.500
337.514	1332.692
337.514	1375.962
337.514	2111.538
338.229	1176.923
338.229	1938.462
338.229	1644.231
338.944	1445.192
338.944	1765.385
339.659	1003.846
339.659	1350.000
341.089	1211.538
341.089	1730.769
341.089	1557.692
341.804	1626.923
342.519	1194.231
342.519	1471.154
343.234	1739.423
343.234	1696.154
343.949	1090.385
343.949	1393.269
343.949	1272.115
343.949	1583.654
344.664	1246.154
345.380	1211.538
345.380	1159.615
346.095	1384.615
346.095	1315.385
346.095	1514.423
346.095	2076.923
346.095	1696.154
346.095	1644.231
347.525	1592.308
348.240	1549.038
348.240	1350.000
348.240	1895.192
348.955	934.615
348.955	1021.154
349.670	1765.385
349.670	1800.000
349.670	1176.923
350.385	1661.538
351.100	1436.538
351.815	1107.692
352.530	2076.923
352.530	1202.885
352.530	1099.038
353.245	1202.885
353.245	1851.923
353.245	1895.192
353.960	2250.000
353.960	2630.769
354.675	1306.731
354.675	1246.154
354.675	1626.923
355.391	1367.308
355.391	1367.308
355.391	1696.154
355.391	1765.385
355.391	1808.654
355.391	1947.115
356.106	2345.192
356.821	1350.000
356.821	2163.462
357.536	1575.000
357.536	1626.923
358.251	1453.846
358.251	1427.885
358.251	1505.769
358.251	2301.923
358.966	1272.115
358.966	1903.846
358.966	1964.423
359.681	1099.038
359.681	1670.192
359.681	1964.423
360.396	1332.692
360.396	1566.346
360.396	1808.654
361.111	1462.500
361.111	1765.385
361.826	1505.769
361.826	1566.346
363.256	2111.538
363.971	1367.308
363.971	1445.192
363.971	1583.654
363.971	1523.077
363.971	1540.385
363.971	1696.154
364.686	1159.615
364.686	1609.615
366.117	2025.000
366.117	2734.615
366.832	1514.423
366.832	1955.769
368.262	726.923
368.262	657.692
368.262	1315.385
368.977	1618.269
368.977	1739.423
368.977	1860.577
370.407	1938.462
370.407	1834.615
371.837	1549.038
371.837	1609.615
372.552	1142.308
372.552	1410.577
372.552	1514.423
372.552	2301.923
372.552	2146.154
373.267	1730.769
373.267	1722.115
373.267	1644.231
373.982	1315.385
373.982	2570.192
374.697	2258.654
374.697	2050.962
375.413	1774.038
375.413	1661.538
375.413	1877.885
375.413	1947.115
376.128	1661.538
376.843	1436.538
376.843	2076.923
376.843	2198.077
378.273	1029.808
378.273	1462.500
378.273	1800.000
378.273	2353.846
378.988	1652.885
379.703	2033.654
379.703	1964.423
379.703	1843.269
379.703	1704.808
380.418	1237.500
380.418	2379.808
381.133	2250.000
381.133	2224.038
381.133	1635.577
382.563	1306.731
382.563	2146.154
382.563	1851.923
382.563	1566.346
383.278	1375.962
383.278	1644.231
383.993	2423.077
383.993	2042.308
383.993	2007.692
383.993	1973.077
383.993	1895.192
383.993	1704.808
383.993	1687.500
384.708	1280.769
384.708	1730.769
384.708	1730.769
384.708	1722.115
385.424	1549.038
386.139	2146.154
386.854	1384.615
386.854	2596.154
386.854	1860.577
386.854	1514.423
386.854	3262.500
387.569	2215.385
387.569	2042.308
388.284	2440.385
388.284	1964.423
388.284	1739.423
389.714	2198.077
389.714	2258.654
389.714	1851.923
390.429	1774.038
390.429	1557.692
391.144	1315.385
391.144	2734.615
391.859	1384.615
391.859	3063.462
391.859	2033.654
391.859	1973.077
392.574	2016.346
393.289	1903.846
393.289	1514.423
394.004	2345.192
394.004	2561.538
395.435	1341.346
395.435	2691.346
395.435	2085.577
395.435	1557.692
396.865	2284.615
397.580	2665.385
397.580	1774.038
398.295	1834.615
398.295	3426.923
399.010	1324.038
399.010	2059.615
399.010	1964.423
399.010	1600.962
399.010	1626.923
401.155	1947.115
401.870	2206.731
401.870	1981.731
401.870	1774.038
402.585	2449.038
402.585	2492.308
402.585	2942.308
402.585	2137.500
402.585	2007.692
402.585	2059.615
402.585	1523.077
404.015	320.192
404.015	2198.077
404.015	1903.846
404.015	1843.269
404.730	2154.808
404.730	1609.615
405.446	1211.538
405.446	1375.962
405.446	1661.538
405.446	1756.731
406.876	1453.846
408.306	2379.808
408.306	2379.808
408.306	2076.923
408.306	1817.308
409.021	1324.038
409.736	865.385
409.736	2440.385
409.736	2059.615
409.736	1618.269
409.736	1730.769
409.736	1800.000
409.736	1921.154
410.451	1099.038
410.451	2734.615
410.451	2700.000
411.881	1540.385
412.596	2466.346
412.596	2224.038
414.026	1869.231
414.741	1073.077
415.457	813.462
415.457	2795.192
416.172	2613.462
416.887	1800.000
417.602	2674.038
417.602	1687.500
417.602	1851.923
417.602	1955.769
417.602	2076.923
419.032	1531.731
419.032	1938.462
419.032	1886.538
419.032	2180.769
421.177	1834.615
421.177	1886.538
421.177	1990.385
421.177	2059.615
421.177	2241.346
421.177	2423.077
421.177	2899.038
422.607	2180.769
422.607	2319.231
422.607	3496.154
423.322	1350.000
423.322	2128.846
423.322	2379.808
424.037	2440.385
424.037	2535.577
426.183	2466.346
426.183	2596.154
426.183	2847.115
426.898	2656.731
427.613	2241.346
428.328	2319.231
428.328	2526.923
428.328	3063.462
429.758	1324.038
429.758	1185.577
429.758	2812.500
429.758	2942.308
431.188	2007.692
434.048	1142.308
434.048	2648.077
434.763	3089.423
436.194	2172.115
436.909	2500.962
436.909	1825.962
437.624	1808.654
437.624	1748.077
438.339	2578.846
438.339	2258.654
438.339	2172.115
438.339	1912.500
439.054	3011.538
439.054	2050.962
441.199	2648.077
444.059	1298.077
444.774	3504.808
444.774	3115.385
444.774	2094.231
444.774	1800.000
445.490	2890.385
445.490	2284.615
446.205	1419.231
446.920	1626.923
446.920	1687.500
446.920	2725.962
448.350	2319.231
448.350	2241.346
448.350	1938.462
449.065	2873.077
449.780	1557.692
449.780	2025.000
450.495	1834.615
452.640	1635.577
452.640	4456.731
453.355	2146.154
454.070	1860.577
456.216	2492.308
456.931	2942.308
456.931	2371.154
458.361	977.885
458.361	2907.692
458.361	2284.615
459.076	1869.231
461.221	1825.962
461.936	3790.385
461.936	2552.885
469.802	3435.577
469.802	2250.000
472.662	2518.269
474.092	2674.038
479.098	2198.077
479.098	1427.885
479.813	3807.692
480.528	3201.923
480.528	3158.654
481.243	2630.769
483.388	3755.769
483.388	2224.038
484.818	2189.423
486.249	2976.923
486.249	2371.154
512.706	1748.077
517.712	1990.385
532.728	4119.231];
n=size(data.tW_f,1); for i=2:n; if data.tW_f(i,1)<=data.tW_f(i-1,1);data.tW_f(i,1)=data.tW_f(i-1,1)+1e-8;end;end
units.tW_f   = {'d', 'g'};  label.tW_f = {'time', 'wet weight', 'female'};  
temp.tW_f    = C2K(22);  units.temp.tW_f = 'K'; label.temp.tW_f = 'temperature';
bibkey.tW_f = 'LepoHart2015';
comment.tW_f = 'Data for females';
%
data.tW_m = [ ... % time since birth (d), wet weight (g)
84.156	146.336
95.857	210.720
102.452	164.519
103.177	210.616
107.585	109.119
109.037	182.869
109.043	145.983
116.360	164.322
119.267	293.379
120.012	210.377
120.015	191.934
126.597	228.726
126.605	182.619
132.441	302.414
132.449	256.307
132.461	182.536
137.554	366.890
137.560	330.005
137.569	274.677
137.574	247.013
137.578	219.349
137.589	154.800
142.684	329.932
142.695	265.383
144.885	302.237
146.347	311.438
146.355	265.331
146.359	237.667
148.528	403.620
149.283	265.290
150.750	246.826
150.754	219.162
154.395	338.987
155.002	1104.348
155.863	311.303
157.324	329.725
157.324	329.725
158.039	431.149
160.267	237.470
160.963	458.771
160.991	283.566
160.993	274.345
165.343	532.480
165.365	394.160
165.379	311.168
168.275	504.774
168.298	366.454
171.920	596.936
171.944	449.394
171.973	274.189
174.142	440.142
174.152	375.592
174.160	329.486
176.362	292.569
177.073	421.658
177.820	329.434
178.535	430.858
179.250	532.282
179.994	458.501
182.937	366.246
183.639	550.663
186.572	522.957
187.146	1491.187
188.042	486.051
188.049	439.944
188.058	384.616
192.417	587.423
192.429	513.653
193.203	255.445
193.892	522.853
195.339	624.267
195.369	439.841
197.543	578.129
198.297	439.799
198.983	725.650
200.454	679.523
201.219	476.643
202.696	393.630
203.397	587.268
203.407	522.718
206.314	651.776
206.331	550.341
207.811	448.885
209.964	716.273
209.971	670.166
209.986	577.953
210.001	485.740
210.753	365.852
212.884	762.338
212.919	550.247
212.925	513.362
212.949	365.821
214.359	697.768
214.365	660.883
214.396	467.235
214.404	421.128
215.863	448.771
218.029	633.167
218.731	817.583
219.487	670.031
221.665	780.656
221.712	494.795
222.436	540.891
222.459	402.571
223.131	771.414
225.383	420.972
226.084	614.610
226.091	568.503
226.790	771.362
227.525	752.909
228.277	633.021
229.735	669.886
230.456	734.425
230.485	559.220
231.151	964.948
231.205	632.980
233.395	669.834
233.411	568.399
233.420	513.071
234.106	798.922
236.302	798.891
236.315	715.899
236.333	605.243
237.047	715.889
239.267	568.316
239.953	854.167
239.987	642.077
240.701	752.722
241.417	854.146
241.490	402.301
242.878	872.568
242.918	623.592
244.411	448.366
245.075	863.316
245.084	807.988
245.096	734.217
245.882	402.239
246.590	549.770
247.989	946.266
248.001	872.496
248.030	697.290
248.036	660.405
248.045	605.077
248.061	503.642
249.485	752.597
250.890	1112.209
250.898	1066.102
250.977	577.371
251.660	881.665
252.398	844.769
252.399	835.548
253.070	1213.612
253.884	706.429
254.588	881.623
254.595	835.517
254.613	724.861
255.368	586.530
256.067	789.389
256.112	512.749
257.532	780.147
258.237	946.121
258.281	678.702
258.309	503.497
258.981	872.340
259.004	734.020
259.701	946.100
259.748	660.239
259.748	660.239
259.754	623.353
259.760	586.468
261.110	1287.269
262.665	724.747
263.357	973.712
263.378	844.614
263.393	752.400
264.104	881.488
264.848	807.707
265.598	697.041
265.620	558.721
265.628	512.614
267.038	844.562
267.092	512.594
267.794	697.010
268.541	604.786
269.241	798.424
269.934	1038.168
270.685	918.280
271.414	936.713
271.435	807.614
271.435	807.614
271.443	761.507
271.477	549.417
272.187	687.726
272.203	586.292
272.863	1028.905
275.071	955.103
275.109	724.570
275.761	1213.290
275.833	770.666
276.573	724.549
276.589	623.115
276.595	586.229
277.249	1065.728
277.974	1111.824
277.987	1028.832
278.755	807.510
280.156	1194.785
280.171	1102.572
280.240	678.391
281.671	881.239
282.366	1111.762
282.390	964.221
283.083	1203.965
283.168	678.349
283.803	1277.725
283.854	964.200
283.863	908.872
283.873	844.323
284.571	1056.403
284.649	576.894
285.348	779.753
285.364	678.318
286.084	752.078
288.304	604.506
288.988	899.578
289.740	779.690
291.139	1176.187
291.145	1139.302
291.159	1056.310
291.922	862.651
291.958	641.339
293.320	1268.369
293.399	779.638
294.106	936.391
294.833	964.044
294.848	871.831
294.898	567.527
296.303	927.138
297.049	844.136
297.728	1166.872
297.743	1074.659
297.758	982.445
297.803	705.805
298.444	1268.296
298.507	881.000
299.153	1406.606
299.165	1332.835
299.977	844.094
299.989	770.324
300.673	1065.396
300.736	678.100
302.122	1157.588
302.149	991.604
302.218	567.423
303.532	1489.536
303.536	1461.872
303.541	1434.208
303.565	1286.666
303.625	917.813
304.316	1166.779
304.340	1019.237
304.414	567.392
305.098	862.464
307.222	1305.057
307.331	631.900
307.963	1249.719
307.981	1139.063
308.050	714.881
308.744	945.404
309.493	843.959
309.503	779.410
310.259	631.858
313.018	1673.827
313.121	1037.555
313.165	770.137
313.866	954.553
315.300	1138.959
316.122	585.669
316.799	926.847
316.809	862.298
317.483	1221.920
317.511	1046.714
318.197	1332.565
318.206	1277.237
318.260	945.269
318.270	880.720
318.984	991.366
319.692	1138.897
320.499	677.820
321.182	982.113
321.212	797.686
321.863	1295.628
321.918	954.439
323.339	1221.837
324.012	1581.458
324.023	1516.909
324.881	742.307
324.926	465.667
325.527	1267.912
325.548	1138.813
325.556	1092.707
326.342	760.728
327.047	926.702
327.086	686.947
327.756	1065.012
327.761	1037.348
327.782	908.249
328.451	1295.535
328.527	825.247
329.858	1645.924
329.888	1461.498
330.029	594.693
331.406	1129.509
332.193	788.309
332.208	696.096
332.856	1212.480
332.868	1138.710
332.874	1101.824
332.898	954.283
333.648	843.617
333.678	659.190
334.232	1756.518
334.268	1535.206
334.391	779.057
335.049	1230.892
335.103	898.924
335.753	1406.087
335.757	1378.423
335.781	1230.881
335.813	1037.233
335.817	1009.569
335.828	945.020
336.495	1341.527
338.014	1000.317
338.062	705.234
338.070	659.128
338.739	1046.413
339.457	1129.395
339.513	788.206
340.116	1581.230
340.197	1083.278
340.257	714.425
340.857	1525.891
341.541	1820.964
341.607	1415.225
341.610	1396.782
341.640	1212.356
341.712	769.732
342.258	1913.167
342.304	1627.305
342.334	1442.879
342.351	1341.444
342.427	871.156
342.442	778.943
343.081	1350.655
343.125	1083.236
343.152	917.252
343.164	843.482
343.848	1138.554
344.581	1129.322
344.608	963.338
344.680	520.714
345.384	695.909
346.794	1027.856
347.436	1581.126
347.440	1553.462
347.460	1433.585
347.479	1313.707
347.560	815.755
348.183	1488.902
348.252	1064.721
348.981	1083.153
349.684	1258.348
349.716	1064.700
349.870	114.903
350.434	1147.682
351.073	1719.394
351.192	990.909
351.222	806.482
351.819	1636.392
351.882	1249.096
352.579	1461.176
352.666	926.339
353.289	1599.486
353.373	1083.091
353.490	363.827
353.992	1774.680
354.816	1212.169
356.230	1516.452
356.265	1304.361
356.358	732.639
356.989	1350.458
357.018	1175.252
357.763	1092.250
357.784	963.151
357.805	834.053
358.410	1617.856
358.565	658.837
359.126	1710.058
359.176	1405.754
359.231	1064.565
359.234	1046.122
359.284	741.819
360.625	1497.947
360.650	1341.184
360.676	1184.422
362.041	1793.009
362.077	1571.697
362.128	1258.172
362.834	1414.924
364.258	1663.879
364.283	1507.116
364.405	760.188
365.101	981.490
365.726	1636.194
365.861	806.274
366.533	1175.117
367.181	1691.502
367.244	1304.206
367.300	963.016
367.951	1460.958
367.963	1387.187
368.716	1258.078
368.728	1184.307
368.771	916.889
369.433	1350.281
369.511	870.772
370.135	1534.697
370.901	1322.596
370.922	1193.498
370.990	778.538
371.590	1590.005
371.666	1119.717
371.689	981.397
371.707	870.741
372.302	1709.872
373.007	1875.845
373.112	1230.352
373.136	1082.811
373.814	1414.768
373.849	1202.677
373.958	529.520
374.539	1460.864
375.208	1848.150
375.263	1506.961
375.289	1350.198
375.983	1580.721
376.703	1654.481
376.727	1506.940
376.808	1008.988
376.855	723.127
377.480	1377.831
377.525	1101.191
378.148	1774.338
378.241	1202.615
378.292	889.090
378.982	1147.277
378.988	1110.391
379.621	1718.989
379.631	1654.440
379.694	1267.144
379.748	935.176
381.113	1543.763
381.131	1433.107
381.900	1202.563
381.915	1110.350
381.939	962.809
382.589	1469.971
382.706	750.708
383.267	1801.929
383.985	1884.911
383.988	1866.468
384.014	1709.705
384.065	1396.180
384.810	1313.178
385.416	2087.759
385.580	1082.634
386.237	1543.690
386.261	1396.149
386.267	1359.264
386.271	1331.600
386.291	1211.722
386.297	1174.837
387.059	990.400
387.713	1469.899
387.824	787.520
388.392	1792.635
388.401	1737.307
388.544	861.280
389.126	1783.403
389.166	1534.427
389.208	1276.230
389.318	603.073
389.790	2198.353
389.808	2087.697
389.880	1645.073
390.555	1995.473
390.576	1866.375
390.621	1589.735
390.641	1469.857
391.334	1709.602
391.407	1257.756
392.105	1469.836
392.172	1054.877
392.172	1054.877
392.181	999.549
392.889	1147.079
392.922	944.210
393.533	1691.128
393.590	1340.717
393.659	916.536
394.244	1820.216
394.280	1598.904
394.928	2115.288
394.992	1718.771
395.021	1543.566
395.117	953.400
395.708	1820.195
396.506	1414.446
397.137	2032.265
397.229	1469.764
397.263	1257.673
397.925	1691.065
397.941	1589.631
398.004	1202.335
398.609	1986.138
398.706	1386.751
398.751	1110.111
399.563	621.370
400.049	2133.658
400.110	1755.584
400.125	1663.370
400.134	1608.042
400.158	1460.501
400.181	1322.181
400.931	1211.515
401.588	1672.571
403.074	1534.230
403.127	1211.483
403.163	990.171
403.193	805.745
404.526	1607.980
404.556	1423.553
404.584	1248.348
405.309	1294.444
405.331	1156.124
405.910	2096.690
405.966	1755.501
406.009	1488.082
406.053	1220.663
406.071	1110.007
406.812	1054.669
407.491	1377.405
407.575	861.010
408.181	1635.592
408.195	1552.600
408.198	1534.157
408.811	2262.632
408.826	2170.419
409.000	1100.744
409.005	1073.080
410.371	1672.446
410.403	1478.798
411.058	1949.076
411.177	1220.591
411.867	1478.777
411.909	1220.580
412.534	1875.284
412.546	1801.514
412.557	1736.964
412.677	999.258
413.272	1838.389
414.070	1432.640
414.082	1358.869
414.769	1635.499
415.432	2059.669
415.438	2022.784
415.519	1524.832
415.551	1331.184
416.242	1580.150
416.292	1275.846
416.947	1746.123
416.994	1460.262
417.067	1008.417
417.073	971.531
417.687	1700.006
417.697	1635.457
417.729	1441.809
417.748	1321.932
417.789	1072.956
418.396	1838.316
418.459	1451.020
419.157	1663.100
419.862	1829.074
419.977	1119.031
420.717	1072.914
420.724	1026.808
421.293	2031.922
421.380	1497.085
421.419	1257.330
422.775	1921.246
422.812	1690.712
422.854	1432.515
422.883	1257.310
423.591	1404.841
423.604	1321.849
423.622	1211.193
423.630	1165.086
423.637	1118.979
424.323	1404.830
424.977	1884.329
425.016	1644.575
425.040	1497.033
426.490	1580.004
426.520	1395.578
427.157	1976.511
427.232	1515.445
427.922	1773.632
429.340	2059.472
429.424	1543.078
430.082	1994.912
430.312	584.049
430.870	1653.713
430.919	1349.409
431.630	1478.497
431.639	1423.169
432.214	2391.399
432.229	2299.185
432.313	1782.791
433.124	1294.050
433.138	1211.058
433.864	1247.933
434.512	1764.317
434.518	1727.432
435.229	1856.520
435.269	1607.544
435.997	1635.197
436.010	1552.205
436.019	1496.877
436.021	1487.656
436.067	1201.795
436.829	1017.358
437.444	1736.611
437.501	1386.201
437.554	1063.454
438.157	1856.478
438.272	1146.436
438.898	1801.140
439.609	1930.228
439.616	1884.121
439.648	1690.473
439.687	1450.719
440.393	1607.471
440.438	1330.831
441.118	1653.567
441.913	1266.261
442.591	1598.219
442.615	1450.677
443.962	2169.920
443.968	2133.035
444.034	1727.297
444.098	1330.779
444.125	1164.795
444.800	1515.195
445.600	1100.225
445.616	998.790
446.321	1164.764
446.930	1920.903
446.944	1837.911
447.010	1432.172
447.034	1284.631
447.046	1210.860
449.133	1874.765
449.150	1773.330
449.175	1616.568
449.180	1588.904
449.861	1902.419
449.943	1395.245
450.000	1044.835
451.388	1515.102
451.437	1210.798
452.177	1164.681
452.727	2280.452
452.793	1874.713
452.811	1764.057
452.819	1717.951
452.823	1690.287
452.853	1505.860
452.895	1247.663
453.602	1404.415
455.774	1551.925
456.402	2188.187
456.483	1690.235
456.584	1072.405
457.170	1966.864
457.277	1312.150
459.279	2501.670
459.338	2142.038
459.419	1644.086
460.083	2059.036
460.106	1920.716
460.188	1413.543
460.854	1819.271
460.865	1754.722
460.898	1551.852
460.926	1376.647
460.937	1312.098
461.547	2059.015
461.555	2012.909
462.249	2243.432
463.842	1450.376
464.484	2003.646
464.495	1939.096
464.552	1588.686
464.597	1312.046
466.038	1450.345
467.454	1745.407
467.466	1671.636
467.493	1505.652
467.517	1358.111
468.146	1994.372
468.167	1865.274
469.676	1588.613
469.715	1348.858
470.399	1643.931
471.136	1607.035
471.888	1487.147
472.629	1431.809
474.019	1883.633
474.837	1358.007
475.438	2160.253
476.211	1911.266
476.235	1763.725
476.242	1717.618
476.253	1653.069
477.019	1440.968
478.438	1717.587
478.497	1357.955
478.509	1284.184
479.172	1708.355
479.199	1542.371
479.955	1394.820
481.996	2344.586
482.037	2095.610
482.800	1901.951
483.384	2814.853
483.640	1238.005
485.017	1772.822
485.043	1616.059
485.740	1828.139
485.769	1652.934
486.595	1071.980
487.917	1947.985
487.977	1579.132
491.509	2362.893
493.118	1468.403
493.747	2104.665
493.820	1652.820
495.349	1256.282
496.744	1680.442
496.802	1320.810
497.458	1791.088
497.464	1754.202
500.330	2132.236
502.657	1329.948
506.237	1818.627
507.722	1689.508
509.906	1763.247
510.578	2132.090
517.340	1062.322
520.839	2048.953
523.745	2187.231
526.022	1689.248
528.908	1947.404
557.428	2112.983
569.287	1209.126
569.912	1863.830
571.975	2684.498
600.569	2398.232];
n=size(data.tW_m,1); for i=2:n; if data.tW_m(i,1)<=data.tW_m(i-1,1);data.tW_m(i,1)=data.tW_m(i-1,1)+1e-8;end;end
units.tW_m   = {'d', 'g'};  label.tW_m = {'time', 'wet weight', 'male'};  
temp.tW_m    = C2K(22);  units.temp.tW_m = 'K'; label.temp.tW_m = 'temperature';
bibkey.tW_m = 'LepoHart2015';
comment.tW_m = 'Data for males';

%% set weights for all real data
weights = setweights(data, []);
weights.tW_f = 2 * weights.tW_f;
weights.tW_m = 2 * weights.tW_m;
weights.am = 10 * weights.am;

%% set pseudodata and respective weights
[data, units, label, weights] = addpseudodata(data, units, label, weights);

%% pack auxData and txtData for output
auxData.temp = temp;
txtData.units = units;
txtData.label = label;
txtData.bibkey = bibkey;
txtData.comment = comment;

%% Group plots
set1 = {'tW_f','tW_m'}; subtitle1 = {'Data for females, males'};
metaData.grp.sets = {set1};
metaData.grp.subtitle = {subtitle1};

%% Discussion points
D1 = 'males are assumed to differ from females by {p_Am} and E_Hp only';
metaData.discussion = struct('D1', D1);

%% Facts
F1 = 'semelparous: death at first spawning, female ventilates eggs and dies after hatching; No food intake during this period';
metaData.bibkey.F1 = 'LepoHart2015'; 
metaData.facts = struct('F1',F1);

%% Links
metaData.links.id_CoL = '48KQF'; % Cat of Life
metaData.links.id_ITIS = '556147'; % ITIS
metaData.links.id_EoL = '491760'; % Ency of Life
metaData.links.id_Wiki = 'Octopus_tetricus'; % Wikipedia
metaData.links.id_ADW = 'Octopus_tetricus'; % ADW
metaData.links.id_Taxo = '158299'; % Taxonomicon
metaData.links.id_WoRMS = '342036'; % WoRMS
metaData.links.id_molluscabase = '342036'; % molluscabase


%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Octopus_tetricus}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'Kooy2010'; type = 'Book'; bib = [ ...  % used in setting of chemical parameters and pseudodata
'author = {Kooijman, S.A.L.M.}, ' ...
'year = {2010}, ' ...
'title  = {Dynamic Energy Budget theory for metabolic organisation}, ' ...
'publisher = {Cambridge Univ. Press, Cambridge}, ' ...
'pages = {Table 4.2 (page 150), 8.1 (page 300)}, ' ...
'howpublished = {\url{../../../bib/Kooy2010.html}}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'LepoHart2015'; type = 'Article'; bib = [ ... 
'author = {S.C. Leporati and A.M. Hart and R. Larsen and L.E. Franken and M. De Graaf}, ' ... 
'year = {2015}, ' ...
'title = {Octopus life history relative to age, in a multi-geareddevelopmental fishery}, ' ...
'journal = {Fisheries Research}, ' ...
'volume = {165}, ' ...
'pages = {28-41}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

