function [data, auxData, metaData, txtData, weights] = mydata_Glaucosoma_hebraicum
%% set metaData
metaData.phylum     = 'Chordata'; 
metaData.class      = 'Actinopterygii'; 
metaData.order      = 'Acropomatiformes'; 
metaData.family     = 'Glaucosomatidae';
metaData.species    = 'Glaucosoma_hebraicum'; 
metaData.species_en = 'West Australian dhufish';

metaData.ecoCode.climate = {'MA'};
metaData.ecoCode.ecozone = {'MPW'};
metaData.ecoCode.habitat = {'0jMp', 'jiMr'};
metaData.ecoCode.embryo  = {'Mp'};
metaData.ecoCode.migrate = {};
metaData.ecoCode.food    = {'bjPz', 'jiCi'};
metaData.ecoCode.gender  = {'D'};
metaData.ecoCode.reprod  = {'O'};

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

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

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

%% set data
% zero-variate data

data.am = 40*365;  units.am = 'd';    label.am = 'life span';                bibkey.am = 'HespPott2002';   
  temp.am = C2K(20.4);  units.temp.am = 'K'; label.temp.am = 'temperature'; 
  
data.Lp  = 30.1; units.Lp  = 'cm';  label.Lp  = 'standard length at puberty'; bibkey.Lp  = 'HespPott2002'; 
  comment.Lp = 'based on Glaucosoma scapulare';
data.Li  = 98.1;  units.Li  = 'cm';  label.Li  = 'ultimate standard length'; bibkey.Li  = 'fishbase';

data.Wwb = 1e-3; units.Wwb = 'g';   label.Wwb = 'wet weight at birth';   bibkey.Wwb = 'guess';
  comment.Wwb = 'based egg diameter of 1.25 mm : pi/6*0.125^3'; 
data.Wwp = 442; units.Wwp = 'g';   label.Wwp = 'wet weight at puberty';   bibkey.Wwp = {'HespPott2002','fishbase'};
  comment.Wwp = 'based on (Lp/Li)^3*Wwi';
data.Wwi = 15.3e3; units.Wwi = 'g';   label.Wwi = 'ultimate wet weight';     bibkey.Wwi = 'HespPott2002';

data.Ri = 3e6/365;   units.Ri = '#/d';  label.Ri = 'max reprod rate';  bibkey.Ri = 'fishbase';   
  temp.Ri = C2K(20.4); units.temp.Ri = 'K'; label.temp.Ri = 'temperature';

% uni-variate data
% time-length
data.tL_f = [ ... % time since birth (yr), total length (cm)
0.330	3.680
0.562	7.331
0.632	5.501
0.788	8.697
0.795	11.668
1.011	8.464
1.014	10.063
1.015	10.063
1.154	6.175
1.233	8.001
1.328	17.369
1.389	11.426
1.390	11.654
1.393	13.254
1.698	16.218
1.943	25.811
1.995	16.211
2.237	24.433
2.300	19.175
2.388	25.344
2.512	14.600
2.601	20.997
2.782	35.162
2.989	27.844
3.212	28.067
3.220	31.267
3.223	32.638
3.358	26.464
3.375	34.006
3.437	28.748
3.510	28.060
3.745	33.083
3.814	31.024
3.902	36.736
3.961	30.107
4.126	37.188
4.191	33.073
4.208	40.614
4.281	39.927
4.285	41.526
4.424	37.410
4.492	34.665
4.707	30.775
4.789	34.202
4.793	36.030
4.871	37.856
4.883	42.884
4.933	32.370
4.951	39.911
5.010	33.282
5.088	34.880
5.102	41.051
5.117	47.678
5.253	41.961
5.324	40.588
5.333	44.473
5.343	48.815
5.769	40.121
5.842	39.205
5.915	38.518
5.923	42.174
5.932	46.059
5.999	43.087
6.062	37.829
6.069	41.028
6.071	41.714
6.073	42.628
6.091	50.626
6.131	35.313
6.230	46.509
6.236	49.023
6.394	52.905
6.395	53.590
6.397	54.505
6.407	58.847
6.531	47.874
6.567	63.642
6.782	60.209
6.815	41.697
6.816	42.382
6.850	57.465
6.919	55.178
6.985	51.063
7.061	51.975
7.085	62.488
7.143	55.401
7.211	52.429
7.230	60.884
7.347	46.941
7.511	53.565
7.577	49.906
7.597	58.819
7.736	54.245
7.897	59.726
7.968	58.125
8.024	50.125
8.089	45.781
8.259	55.147
8.264	57.432
8.272	61.089
8.324	51.032
8.343	59.488
8.552	53.084
8.566	59.482
8.709	56.737
8.717	60.622
8.760	46.680
8.847	51.934
8.888	70.445
8.944	62.216
9.011	59.015
9.023	64.043
9.107	68.612
9.131	46.214
9.146	52.613
9.218	51.468
9.461	60.604
9.514	50.776
9.524	55.346
9.621	65.172
9.676	56.714
9.755	58.769
9.762	61.969
9.819	53.968
9.847	66.766
9.865	74.765
9.897	55.566
9.926	68.821
9.973	56.479
10.000	68.362
10.006	71.333
10.013	74.076
10.066	64.933
10.099	79.330
10.128	59.446
10.187	52.589
10.201	58.759
10.293	66.527
10.327	81.382
10.372	68.354
10.386	74.753
10.428	60.125
10.452	70.866
10.497	58.067
10.584	63.549
10.714	55.090
10.728	61.261
10.756	73.601
10.879	62.171
10.892	68.113
10.901	71.998
10.955	63.084
11.006	52.798
11.089	56.453
11.248	60.792
11.345	70.845
11.353	74.502
11.388	56.903
11.457	54.845
11.470	60.329
11.548	61.927
11.566	69.926
11.567	69.926
11.582	77.239
11.614	58.269
11.701	63.981
11.774	63.293
11.857	67.177
11.868	71.747
11.928	65.347
11.936	69.003
11.987	58.946
12.026	76.086
12.031	78.143
12.069	62.144
12.090	71.285
12.235	69.911
12.241	72.424
12.291	61.453
12.309	69.680
12.357	58.024
12.513	61.220
12.525	66.476
12.583	58.933
12.592	63.275
12.635	82.014
12.786	83.153
12.810	60.756
12.886	61.439
12.945	54.810
12.953	58.010
12.979	69.893
12.991	74.921
13.037	62.579
13.048	67.378
13.054	69.892
13.064	74.462
13.151	80.174
13.161	51.606
13.220	77.430
13.235	84.286
13.302	81.084
13.361	74.227
13.445	78.567
13.489	64.854
13.490	65.539
13.498	68.967
13.551	59.596
13.622	57.766
13.631	61.879
13.729	72.390
13.730	72.618
13.738	76.503
13.801	71.246
13.972	81.069
14.012	65.984
14.183	75.579
14.192	79.464
14.265	79.005
14.315	68.034
14.389	68.032
14.459	66.202
14.605	65.056
14.629	75.569
14.771	72.366
14.826	63.909
14.853	75.792
14.940	81.504
15.146	73.728
15.170	84.469
15.211	69.613
15.232	78.754
15.346	63.668
15.425	65.495
15.434	69.608
15.445	74.407
15.457	79.663
15.497	64.579
15.516	72.806
15.546	86.060
15.586	70.976
15.604	78.974
15.607	80.346
15.686	82.401
15.697	87.200
15.980	80.794
16.042	75.079
16.056	81.478
16.060	83.078
16.065	85.591
16.283	83.072
16.403	70.271
16.505	82.610
16.632	72.780
16.714	76.206
16.730	83.519
16.928	72.316
16.951	82.371
17.020	79.856
17.092	78.940
17.112	87.853
17.178	83.966
17.181	85.566
17.379	74.363
17.546	82.358
17.550	84.186
17.554	86.014
17.742	70.012
17.756	76.182
17.862	90.578
18.066	81.660
18.132	78.230
18.135	79.373
18.368	83.710
19.118	86.435
19.207	93.061
20.087	87.098
20.125	71.100
20.690	90.513
21.176	75.418
21.424	86.153
21.432	89.581
22.115	95.736
22.176	89.564
23.359	86.566
23.379	95.250
24.192	92.717
25.797	78.739
29.113	97.631
30.356	87.547
39.076	94.430];
data.tL_f(:,1) = 365 * (0+data.tL_f(:,1));  % convert yr to d
units.tL_f   = {'d', 'cm'};  label.tL_f = {'time since birth', 'total length', 'females'};  
temp.tL_f    = C2K(20.4);  units.temp.tL_f = 'K'; label.temp.tL_f = 'temperature';
bibkey.tL_f = 'HespPott2002';
%
data.tL_m = [ ... % time since birth (yr), total length (cm)
0.006	7.523
0.155	5.926
0.606	8.433
0.607	10.257
0.758	12.082
0.830	7.519
0.831	10.028
0.834	15.503
0.912	20.064
0.983	13.677
1.056	11.168
1.058	14.133
1.284	16.869
1.962	23.481
2.113	26.218
2.115	28.955
2.262	24.164
2.488	27.813
2.634	20.741
2.641	31.918
2.642	34.199
2.792	34.198
2.939	29.407
3.092	35.109
3.165	31.915
3.243	38.302
3.392	36.705
3.464	32.598
3.617	37.616
3.764	33.281
3.769	41.037
3.840	34.421
3.841	35.562
3.918	40.124
4.141	37.614
4.145	44.228
4.218	41.491
4.292	39.894
4.445	44.455
4.588	33.734
4.590	36.927
4.741	39.436
4.815	38.751
4.967	42.628
5.040	38.294
5.048	51.524
5.121	49.927
5.192	43.083
5.199	54.032
5.269	46.961
5.272	51.523
5.418	45.819
5.500	57.452
5.503	62.470
5.636	34.641
5.648	54.486
5.651	59.048
5.722	51.977
5.791	43.537
5.876	60.188
6.031	68.171
6.102	61.783
6.170	50.606
6.174	57.677
6.321	53.115
6.323	56.080
6.328	64.976
6.395	52.202
6.467	46.727
6.470	52.430
6.476	62.466
6.619	50.376
6.695	52.885
6.701	62.693
6.774	59.499
6.842	47.410
6.847	56.534
6.996	54.936
6.997	57.217
7.070	54.252
7.079	68.166
7.143	51.286
7.221	56.304
7.230	70.674
7.300	63.375
7.374	62.234
7.518	52.653
7.522	58.355
7.523	58.584
7.601	66.339
7.602	66.339
7.603	66.339
7.604	67.935
7.681	73.638
7.744	55.161
7.747	60.179
7.976	67.706
8.118	53.563
8.196	59.493
8.197	61.318
8.198	62.002
8.200	65.652
8.203	70.442
8.270	57.211
8.349	64.510
8.350	67.020
8.491	52.192
8.494	57.667
8.495	58.579
8.575	66.562
8.721	61.087
8.727	70.439
8.804	75.457
8.872	63.824
9.017	55.839
9.018	56.524
9.021	62.226
9.022	62.911
9.032	80.703
9.099	67.244
9.175	69.297
9.250	70.209
9.324	68.384
9.330	78.648
9.469	60.399
9.551	72.488
9.553	75.226
9.629	77.963
9.768	59.942
9.770	62.451
9.923	68.609
10.067	58.344
10.147	67.011
10.151	74.767
10.218	61.308
10.229	78.872
10.298	69.520
10.374	72.257
10.375	73.169
10.448	70.431
10.452	76.818
10.454	79.784
10.456	84.118
10.457	85.030
10.520	64.957
10.521	64.957
10.598	70.887
10.602	77.958
10.683	87.082
10.817	60.850
10.824	73.851
10.894	64.955
10.895	65.867
11.048	72.254
11.122	70.657
11.192	61.988
11.198	72.937
11.205	84.114
11.271	69.059
11.274	75.446
11.277	79.324
11.347	71.568
11.425	76.358
11.429	82.973
11.564	59.706
11.565	60.162
11.579	84.569
11.652	80.234
11.725	77.725
11.728	83.199
11.730	85.480
11.792	64.951
11.794	68.372
11.797	72.706
11.950	78.180
12.030	87.304
12.098	75.670
12.178	83.654
12.246	72.020
12.251	80.460
12.401	81.828
12.469	70.194
12.626	81.827
12.697	76.580
12.700	80.686
12.703	85.248
12.843	70.649
12.852	84.107
12.920	73.157
12.922	77.263
12.926	83.422
12.997	77.719
13.005	90.037
13.073	79.544
13.074	80.684
13.076	83.878
13.150	82.280
13.216	67.225
13.292	70.419
13.299	81.367
13.378	88.438
13.451	85.929
13.521	77.489
13.677	87.296
13.828	89.577
13.901	86.155
14.041	70.415
14.048	82.504
14.124	84.101
14.197	81.591
14.269	76.117
14.346	79.766
14.354	93.452
14.419	77.256
14.426	89.118
14.567	74.519
14.648	83.414
14.649	86.151
14.942	75.657
14.946	82.272
15.019	79.535
15.098	86.377
15.100	89.799
15.253	94.588
15.318	78.849
15.320	81.130
15.399	88.201
15.468	77.936
15.544	81.129
15.547	84.779
15.624	88.656
15.625	90.937
15.697	85.234
15.850	91.848
15.853	96.182
16.068	80.214
16.070	83.864
16.215	76.108
16.216	76.792
16.223	90.022
16.450	93.442
16.821	87.966
16.822	89.335
16.823	91.160
16.824	91.160
16.825	92.756
17.117	82.262
17.344	86.139
17.646	90.015
17.648	93.437
18.015	82.714
18.097	94.119
18.098	94.119
18.165	83.170
18.245	90.925
18.317	85.907
18.549	98.679
18.698	97.082
18.990	84.991
19.138	82.709
19.219	92.745
19.296	97.079
19.372	98.219
19.740	87.725
20.413	87.494
20.648	103.916
21.017	95.475
21.458	81.558
21.686	88.400
21.838	92.277
21.912	89.768
22.067	98.435
22.295	105.049
22.361	89.538
22.514	95.696
22.741	100.029
22.962	92.957
23.039	97.062
23.340	99.342
23.861	94.321
24.159	92.267
24.685	96.370
24.757	91.352
25.507	93.629
25.659	97.506
25.732	94.084
27.680	97.041
28.201	93.389
28.281	101.144
28.577	95.212
28.881	103.422
30.676	100.677
32.998	103.175
34.792	99.518
34.949	112.519
41.304	100.400];
data.tL_m(:,1) = 365 * (0+data.tL_m(:,1));  % convert yr to d
units.tL_m   = {'d', 'cm'};  label.tL_m = {'time since birth', 'total length', 'males'};  
temp.tL_m    = C2K(20.4);  units.temp.tL_m = 'K'; label.temp.tL_m = 'temperature';
bibkey.tL_m = 'HespPott2002';
    
%% set weights for all real data
weights = setweights(data, []);
weights.tL_f = 5 * weights.tL_f;
weights.tL_m = 5 * weights.tL_m;
weights.Wwi = 10 * weights.Wwi;
weights.Li = 5 * 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;

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

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

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

%% Links
metaData.links.id_CoL = '3G6MD'; % Cat of Life
metaData.links.id_ITIS = '645722'; % ITIS
metaData.links.id_EoL = '46581088'; % Ency of Life
metaData.links.id_Wiki = 'Glaucosoma'; % Wikipedia
metaData.links.id_ADW = 'Glaucosoma_hebraicum'; % ADW
metaData.links.id_Taxo = '175015'; % Taxonomicon
metaData.links.id_WoRMS = '279189'; % WoRMS
metaData.links.id_fishbase = 'Glaucosoma-hebraicum'; % fishbase

%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Glaucosoma}}';
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 = 'HespPott2002'; type = 'Article'; bib = [ ... 
'author = {Hesp, S.A. and I.C. Potter and N.G. Hall}, ' ... 
'year = {2002}, ' ...
'title = {Age and size composition, growth rate, reproductive biology, and habitats of the {W}est {A}ustralian dhufish (\emph{Glaucosoma hebraicum}) and their relevance to the management of this species}, ' ...
'journal = {Fish. Bull.}, ' ...
'volume = {100(2)}, ' ...
'pages = {214-227}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'fishbase'; type = 'Misc'; bib = ...
'howpublished = {\url{https://fishbase.mnhn.fr/summary/Glaucosoma-hebraicum.html}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
