function [data, auxData, metaData, txtData, weights] = mydata_Doryteuthis_pleii
%% set metaData
metaData.phylum     = 'Mollusca'; 
metaData.class      = 'Cephalopoda'; 
metaData.order      = 'Myopsida'; 
metaData.family     = 'Loliginidae';
metaData.species    = 'Doryteuthis_pleii'; 
metaData.species_en = 'Slender inshore squid'; 

metaData.ecoCode.climate = {'MC'};
metaData.ecoCode.ecozone = {'MASW'};
metaData.ecoCode.habitat = {'0iMp'};
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(16); % K, body temp
metaData.data_0     = {'ab_T'; 'am'; 'Lb'; 'Lp'; 'Li'; 'GSI'}; 
metaData.data_1     = {'t-L'; 'L-Ww'}; 

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman'};
metaData.date_subm = [2025 02 20]; 
metaData.email    = {'bas.kooijman@vu.nl'}; 
metaData.address  = {'VU University Amsterdam'}; 

metaData.curator     = {'Dina Lika'};
metaData.email_cur   = {'lika@uoc.gr'}; 
metaData.date_acc    = [2025 02 20];

%% set data
% zero-variate data

data.ab= 10.5; units.ab = 'd'; label.ab = 'age at birth';           bibkey.ab = 'guess';   
  temp.ab = C2K(16);  units.temp.ab = 'K'; label.temp.ab = 'temperature';
  comment.ab = 'based on Doryteuthis_sanpaulensis';
data.am = 296;   units.am = 'd';    label.am = 'life span';      bibkey.am = 'guess';   
  temp.am = C2K(16); units.temp.am = 'K'; label.temp.am = 'temperature'; 
data.amm = 327;   units.amm = 'd';    label.amm = 'life span for males';      bibkey.amm = 'guess';   
  temp.amm = C2K(16); units.temp.amm = 'K'; label.temp.amm = 'temperature'; 

data.Lb  = 0.155; units.Lb  = 'cm'; label.Lb  = 'mantle length at birth';         bibkey.Lb  = 'guess';
  comment.Lb = 'based on Doryteuthis_sanpaulensis';
data.Lp  = 14.33;  units.Lp  = 'cm'; label.Lp  = 'mantle length at puberty';       bibkey.Lp  = 'PostGasa2014';
data.Lpm  = 21;  units.Lpm  = 'cm'; label.Lpm  = 'mantle length at puberty for males'; bibkey.Lpm  = 'PostGasa2014';
data.Li  = 22;  units.Li  = 'cm'; label.Li  = 'mantle length at death for female'; bibkey.Li  = 'Wiki';
data.Lim = 33; units.Lim = 'cm';label.Lim  = 'mantle length at death for male'; bibkey.Lim  = 'Wiki';

data.GSI  =  0.13; units.GSI  = 'g/g';      label.GSI  = 'gonado somatic index just before death';  bibkey.GSI  = 'PostGasa2014';   
  temp.GSI = C2K(16); units.temp.GSI = 'K'; label.temp.GSI = 'temperature';
  
% uni-variate data
% time-length
data.tL = [ ... % time since birth (d), mantle length (cm)
118.346	2.941
119.014	4.209
119.053	2.500
119.733	3.217
120.380	5.367
120.394	4.761
120.420	3.658
121.056	6.250
148.228	5.978
148.889	7.522
149.560	8.626
149.609	6.530
149.655	4.545
150.329	5.482
150.361	4.104
150.372	3.662
150.378	3.387
150.388	2.946
151.039	4.931
151.612	10.225
180.000	17.619
180.024	16.571
180.032	16.240
180.172	10.229
180.665	18.998
180.857	10.726
180.933	7.417
180.954	6.535
180.973	5.707
180.983	5.266
181.608	8.355
181.620	7.858
181.661	6.094
181.714	3.777
182.151	14.972
182.384	4.936
182.394	4.494
208.797	7.366
209.179	20.932
209.434	9.958
209.504	6.925
209.507	6.815
209.532	5.712
209.970	16.852
210.008	15.197
210.016	14.866
210.151	9.076
210.641	17.955
210.695	15.638
210.734	13.929
210.815	10.455
210.838	9.462
210.859	8.580
211.252	21.650
211.379	16.190
211.416	14.591
211.418	14.480
211.551	8.745
211.574	7.753
211.630	5.381
211.866	25.179
211.918	22.973
212.017	18.672
212.023	18.451
212.171	12.054
212.188	11.337
212.860	12.385
239.924	16.801
239.971	14.761
240.014	12.886
240.682	14.154
241.262	19.172
241.281	18.345
241.287	18.070
241.300	17.518
241.323	16.525
241.332	16.139
241.388	13.713
241.487	9.467
241.514	8.309
242.003	17.242
242.068	14.430
242.094	13.327
242.109	12.665
242.140	11.342
242.511	25.349
242.532	24.467
242.733	15.809
243.289	21.875
243.548	10.680
270.542	18.129
270.553	17.633
270.608	15.261
270.640	13.883
271.257	17.302
271.284	16.144
271.296	15.648
271.358	12.945
271.872	20.832
271.887	20.170
271.900	19.618
271.967	16.751
272.044	13.442
272.104	10.850
272.521	22.872
272.535	22.265
272.707	14.876
272.718	14.379
272.744	13.277
272.759	12.615
273.124	26.898
273.319	18.516
274.184	11.236
301.751	23.979
302.599	17.472
302.679	13.998
303.183	22.325
303.254	19.237
303.281	18.079
303.338	15.652
303.344	15.377
303.961	18.796
304.019	16.314
304.087	13.392
304.709	16.590
304.744	15.101
304.801	12.620
331.866	16.980
333.089	24.315
333.918	18.580
333.965	16.595
334.547	21.503];
units.tL   = {'d', 'cm'};  label.tL = {'time since birth', 'mantle length'};  
temp.tL    = C2K(16);  units.temp.tL = 'K'; label.temp.tL = 'temperature';
bibkey.tL = 'VazdRoss2019';
comment.tL = 'Sexes combined'; 

% length-weight
data.LW_f = [ ... % mantle length (cm), weight (g)
2.869	4.521
2.925	1.344
3.498	2.624
3.843	5.808
4.074	8.354
4.301	3.273
4.474	6.453
4.588	5.820
4.818	7.730
5.162	7.100
5.219	7.101
5.449	8.376
5.679	11.557
5.965	9.655
6.080	10.928
6.082	16.013
6.197	16.650
6.311	14.745
6.542	18.563
6.825	10.304
6.884	15.390
7.112	12.216
7.173	19.844
7.173	19.844
7.802	17.311
7.803	21.125
8.092	25.579
8.149	26.851
8.318	18.591
8.434	21.135
8.494	28.127
8.779	24.954
9.070	36.399
9.124	28.773
9.351	23.056
9.524	25.601
9.528	35.135
9.812	28.784
9.816	37.682
9.982	24.338
10.035	12.262
10.040	24.338
10.158	33.874
10.214	31.968
10.215	32.604
10.440	21.802
10.553	19.262
10.614	28.161
10.732	36.426
10.897	19.267
11.074	32.618
11.081	50.414
11.135	42.152
11.192	39.611
11.195	47.238
11.245	28.807
11.297	14.825
11.364	42.156
11.536	42.159
11.589	28.812
11.644	25.000
11.705	33.899
11.769	51.061
11.875	29.452
11.884	51.698
12.051	38.989
12.055	48.523
12.109	40.897
12.224	42.805
12.338	38.994
12.457	52.979
12.569	45.353
12.632	59.337
12.681	37.092
12.733	24.381
12.800	48.535
12.908	31.376
12.966	33.283
12.967	36.461
12.975	58.072
13.021	26.928
13.025	39.640
13.088	52.989
13.091	61.251
13.257	45.364
13.364	26.298
13.372	47.273
13.382	72.697
13.491	58.080
13.551	65.708
13.596	32.022
13.602	49.183
13.661	53.633
13.715	44.736
13.768	33.296
13.769	35.203
13.899	75.247
13.899	77.154
13.951	61.265
14.064	58.089
14.067	66.987
14.112	33.937
14.175	49.828
14.182	66.353
14.284	34.575
14.342	35.212
14.407	54.916
14.412	69.535
14.459	41.570
14.518	47.291
14.524	61.910
14.578	53.012
14.631	42.844
14.636	56.191
14.699	69.540
14.810	61.914
14.973	37.129
14.990	82.892
15.041	64.460
15.152	56.199
15.159	74.632
15.216	73.361
15.272	68.913
15.322	51.753
15.441	61.289
15.448	80.992
15.450	86.713
15.494	51.120
15.553	54.299
15.614	66.376
15.624	90.529
15.662	41.589
15.681	91.165
15.788	70.828
15.794	86.718
15.841	59.388
15.849	81.634
15.905	76.550
15.972	103.246
16.013	59.391
16.019	75.281
16.026	93.078
16.028	98.162
16.309	84.819
16.416	64.482
16.475	68.932
16.484	93.085
16.526	53.679
16.534	72.111
16.594	81.646
16.600	96.265
16.708	78.470
16.717	101.351
16.835	110.887
16.880	77.837
16.941	89.279
16.948	107.711
16.998	87.373
17.054	85.467
17.104	64.493
17.117	99.451
17.165	74.664
17.275	61.953
17.350	108.353
17.401	93.735
17.455	83.566
17.509	75.940
17.565	70.856
17.689	95.646
17.697	117.257
17.744	90.563
17.748	100.732
17.797	79.758
17.975	95.651
18.024	73.406
18.027	82.304
18.037	107.093
18.038	110.906
18.093	103.280
18.212	114.723
18.257	82.308
18.318	93.750
18.323	106.462
18.379	102.649
18.484	77.227
18.546	88.669
18.650	62.611
18.668	110.281
18.719	91.849
18.893	98.844
18.932	49.904
18.946	86.133
18.947	89.311
18.954	107.743
19.179	95.670
19.240	105.205
19.359	117.919
19.478	128.090
19.515	76.608
19.690	84.238
19.694	94.407
19.801	74.070
19.939	135.089
20.041	102.675
20.276	117.298
21.193	117.948
21.945	135.756
22.065	151.013
22.395	113.518
22.693	143.395
23.096	148.487];
units.LW_f   = {'d', 'cm'};  label.LW_f = {'time since birth', 'mantle length', 'females'};  
temp.LW_f    = C2K(22);  units.temp.LW_f = 'K'; label.temp.LW_f = 'temperature';
bibkey.LW_f = 'PostGasa2014';
%
data.LW_m = [ ... % mantle length (cm), weight (g)
4.943	6.538
5.230	7.813
5.632	7.826
5.747	10.361
5.920	6.569
6.207	11.642
6.379	12.913
6.437	15.446
6.494	12.916
7.241	18.003
7.471	9.150
8.103	12.967
8.333	31.962
8.793	19.318
8.908	54.765
9.023	58.566
9.368	16.805
9.943	29.481
9.943	39.608
10.115	35.816
10.172	21.894
10.460	38.358
10.575	40.894
10.632	23.174
10.862	21.915
10.920	37.107
11.092	51.037
11.149	40.912
11.149	33.317
11.264	48.510
11.322	32.057
11.782	34.603
11.782	70.046
11.839	48.529
12.069	37.143
12.126	70.057
12.241	48.541
12.356	42.216
12.414	85.256
12.529	42.221
12.529	32.095
12.701	49.822
12.701	57.417
12.931	44.766
13.046	32.111
13.103	47.303
13.333	25.791
13.333	40.981
13.391	47.312
13.506	23.265
13.563	57.444
13.678	65.043
13.851	39.731
13.908	51.126
13.908	30.873
13.966	72.647
14.023	59.990
14.080	37.207
14.195	63.793
14.655	56.213
14.713	63.809
14.770	58.748
14.885	67.612
15.000	47.363
15.115	56.227
15.230	71.421
15.230	48.636
15.287	62.562
15.345	51.171
15.402	76.489
15.517	73.961
15.517	52.442
15.575	70.166
15.690	60.043
15.805	53.717
15.920	54.987
15.920	77.772
15.920	62.582
15.920	109.417
16.034	52.459
16.149	67.652
16.264	70.188
16.322	79.050
16.437	80.320
16.494	58.802
16.609	84.123
16.667	68.935
16.782	92.989
16.782	85.394
16.897	70.208
16.897	53.752
17.184	80.343
17.184	70.217
17.184	43.634
17.241	91.738
17.356	42.374
17.414	60.097
17.414	60.097
17.471	71.492
17.471	87.947
17.529	82.886
17.701	70.233
17.701	81.626
17.989	58.850
18.046	67.712
18.046	56.320
18.103	106.955
18.103	86.702
18.218	119.617
18.333	90.506
18.333	81.646
18.506	120.892
18.506	104.436
18.506	74.056
18.621	98.110
18.678	141.150
18.678	72.796
18.851	117.105
18.908	87.993
18.966	120.906
19.023	125.971
19.080	71.543
19.080	129.770
19.138	104.456
19.138	89.266
19.253	109.523
19.310	93.069
19.425	84.212
19.425	82.946
19.540	69.026
19.540	103.203
19.598	117.129
19.598	132.318
19.770	69.033
19.770	86.754
19.770	101.944
19.885	113.340
19.885	79.163
19.943	90.557
20.000	124.736
20.057	93.092
20.115	142.461
20.172	118.413
20.230	72.845
20.230	72.845
20.287	129.809
20.287	113.353
20.402	99.433
20.517	93.107
20.690	123.492
20.690	98.176
20.747	115.899
20.920	132.360
20.977	161.476
20.977	91.856
20.977	101.982
21.034	117.174
21.092	94.391
21.092	131.100
21.207	84.268
21.264	99.460
21.322	142.500
21.322	133.639
21.379	109.590
21.437	136.174
21.552	127.317
21.552	120.988
21.552	113.393
21.552	108.330
21.609	93.142
21.782	123.527
21.782	137.451
21.782	77.957
21.839	83.022
21.839	107.073
22.011	142.521
22.011	156.445
22.011	107.078
22.069	117.207
22.126	146.323
22.184	127.337
22.184	110.881
22.299	112.151
22.356	153.925
22.356	96.963
22.356	58.988
22.414	88.104
22.471	138.739
22.471	117.220
22.471	126.080
22.529	172.918
22.529	133.677
22.529	74.183
22.644	75.453
22.701	94.442
22.759	180.520
22.759	155.203
22.816	175.458
22.816	85.585
22.874	105.840
22.931	137.487
22.931	151.411
22.989	146.350
23.046	171.668
23.046	122.301
23.046	98.250
23.103	83.062
23.103	71.670
23.161	181.798
23.161	118.507
23.218	136.231
23.333	98.259
23.333	74.209
23.391	156.489
23.391	107.122
23.391	122.312
23.448	180.542
23.506	161.556
23.506	100.797
23.563	145.102
23.678	180.549
23.678	114.726
23.678	138.777
23.736	172.956
23.793	151.439
23.851	132.453
23.966	109.672
24.023	166.636
24.023	126.129
24.023	86.889
24.138	176.766
24.138	176.766
24.195	156.515
24.253	129.934
24.310	86.898
24.310	143.860
24.368	116.014
24.483	171.714
24.483	145.131
24.598	169.186
24.598	129.945
24.598	110.958
24.598	93.236
24.713	150.202
24.828	151.471
24.828	155.269
24.828	122.357
24.885	166.663
24.885	165.397
25.115	207.177
25.172	171.735
25.172	141.356
25.230	190.725
25.287	157.815
25.287	173.005
25.402	203.388
25.402	105.920
25.460	175.542
25.460	136.301
25.575	213.520
25.632	185.674
25.632	174.282
25.632	159.092
25.690	164.157
25.805	189.477
25.805	138.844
25.862	145.175
25.977	132.520
26.034	164.168
26.034	124.927
26.092	156.575
26.149	154.045
26.207	179.363
26.264	221.137
26.322	161.645
26.437	166.712
26.494	197.094
26.552	212.285
26.609	183.173
26.609	169.249
26.667	118.618
26.724	198.367
26.839	183.181
26.839	152.801
26.954	184.450
27.011	142.680
27.011	179.389
27.069	205.973
27.069	131.289
27.126	165.468
27.184	185.723
27.241	170.535
27.299	207.246
27.356	198.387
27.356	197.121
27.356	178.134
27.471	190.795
27.471	161.682
27.529	203.456
27.529	135.101
27.586	143.964
27.816	160.427
27.816	121.186
27.931	190.810
27.931	138.911
28.046	228.788
28.046	221.193
28.046	181.953
28.218	222.465
28.218	181.958
28.218	179.427
28.218	159.174
28.333	154.114
28.391	237.660
28.391	199.685
28.391	171.837
28.391	199.685
28.448	159.181
28.448	195.890
28.621	149.060
28.678	199.694
28.793	225.015
28.793	174.382
28.793	203.496
28.851	212.358
28.908	264.259
28.908	199.702
28.966	194.640
29.080	152.872
29.138	245.279
29.138	225.025
29.310	184.525
29.425	183.262
29.425	135.161
29.598	154.154
29.598	151.622
29.655	173.143
29.655	127.573
29.828	235.174
29.885	212.391
30.057	256.700
30.115	232.651
30.115	165.563
30.172	207.337
30.402	212.407
30.517	247.854
30.517	199.753
30.575	190.894
30.632	238.997
30.920	179.512
30.977	264.324
31.034	201.035
31.092	222.556
31.264	208.637
31.437	185.858
31.609	204.850
31.954	254.229
32.069	180.814
32.241	251.706
33.103	254.265
33.103	236.543
33.333	193.513
33.563	261.874
33.563	272.001
33.908	251.759
35.690	251.815
38.046	262.016
38.506	298.740
39.195	258.255];
units.LW_m   = {'d', 'cm'};  label.LW_m = {'time since birth', 'mantle length', 'males'};  
temp.LW_m    = C2K(22);  units.temp.LW_m = 'K'; label.temp.LW_m = 'temperature';
bibkey.LW_m = 'PostGasa2014';

%% set weights for all real data
weights = setweights(data, []);
weights.tL = 3 * weights.tL;
weights.am = 5 * weights.am;
weights.amm = 5 * weights.amm;

%% 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 = {'LW_f','LW_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}, E_Hp and h_a only';
metaData.discussion = struct('D1',D1);

%% Facts
F1 = 'Programmed death, not by ageing';
metaData.bibkey.F1 = 'Wiki'; 
metaData.facts = struct('F1',F1);

%% Links
metaData.links.id_CoL = '37FVH'; % Cat of Life
metaData.links.id_ITIS = '82382'; % ITIS
metaData.links.id_EoL = '448891'; % Ency of Life
metaData.links.id_Wiki = 'Doryteuthis_pleii'; % Wikipedia
metaData.links.id_ADW = 'Loligo plei'; % ADW
metaData.links.id_Taxo = '3954929'; % Taxonomicon
metaData.links.id_WoRMS = '3954927'; % WoRMS
metaData.links.id_molluscabase = '574543'; % molluscabase

%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Doryteuthis_pleii}}';
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 = 'VazdRoss2019'; type = 'techreport'; bib = [ ... 
'author = {Andr\''{e} Martins Vaz-dos-Santos and Carmen L\''{u}cia Del Bianco Rossi-Wongtschowski}, '...
'year = {2019}, ' ...
'title = {Growth in fisheries resources from the {S}outhwestern {A}tlantic}, ' ...
'institution = {Instituto Oceanogr\''{a}fico – USP S\~{a}o Paulo}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'PostGasa2014'; type = 'incollection'; bib = [ ... 
'author = {F.A. Postuma and M.A. Gasalla}, '...
'year = {2014}, ' ...
'title = {Reproductive activity of the tropical arrow squid \emph{Doryteuthis plei} around S\~{a}o Sebasti\~{a}o {I}sland ({SE} {B}razil) based on a 10-year fisheries monitoring}, ' ...
'journal = {Fisheries Research}, ' ...
'volume = {152}, ' ... 
'page = {45-54}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{https://en.wikipedia.org/wiki/Doryteuthis_plei}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

