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

%% set metaData
metaData.phylum     = 'Chordata'; 
metaData.class      = 'Actinopterygii'; 
metaData.order      = 'Spariformes'; 
metaData.family     = 'Sparidae';
metaData.species    = 'Evynnis_tumifrons'; 
metaData.species_en = 'Yellowback seabream'; 

metaData.ecoCode.climate = {'MB'};
metaData.ecoCode.ecozone = {'MPW'};
metaData.ecoCode.habitat = {'0iMp'};
metaData.ecoCode.embryo  = {'Mp'};
metaData.ecoCode.migrate = {'Mo'};
metaData.ecoCode.food    = {'biCim', 'biCic'};
metaData.ecoCode.gender  = {'D'};
metaData.ecoCode.reprod  = {'O'};

metaData.T_typical  = C2K(18.2); % K, body temp
metaData.data_0     = {'ab'; 'am'; 'Lp'; 'Li'; 'Wwb'; 'Wwi'; 'Ri'}; 
metaData.data_1     = {'t-L'; 't-Ww'}; 

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author      = {'Bas Kooijman'};    
metaData.date_subm   = [2024 03 16];              
metaData.email       = {'bas.kooijman@vu.nl'};            
metaData.address     = {'VU University Amsterdam'};   

metaData.curator     = {'Dina Lika'};
metaData.email_cur   = {'lika@uoc.gr'}; 
metaData.date_acc    = [2024 03 16];

%% set data
% zero-variate data

data.ab = 10;      units.ab = 'd';    label.ab = 'age at birth';            bibkey.ab = 'guess';   
  temp.ab = C2K(18.2); units.temp.ab = 'K'; label.temp.ab = 'temperature';
  comment.ab = 'based on Diplodus puntazzo';
data.am = 15*365; units.am = 'd';    label.am = 'life span';               bibkey.am = 'HaviOhto2020';   
  temp.am = C2K(18.2); units.temp.am = 'K'; label.temp.am = 'temperature'; 

data.Lp  = 14.9;    units.Lp  = 'cm';  label.Lp  = 'total length at puberty';  bibkey.Lp  = 'fishbase';  
data.Li  = 35;    units.Li  = 'cm';  label.Li  = 'ultimate total length';  bibkey.Li  = 'fishbase';

data.Wwb = 3.2e-4;   units.Wwb = 'g';  label.Wwb = 'wet weight at birth';    bibkey.Wwb = 'guess';
  comment.Wwb = 'based on egg diameter of 0.85 mm of Diplodes sargus: pi/6*0.085^3';
data.Wwi = 902;   units.Wwi = 'g';  label.Wwi = 'ultimate wet weight';    bibkey.Wwi = 'fishbase';
  comment.Wwi = 'based on 0.02512*Li^2.95, see F1';

data.Ri = 80531/365; units.Ri = '#/d'; label.Ri = 'maximum reprod rate'; bibkey.Ri = 'fishbase';   
  temp.Ri = C2K(18.2);  units.temp.Ri = 'K'; label.temp.Ri = 'temperature'; 
 
% uni-variate data
% time-length
data.tL = [ ... % time since birth (yr), fork length (cm)
0.149	3.665
0.174	4.575
0.174	4.185
0.248	4.834
0.323	6.394
0.323	5.808
0.372	8.539
0.372	7.043
0.372	6.653
0.397	7.563
0.422	9.514
0.422	9.059
0.422	6.067
0.422	5.417
0.471	8.083
0.620	14.194
0.645	11.917
0.645	12.568
0.670	14.778
0.695	11.266
0.744	13.217
0.769	13.737
0.794	14.387
0.794	12.305
0.844	11.394
0.893	13.800
0.918	10.613
0.943	14.840
0.968	13.344
0.993	12.108
1.017	18.741
1.042	15.034
1.042	12.692
1.067	14.318
1.067	10.871
1.092	15.813
1.117	16.463
1.117	11.521
1.117	10.155
1.166	11.910
1.191	18.023
1.216	12.495
1.241	18.933
1.241	21.209
1.266	20.103
1.266	13.665
1.290	16.981
1.340	13.014
1.365	19.647
1.390	17.305
1.414	13.793
1.439	19.125
1.439	21.792
1.439	15.874
1.439	18.280
1.464	21.141
1.514	15.353
1.538	22.441
1.538	23.026
1.563	18.539
1.563	20.620
1.563	16.327
1.588	16.912
1.613	17.823
1.638	19.773
1.737	19.187
1.762	20.162
1.811	17.820
1.811	17.430
1.886	18.664
1.935	21.070
1.935	19.769
1.960	23.411
1.960	18.859
2.035	21.914
2.035	18.207
2.060	19.768
2.109	21.653
2.109	20.873
2.134	22.563
2.159	20.352
2.159	18.921
2.208	21.457
2.258	22.171
2.308	19.829
2.382	22.690
2.382	19.113
2.382	21.259
2.407	24.510
2.407	23.990
2.457	23.209
2.481	20.673
2.506	21.583
2.556	22.167
2.556	19.371
2.556	19.111
2.581	19.891
2.581	18.330
2.680	25.027
2.680	22.426
2.680	20.540
2.705	21.255
2.730	23.336
2.754	23.791
2.779	21.709
2.804	24.570
2.829	22.814
2.878	25.285
2.878	22.228
2.928	24.309
2.978	20.406
2.978	21.186
3.002	23.917
3.002	23.072
3.052	25.608
3.102	24.827
3.102	21.770
3.102	20.795
3.127	23.656
3.127	25.216
3.127	22.550
3.151	27.427
3.201	27.296
3.226	21.378
3.275	26.060
3.300	23.068
3.325	21.962
3.350	22.417
3.375	24.043
3.375	24.693
3.400	25.278
3.424	23.912
3.449	24.887
3.449	21.115
3.474	26.643
3.499	21.635
3.548	25.861
3.548	24.561
3.573	22.414
3.573	22.935
3.573	23.650
3.623	23.844
3.648	23.194
3.672	25.274
3.697	26.575
3.722	24.493
3.722	21.567
3.797	22.541
3.821	23.712
3.871	25.727
3.896	22.735
3.896	21.695
3.921	25.141
3.970	22.214
4.045	24.229
4.069	24.814
4.069	23.188
4.119	26.699
4.169	23.577
4.169	26.048
4.218	25.397
4.243	28.128
4.318	24.356
4.318	27.087
4.318	28.908
4.342	22.990
4.392	26.175
4.442	23.704
4.516	25.328
4.591	24.547
4.615	26.563
4.665	25.847
4.715	28.252
4.715	27.732
4.764	25.195
4.789	23.959
4.864	29.681
4.864	26.950
4.864	24.739
4.963	26.493
5.012	27.468
5.037	23.306
5.062	25.712
5.087	23.630
5.136	24.215
5.161	24.865
5.186	28.181
5.236	26.880
5.236	25.189
5.335	27.139
5.360	26.033
5.409	29.154
5.409	23.301
5.459	27.982
5.484	28.502
5.484	27.657
5.484	23.690
5.509	26.746
5.558	25.120
5.633	27.915
5.658	28.695
5.955	26.220
6.079	26.088
6.203	23.551
6.303	25.565
6.377	24.524
6.427	26.214
6.427	26.799
6.675	26.666
6.873	27.509
6.898	27.053
6.923	24.192
6.923	23.801
7.022	26.531
7.072	29.327
7.072	24.450
7.122	27.180
7.171	27.700
7.171	25.359
7.270	25.618
7.320	27.893
7.419	28.802
7.444	25.811
7.469	26.981
7.643	25.353
7.667	26.718
7.692	27.108
7.816	26.131
7.891	30.552
7.916	31.007
7.965	27.755
8.015	28.860
8.164	27.752
8.263	29.767
8.288	27.165
8.313	26.059
8.313	26.580
8.337	28.205
8.387	25.993
8.387	28.530
8.387	29.440
8.412	30.090
8.437	25.082
8.437	27.489
8.462	28.984
8.561	26.641
8.635	27.161
8.859	27.418
8.883	27.808
8.908	29.043
8.908	28.133
8.908	26.897
8.908	26.377
8.908	24.816
8.933	29.758
8.958	25.791
9.007	23.904
9.057	30.797
9.057	29.236
9.082	29.756
9.082	27.935
9.132	28.650
9.132	26.309
9.181	27.154
9.206	24.812
9.231	30.665
9.305	29.688
9.305	29.103
9.305	25.851
9.330	32.289
9.355	31.899
9.355	26.631
9.380	28.647
9.404	27.671
9.404	28.126
9.429	29.427
9.454	27.020
9.578	27.539
9.628	25.977
9.826	29.551
9.926	28.640
9.975	27.599
9.975	27.078
10.124	28.312
10.223	27.465
10.248	29.611
10.323	28.700
10.347	29.935
10.422	26.487
10.720	26.939
10.844	28.628
11.017	25.439
11.042	27.650
11.141	28.689
11.216	29.859
11.266	27.972
11.365	28.881
11.414	28.295
11.737	28.356
11.861	29.850
11.911	29.264
12.134	28.416
12.208	33.552
14.069	28.066
14.243	30.079
15.310	27.789
16.055	27.389];
for i=2:size(data.tL,1); if data.tL(i,1)<=data.tL(i-1,1); data.tL(i,1)=data.tL(i-1,1)+1e-5; end ;end
data.tL(:,1) = (0.3 + data.tL(:,1)) * 365; % convert yr to d
units.tL   = {'d', 'cm'};  label.tL = {'time since birth', 'fork length'};  
temp.tL    = C2K(18.2);  units.temp.tL = 'K'; label.temp.tL = 'temperature';
bibkey.tL = 'HaviOhto2020';
  
% time-weight
data.tW = [ ... % time since birth (yr), weight (g)
0.173	6.530
0.247	17.977
0.371	29.421
0.495	13.046
0.594	24.491
0.642	52.305
0.766	67.021
0.767	32.658
0.790	75.201
0.840	53.924
0.988	68.637
0.989	44.092
1.087	102.992
1.088	83.356
1.159	168.440
1.162	60.440
1.187	37.528
1.188	29.347
1.208	181.527
1.234	145.524
1.282	207.702
1.284	130.792
1.285	91.519
1.332	191.334
1.358	150.422
1.385	62.056
1.408	116.054
1.410	52.235
1.429	242.052
1.529	220.770
1.530	163.497
1.531	140.588
1.533	93.133
1.577	289.493
1.580	181.493
1.580	160.220
1.606	120.945
1.607	80.036
1.627	264.943
1.631	99.670
1.651	299.305
1.676	276.393
1.677	250.211
1.678	202.756
1.679	171.666
1.727	224.025
1.803	153.654
1.804	129.109
1.852	188.013
1.926	204.370
1.927	166.734
1.928	122.552
1.977	137.275
2.001	148.727
2.071	304.175
2.097	235.446
2.098	222.355
2.123	214.171
2.124	191.261
2.147	259.987
2.174	176.530
2.249	160.159
2.270	271.430
2.272	197.793
2.296	245.246
2.320	287.789
2.321	225.607
2.344	279.605
2.369	300.876
2.371	217.421
2.396	199.419
2.397	181.419
2.447	168.323
2.465	382.685
2.466	359.776
2.469	243.594
2.491	351.592
2.493	292.683
2.494	256.682
2.517	325.408
2.518	317.226
2.519	223.953
2.567	273.039
2.570	197.766
2.589	385.946
2.595	156.855
2.639	366.306
2.662	446.485
2.665	336.849
2.666	282.848
2.689	353.210
2.691	268.119
2.717	237.026
2.719	183.026
2.766	258.294
2.767	212.476
2.813	349.926
2.814	302.471
2.889	292.647
2.915	223.917
2.939	256.642
2.941	199.369
2.962	343.367
2.964	271.367
2.987	323.729
3.011	364.635
3.063	277.903
3.085	351.538
3.088	240.265
3.113	236.990
3.114	222.262
3.139	200.987
3.158	413.713
3.185	308.983
3.233	392.433
3.236	266.433
3.259	326.976
3.260	297.522
3.261	284.431
3.262	212.431
3.304	487.336
3.308	338.427
3.311	240.245
3.354	466.059
3.357	366.240
3.380	449.693
3.430	430.052
3.432	349.870
3.505	408.772
3.506	387.500
3.508	302.408
3.509	284.408
3.527	490.588
3.531	336.770
3.578	459.493
3.581	317.129
3.628	439.852
3.631	308.943
3.632	272.943
3.653	425.123
3.676	484.030
3.680	331.847
3.681	290.938
3.726	466.025
3.729	366.207
3.753	397.295
3.754	379.295
3.777	413.657
3.778	394.020
3.806	241.836
3.852	364.559
3.881	233.647
3.902	346.554
3.929	299.098
3.953	318.732
3.954	261.459
3.975	423.457
4.000	395.636
4.054	253.268
4.078	277.811
4.124	371.080
4.125	336.716
4.126	310.534
4.127	285.989
4.151	299.077
4.198	400.527
4.199	362.891
4.200	344.891
4.246	446.341
4.294	524.882
4.297	420.155
4.341	598.514
4.368	515.058
4.370	464.330
4.373	361.239
4.373	331.784
4.397	387.419
4.398	318.691
4.418	519.962
4.421	411.962
4.422	372.689
4.424	302.325
4.468	490.503
4.471	393.957
4.519	431.589
4.543	472.496
4.545	395.587
4.571	339.948
4.616	508.490
4.617	482.308
4.642	447.942
4.644	384.123
4.693	410.301
4.720	344.844
4.737	598.478
4.743	398.842
4.765	490.476
4.816	431.562
4.935	631.188
4.940	439.733
4.968	328.458
4.991	371.001
5.014	457.726
5.015	416.817
5.016	397.180
5.018	295.726
5.064	429.903
5.065	375.903
5.091	341.537
5.092	310.446
5.139	384.078
5.142	294.078
5.165	359.531
5.166	333.349
5.187	465.892
5.216	315.344
5.284	516.611
5.287	406.974
5.288	397.156
5.311	451.154
5.336	438.060
5.337	420.060
5.433	496.961
5.454	632.777
5.459	475.686
5.486	370.956
5.509	454.408
5.510	402.045
5.512	328.408
5.532	528.043
5.554	629.495
5.584	441.311
5.629	596.761
5.679	577.120
5.702	649.118
5.730	506.752
5.881	433.102
5.981	390.547
6.329	352.879
6.378	365.966
6.402	393.782
6.425	444.507
6.449	477.232
6.696	496.846
6.924	329.916
6.970	455.912
6.998	313.546
7.020	436.271
7.066	552.449
7.072	341.357
7.120	396.989
7.264	557.340
7.267	446.067
7.268	411.703
7.290	473.883
7.291	460.792
7.312	606.426
7.441	408.414
7.461	599.867
7.489	470.592
7.538	495.133
7.585	586.765
7.589	437.856
7.686	498.392
7.837	413.288
7.885	483.647
7.886	447.647
7.887	401.829
7.905	645.645
7.906	614.554
7.929	665.279
7.961	424.731
8.034	472.179
8.232	468.888
8.283	401.793
8.331	485.243
8.332	434.515
8.353	567.059
8.354	549.059
8.356	447.604
8.375	686.511
8.376	621.057
8.377	611.239
8.403	522.872
8.404	499.963
8.408	373.963
8.425	647.234
8.449	663.595
8.454	486.868
8.455	460.686
8.456	424.686
8.457	408.322
8.503	532.682
8.552	545.768
8.553	490.131
8.578	475.402
8.872	601.375
8.874	535.921
8.875	481.920
8.895	657.010
8.900	491.736
8.903	372.282
8.924	517.916
8.930	308.461
9.001	400.091
9.020	634.089
9.024	465.543
9.025	439.361
9.046	581.723
9.048	504.814
9.072	544.084
9.073	516.266
9.100	422.991
9.102	350.991
9.121	553.898
9.219	573.526
9.244	588.251
9.248	440.978
9.263	784.612
9.266	686.430
9.299	400.064
9.316	660.244
9.317	620.971
9.367	606.239
9.412	769.872
9.415	663.508
9.418	539.144
9.420	467.144
9.464	702.776
9.569	452.403
9.617	527.671
9.937	589.824
9.966	437.639
10.016	409.817
10.038	503.087
10.039	486.724
10.065	452.358
10.184	597.983
10.187	517.801
10.233	640.524
10.235	558.706
10.331	660.152
10.336	473.606
10.407	607.781
10.461	439.231
10.683	473.574
10.880	522.647
10.934	357.370
11.055	457.177
11.078	520.993
11.223	646.980
11.226	552.070
11.349	565.150
11.400	517.691
11.746	548.750
11.894	537.282
11.918	591.280
12.166	550.349
12.232	872.706
14.074	504.357
14.193	697.437
15.312	525.517
16.081	445.265];
data.tW(:,1) = (0.3 + data.tW(:,1)) * 365; % convert yr to d
for i=2:size(data.tW,1); if data.tW(i,1)<=data.tW(i-1,1); data.tW(i,1)=data.tW(i-1,1)+1e-5; end ;end
units.tW   = {'d', 'g'};  label.tW = {'time since birth', 'weight'};  
temp.tW    = C2K(18.2);  units.temp.tW = 'K'; label.temp.tW = 'temperature';
bibkey.tW = 'HaviOhto2020';

%% set weights for all real data
weights = setweights(data, []);
weights.tL = 5 * weights.tL;
weights.ab = 0 * weights.ab;

%% set pseudodata and respective weights
[data, units, label, weights] = addpseudodata(data, units, label, weights);
weights.psd.k_J = 0; weights.psd.k = 0.2;
data.psd.k = 0.3; units.psd.k  = '-'; label.psd.k  = 'maintenance ratio'; 

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

%% Discussion points
D1 = 'Males are assumed to differ from females';
metaData.discussion = struct('D1',D1);

%% Facts
F1 = 'length-weight: Ww in g = 0.02512*(TL in cm)^2.95'; 
metaData.bibkey.F1 = 'fishbase'; 
metaData.facts = struct('F1',F1);

%% Links
metaData.links.id_CoL = '34TV8'; % Cat of Life
metaData.links.id_ITIS = ''; % ITIS
metaData.links.id_EoL = '46580084'; % Ency of Life
metaData.links.id_Wiki = 'Evynnis_tumifrons'; % Wikipedia
metaData.links.id_ADW = 'Evynnis_tumifrons'; % ADW
metaData.links.id_Taxo = '3415434'; % Taxonomicon
metaData.links.id_WoRMS = '273967'; % WoRMS
metaData.links.id_fishbase = 'Evynnis-tumifrons'; % fishbase

%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Evynnis_tumifrons}}';
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 = 'HaviOhto2020'; type = 'Article'; bib = [ ... 
'doi = {10.1007/s12562-020-01399-0}, ' ...
'author = {Lindon Havimana and Jun Ohtomi and Yasuji Masuda and Miguel Vazquez Archdale}, ' ... 
'year = {2020}, ' ...
'title = {Age and growth of crimson sea bream \emph{Evynnis tumifrons} off the southwestern coast of {K}yushu, {J}apan}, ' ...
'journal = {Fisheries Science}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'fishbase'; type = 'Misc'; bib = ...
'howpublished = {\url{http://www.fishbase.se/summary/Evynnis-tumifrons.html}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
