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

%% set metaData
metaData.phylum     = 'Chordata'; 
metaData.class      = 'Actinopterygii'; 
metaData.order      = 'Perciformes'; 
metaData.family     = 'Serranidae';
metaData.species    = 'Paralabrax_maculatofasciatus'; 
metaData.species_en = 'Spotted sand bass'; 

metaData.ecoCode.climate = {'MB'};
metaData.ecoCode.ecozone = {'MPE'};
metaData.ecoCode.habitat = {'0jMp','jiMr'};
metaData.ecoCode.embryo  = {'Mp'};
metaData.ecoCode.migrate = {};
metaData.ecoCode.food    = {'bjPz', 'jiCi', 'jiCvf'};
metaData.ecoCode.gender  = {'Hsff'};
metaData.ecoCode.reprod  = {'O'};

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

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman'};        
metaData.date_subm = [2024 12 31];                           
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 12 31];

%% set data
% zero-variate data

data.ab = 5; units.ab = 'd';    label.ab = 'age at birth';              bibkey.ab = 'guess';   
  temp.ab = C2K(22.3);  units.temp.ab = 'K'; label.temp.ab = 'temperature'; 
data.am = 20 * 365;  units.am = 'd';    label.am = 'life span';                 bibkey.am = 'fishbase';   
  temp.am = C2K(22.3); units.temp.am = 'K'; label.temp.am = 'temperature'; 

data.Lp  = 30;       units.Lp  = 'cm';  label.Lp  = 'std length at puberty';  bibkey.Lp  = 'guess'; 
data.Li  = 60;      units.Li  = 'cm';  label.Li  = 'ultimate total length';    bibkey.Li  = 'fishbase';

data.Wwb = 2.7e-4;  units.Wwb = 'g';   label.Wwb = 'wet weight at birth';      bibkey.Wwb = 'guess';
  comment.Wwb = 'based on egg diameter of 0.8 mm: pi/6*0.08^3';
data.Wwp = 347.8;      units.Wwp = 'g';   label.Wwp = 'wet weight at puberty';    bibkey.Wwp = 'fishbase';
  comment.Wwp = 'based on 0.01288*Lp^3.00, see F1';
data.Wwi = 9390;    units.Wwi = 'g';   label.Wwi = 'ultimate wet weight';      bibkey.Wwi = 'fishbase';
  comment.Wwi = 'based on 0.01288*Li^3.00, see F1; max published weight 900 g';
 
data.GSI = 0.04; units.GSI = 'g/g';  label.GSI = 'gonado somatic index';    bibkey.GSI = 'guess';
  temp.GSI = C2K(22.3); units.temp.GSI = 'K'; label.temp.GSI = 'temperature';
  comment.GSI = 'based on Mycteroperca_bonaci';
  
% uni-variate data
% time-length
data.tL = [ ... % time since birth (d), std length (cm)
0.000	3.808
0.001	6.166
0.002	5.561
0.003	12.513
0.004	10.155
0.014	3.566
0.015	7.617
0.027	6.045
0.028	6.710
0.028	8.282
0.028	8.402
0.028	8.523
0.028	8.946
0.041	8.765
0.065	6.528
0.065	7.073
0.066	7.798
0.066	9.551
0.078	7.858
0.090	6.649
0.946	13.964
0.947	17.409
0.956	9.491
0.959	17.772
0.960	18.316
0.969	10.881
0.970	10.941
0.980	5.561
0.982	11.969
0.983	13.299
0.995	11.485
0.995	12.332
0.995	12.755
0.996	14.387
0.996	15.112
0.996	15.415
1.006	8.463
1.007	10.458
1.007	10.458
1.008	12.453
1.010	18.921
1.020	11.727
1.020	12.755
1.021	15.838
1.032	9.370
1.032	10.276
1.034	16.442
1.057	10.276
1.963	18.316
1.977	23.454
1.986	12.573
1.986	13.057
1.986	13.359
1.987	14.689
1.987	14.991
1.987	15.354
1.987	15.475
1.987	16.563
1.987	17.168
1.987	17.168
1.987	17.409
1.988	17.832
1.988	18.135
1.988	18.860
1.989	20.250
1.989	22.003
1.998	11.667
1.999	13.782
1.999	15.596
2.001	19.465
2.001	19.948
2.002	22.306
2.002	22.668
2.010	11.425
2.011	12.936
2.012	14.508
2.012	15.959
2.014	20.674
2.024	14.024
2.026	19.344
2.027	21.701
2.941	20.250
2.954	20.009
2.956	24.724
2.967	22.124
2.978	16.321
2.981	24.301
2.981	25.812
2.990	15.294
2.991	17.107
2.991	19.767
2.992	20.794
2.992	21.278
2.993	23.756
3.003	15.838
3.003	17.591
3.004	18.558
3.004	18.800
3.004	19.102
3.005	22.427
3.005	22.547
3.005	23.636
3.006	26.174
3.006	26.477
3.007	27.625
3.007	28.955
3.016	18.135
3.016	19.102
3.017	20.734
3.017	21.399
3.017	21.701
3.018	23.152
3.019	25.207
3.028	16.744
3.956	16.744
3.958	23.333
3.969	19.162
3.969	19.646
3.972	26.718
3.982	18.739
3.983	22.850
3.984	23.817
3.984	23.938
3.994	17.651
3.995	21.157
3.996	24.240
3.997	26.174
4.009	25.086
4.010	27.686
4.010	28.351
4.020	20.915
4.021	23.152
4.022	25.086
4.022	25.268
4.023	29.499
4.032	20.069
4.033	22.124
4.045	20.371
4.045	21.701
4.059	25.570
4.084	23.333
4.936	21.641
4.950	26.174
4.962	25.872
4.975	24.965
4.986	22.547
4.986	22.547
4.986	22.850
4.986	22.910
4.987	24.542
4.988	27.021
4.988	28.895
4.998	21.822
4.999	22.124
5.000	25.147
5.001	27.988
5.010	19.646
5.011	21.157
5.011	22.668
5.012	23.696
5.013	26.416
5.014	30.466
5.023	19.948
5.023	20.613
5.024	23.454
5.026	28.230
5.036	20.190
5.036	21.157
5.036	21.520
5.036	21.580
5.037	24.724
5.037	25.691
5.039	29.560
5.051	27.444
5.051	28.472
5.064	29.016
5.978	25.691
5.978	26.295
5.979	27.565
5.988	19.465
5.989	22.064
5.992	30.164
6.001	21.278
6.002	21.580
6.002	22.971
6.003	26.658
6.003	27.021
6.005	32.098
6.015	24.965
6.026	20.009
6.028	25.389
6.028	26.839
6.029	27.988
6.029	28.532
6.029	29.499
6.040	24.361
6.041	27.746
6.066	26.054
6.066	27.504
6.092	29.378
6.968	24.784
6.969	26.658
6.981	26.295
6.992	20.371
6.995	29.378
7.007	27.383
7.020	30.164
7.021	31.978
7.031	25.751
7.032	27.807
8.047	26.960
8.988	28.109
9.026	27.686
9.026	29.016
9.978	27.021
11.020	30.769];
data.tL(:,1) = 365*(data.tL(:,1)+0.8); % set origin at birth
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-3;end;end
units.tL   = {'d', 'cm'};  label.tL = {'time since birth', 'std length'};  
temp.tL    = C2K(22.3);  units.temp.tL = 'K'; label.temp.tL = 'temperature';
bibkey.tL = 'AndrLama2005'; 
    
% length-weight
data.LW = [ ... % std length (cm), weight (g)
3.250	10.171
3.643	16.760
5.501	16.963
6.072	12.115
6.679	13.818
7.072	17.134
7.358	13.892
7.393	12.259
7.608	17.193
7.715	10.658
7.858	15.583
8.144	22.161
8.215	9.076
8.429	17.282
8.501	27.110
8.751	23.864
8.965	23.887
9.072	14.079
9.108	27.176
9.358	25.567
9.430	33.758
9.536	17.403
9.787	25.614
9.822	27.254
9.930	35.449
9.965	27.270
10.358	30.586
10.430	30.594
10.680	30.621
10.858	32.277
11.073	47.031
11.146	86.319
11.287	33.961
11.324	83.065
11.359	42.152
11.536	19.258
11.572	25.809
11.573	42.175
11.787	32.379
11.787	32.379
12.001	29.129
12.072	16.043
12.108	34.050
12.252	58.616
12.358	27.531
12.466	57.003
12.502	57.007
12.573	48.831
12.575	88.111
12.608	27.558
12.715	32.480
12.787	24.304
12.822	17.762
12.897	111.059
12.931	57.053
13.179	25.984
13.181	61.991
13.181	61.991
13.359	60.374
13.467	65.295
13.501	30.929
13.681	62.045
14.004	114.454
14.039	84.998
14.109	63.729
14.325	89.939
14.610	93.243
14.861	101.454
15.003	88.376
15.109	60.564
15.254	108.043
15.431	60.600
15.504	99.887
15.612	142.452
15.682	85.177
15.862	142.480
15.932	90.114
15.968	98.301
16.075	109.770
16.111	108.137
16.148	142.511
16.182	90.141
16.253	95.059
16.361	96.707
16.362	142.534
16.396	91.801
16.468	109.813
16.469	134.362
16.540	113.094
16.576	127.828
16.682	106.563
16.862	129.495
16.967	86.954
16.968	116.414
17.041	155.702
17.076	139.339
17.112	124.613
17.254	114.808
17.255	127.902
17.255	147.542
17.432	88.641
17.434	145.924
17.435	178.658
17.574	62.470
17.612	136.124
17.684	160.682
17.685	175.412
17.718	116.496
17.721	175.416
17.968	90.336
17.969	141.073
18.041	141.081
18.044	229.461
18.076	137.811
18.114	190.189
18.256	178.747
18.434	149.307
18.435	180.404
18.506	160.771
18.543	198.419
18.648	136.237
18.649	173.880
18.757	186.985
18.791	142.799
18.792	182.079
18.863	170.630
18.969	119.905
19.006	164.099
19.112	147.744
19.114	185.388
19.256	177.220
19.257	187.040
19.257	200.133
19.259	255.780
19.436	196.879
19.471	178.880
19.510	281.994
19.542	169.068
19.542	183.798
19.579	214.898
19.613	167.439
19.757	206.734
19.828	182.192
19.866	236.206
19.936	221.484
19.969	141.291
19.971	201.848
20.043	213.312
20.044	226.406
20.113	170.767
20.150	210.051
20.151	214.961
20.259	254.252
20.292	174.060
20.294	228.070
20.436	196.988
20.505	142.986
20.508	221.546
20.543	195.363
20.579	210.097
20.582	301.751
20.724	280.490
20.759	260.854
20.759	262.490
20.863	170.849
20.901	226.499
21.008	223.237
21.008	237.967
21.010	273.974
21.078	175.782
21.150	210.160
21.188	260.900
21.257	205.261
21.259	257.635
21.330	229.819
21.330	252.733
21.365	208.546
21.367	272.377
21.473	234.745
21.474	259.295
21.545	256.029
21.546	278.943
21.618	292.044
21.653	270.771
21.688	277.322
21.691	357.518
21.722	226.589
21.865	226.604
21.977	346.093
22.045	259.357
22.046	275.724
22.046	285.544
22.049	369.014
22.081	269.181
22.115	228.268
22.223	257.740
22.297	305.211
22.367	279.032
22.476	333.054
22.511	301.961
22.548	352.702
22.582	288.876
22.582	301.969
22.619	328.160
22.652	259.423
22.758	234.885
22.760	274.165
22.762	337.995
22.795	257.802
22.939	280.731
22.975	297.102
22.979	414.942
22.979	418.215
23.008	230.002
23.010	287.286
23.047	320.023
23.152	259.478
23.262	323.320
23.331	259.497
23.440	321.702
23.477	360.986
23.477	360.986
23.478	377.353
23.512	326.620
23.584	341.358
23.589	500.115
23.654	308.633
23.693	405.200
23.693	413.383
23.760	289.004
23.799	380.662
23.870	362.666
23.906	370.853
23.907	390.493
23.941	361.037
23.943	405.227
24.012	326.675
24.013	352.862
24.014	382.322
24.015	429.785
24.046	289.035
24.047	315.222
24.049	370.869
24.262	325.065
24.262	334.886
24.441	339.815
24.476	331.636
24.480	452.749
24.511	315.273
24.513	377.466
24.516	442.933
24.518	493.670
24.581	280.911
24.586	408.571
24.655	351.295
24.690	330.022
24.691	346.389
24.728	380.763
24.729	408.586
24.868	316.948
24.945	454.436
24.980	429.890
25.011	294.051
25.048	348.065
25.050	400.438
25.050	408.621
25.083	316.972
25.085	393.895
25.155	348.076
25.299	369.369
25.338	452.842
25.371	375.923
25.372	429.933
25.482	490.501
25.514	380.849
25.514	389.032
25.514	402.125
25.623	454.510
25.659	454.514
25.693	402.145
25.730	429.972
25.803	479.080
25.872	402.164
25.906	374.345
25.911	498.731
26.015	425.093
26.087	439.831
26.302	456.221
26.337	448.042
26.375	492.236
26.410	469.326
26.445	457.873
26.551	439.882
26.588	464.436
26.589	479.166
26.626	523.359
26.697	515.184
26.729	402.258
26.804	503.739
26.836	398.996
26.906	359.724
26.983	510.305
27.017	466.119
27.052	451.393
27.195	456.318
27.304	502.157
27.308	624.907
27.410	485.802
27.485	574.190
27.696	487.470
27.839	480.939
27.912	528.410
28.021	575.885
28.088	453.143
28.161	503.887
28.196	484.251
28.269	530.085
28.304	513.723
28.307	603.739
28.338	456.443
28.448	556.292
28.518	503.926
28.990	706.923
29.060	680.745
29.202	654.573
29.270	571.111
29.271	592.388
29.596	680.803
29.773	652.999
30.062	729.954
30.063	765.960
30.202	653.046
30.238	674.326
30.311	705.431
30.769	530.358
30.811	713.669
31.995	866.008
32.313	753.113];
units.LW   = {'cm', 'g'};  label.LW = {'std length','weight'};  
bibkey.LW = 'AndrLama2005'; 
    
%% set weights for all real data
weights = setweights(data, []);
weights.tL = 5 * weights.tL;
weights.ab = 0 * weights.ab;
weights.Wwp = 0 * weights.Wwp;
weights.Li = 3 * weights.Li;

%% set pseudodata and respective weights
[data, units, label, weights] = addpseudodata(data, units, label, weights);
weights.psd.k_J = 0; weights.psd.k = 0.1;

%% 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 not to differ from females';
metaData.discussion = struct('D1',D1);

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

%% Links
metaData.links.id_CoL = '4CXQT'; % Cat of Life
metaData.links.id_ITIS = '167833'; % ITIS
metaData.links.id_EoL = '46579344'; % Ency of Life
metaData.links.id_Wiki = 'Paralabrax_maculatofasciatus'; % Wikipedia
metaData.links.id_ADW = 'Paralabrax_maculatofasciatus'; % ADW
metaData.links.id_Taxo = '182786'; % Taxonomicon
metaData.links.id_WoRMS = '282058'; % WoRMS
metaData.links.id_fishbase = 'Paralabrax-maculatofasciatus'; % fishbase

%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Paralabrax_maculatofasciatus}}';
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 = 'AndrLama2005'; type = 'article'; bib = [ ... 
'doi = {10.7717/peerj.1099}, ' ...
'author = {Allen H. Andrews and Edward A. Laman and Tony Bennett and Erin Jones and Gregor M. Cailliet}, ' ... 
'year = {2005}, ' ...
'title = {Age and Growth of Spotted Sand Bass, \emph{Paralabrax maculatofasciatus}, in {B}ahia de {L}os {A}ngeles, {B}aja {C}alifornia, {M}exico, with Age Validation using Otolith Edge Analysis}, ' ...
'journal = {Bull. Southern California Acad. Sci.}, ' ...
'volume = {104(1)}, ' ...
'pages = {14–25}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'fishbase'; type = 'Misc'; bib = ...
'howpublished = {\url{http://www.fishbase.org/summary/Paralabrax-maculatofasciatus.html}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

