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

%% set metadata 
metaData.phylum     = 'Chordata'; 
metaData.class      = 'Mammalia'; 
metaData.order      = 'Cetartiodactyla'; 
metaData.family     = 'Balaenidae';
metaData.species    = 'Eubalaena_australis'; 
metaData.species_en = 'Southern right whale'; 

metaData.ecoCode.climate = {'ME'};
metaData.ecoCode.ecozone = {'MS'};
metaData.ecoCode.habitat = {'0iMp'};
metaData.ecoCode.embryo  = {'Mv'};
metaData.ecoCode.migrate = {'Ml'};
metaData.ecoCode.food    = {'bxM', 'xiCik'};
metaData.ecoCode.gender  = {'Dg'};
metaData.ecoCode.reprod  = {'O'};

metaData.T_typical  = C2K(38); % K, body temperature
metaData.data_0     = {'tg'; 'ax'; 'ap'; 'am'; 'Lb'; 'Li'; 'Wwb'; 'Wwi'; 'Ri'};  
metaData.data_1     = {'L-V'; 't-L'}; 

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman', 'Starrlight Augustine'};                            
metaData.date_subm = [2023 08 12];                          
metaData.email    = {'bas.kooijman@vu.nl'};                 
metaData.address  = {'VU University Amsterdam, 1081 HV, Netherlands'};    

metaData.curator     = {'Starrlight Augustine'};
metaData.email_cur   = {'starrlight@tecnico.ulisboa.pt'}; 
metaData.date_acc    = [2023 08 12];

%% set data
% zero-variate data
data.tg = 365;       units.tg = 'd';  label.tg = 'gestation time';             bibkey.tg = 'AnAge';    
  temp.tg = C2K(38);  units.temp.tg = 'K'; label.temp.tg = 'temperature';
data.tx =  5.5*30.5; units.tx = 'd';  label.tx = 'time since birth at weaning'; bibkey.tx = 'ADW';    
  temp.tx = C2K(38); units.temp.tx = 'K'; label.temp.tx = 'temperature';
data.tp =  10*365; units.tp = 'd'; label.tp = 'time since birth at puberty';   bibkey.tp = 'ADW';
  temp.tp = C2K(38);  units.temp.tp = 'K'; label.temp.tp = 'temperature';
data.am = 100 * 365;  units.am = 'd';  label.am = 'life span';                 bibkey.am = 'Wiki';   
  temp.am = C2K(38); units.temp.am = 'K'; label.temp.am = 'temperature';

data.Lb = 500;   units.Lb = 'cm'; label.Lb = 'length at birth';                bibkey.Lb = 'ChriVivi2018';
data.Li = 16.4e2;   units.Li = 'cm'; label.Li = 'ultimate length for females'; bibkey.Li = 'Wiki';
  comment.Li = 'record 18 m';
data.Lim = 15e2;   units.Lim = 'cm'; label.Lim = 'ultimate length for males';  bibkey.Lim = 'Wiki';

data.Wwb = 2e6;     units.Wwb = 'g'; label.Wwb = 'wet weight at birth';        bibkey.Wwb = 'ChriVivi2018';
  comment.Wwb = 'ADW: 1-1.5 ton';
data.Wwi = 47e6;   units.Wwi = 'g'; label.Wwi = 'ultimate wet weight';         bibkey.Wwi = 'Wiki';
  comment.Wwi = '90 ton';

data.Ri = 1/3/365;    units.Ri = '#/d';label.Ri = 'maximum reprod rate';       bibkey.Ri  = 'AnAge';   
  temp.Ri = C2K(38); units.temp.Ri = 'K'; label.temp.Ri = 'temperature';

% uni-variate data
% length-volume 
data.LV = [ ... % length (cm), volume (m^3)
469.279	1.431
481.715	1.531
487.733	1.782
489.429	1.531
500.169	1.883
502.733	1.782
507.478	2.209
509.611	2.084
511.306	1.808
512.606	2.008
513.901	2.134
514.767	2.259
516.045	2.159
519.049	2.209
519.069	2.485
519.881	1.858
521.570	1.506
524.195	2.259
525.937	2.636
527.629	2.335
530.228	2.711
530.586	1.732
531.029	1.933
531.492	2.410
535.326	2.084
538.745	1.958
538.787	2.536
539.156	1.707
545.649	2.611
546.972	3.138
548.624	2.259
550.806	2.812
550.815	2.937
552.467	2.059
553.337	2.234
555.488	2.360
555.513	2.711
555.895	2.059
559.356	2.510
560.274	3.364
560.633	2.385
561.097	2.887
561.112	3.088
561.485	2.310
564.508	2.636
565.822	3.038
566.635	2.410
567.956	2.912
568.046	4.167
570.915	2.335
570.942	2.711
573.112	3.088
575.208	2.435
576.551	3.238
577.803	2.762
580.380	2.837
580.403	3.163
582.958	2.937
582.987	3.339
585.076	2.586
586.403	3.163
586.430	3.540
587.658	2.736
589.858	3.540
591.530	2.937
591.549	3.213
592.806	2.812
592.878	3.816
595.414	3.314
595.466	4.042
596.299	3.715
597.148	3.590
597.531	2.962
598.369	2.686
599.689	3.163
600.947	2.787
601.016	3.741
601.808	2.837
603.128	3.314
603.596	3.866
604.437	3.640
604.919	4.393
606.621	4.218
607.381	2.862
607.501	4.544
608.255	3.088
608.757	4.117
609.237	4.845
609.560	3.364
610.021	3.816
612.144	3.540
612.540	3.088
612.549	3.213
613.457	3.916
613.482	4.268
614.359	4.544
615.185	4.117
616.408	3.238
618.205	4.393
619.028	3.916
619.485	4.318
621.555	3.289
622.946	4.770
623.258	3.138
623.351	4.444
624.625	4.268
625.030	3.941
625.855	3.490
627.605	3.992
627.664	4.820
628.837	3.238
629.350	4.418
630.560	3.364
632.371	4.720
633.158	3.741
634.039	4.067
634.835	3.213
635.285	3.515
636.587	3.741
637.496	4.469
637.952	4.845
638.732	3.766
640.466	4.042
640.939	4.669
641.515	6.728
641.715	3.540
641.800	4.720
641.852	5.448
644.335	4.218
645.671	4.921
646.019	3.791
646.055	4.293
647.314	3.916
647.398	5.096
648.203	4.368
649.096	4.870
650.373	4.745
650.875	5.774
651.257	5.121
652.130	5.347
652.597	5.874
652.916	4.343
654.185	4.117
656.411	5.272
656.416	5.347
656.778	4.418
657.244	4.946
658.019	3.791
658.509	4.644
659.821	5.021
659.821	5.021
660.313	5.900
660.714	5.523
662.762	4.192
662.834	5.197
663.205	4.393
664.573	5.548
665.373	4.745
666.176	3.992
666.284	5.498
667.123	5.247
669.243	4.921
669.644	4.544
669.732	5.774
671.430	5.548
672.718	5.573
673.494	4.444
673.550	5.222
676.987	5.347
677.775	4.368
678.234	4.795
678.808	6.828
679.577	5.598
680.540	7.079
680.918	6.377
681.259	5.146
682.498	4.494
683.412	5.297
683.436	5.623
683.909	6.251
684.684	5.096
684.705	5.397
686.378	4.820
688.105	4.996
688.186	6.126
688.613	6.100
689.023	5.849
689.871	5.724
690.702	5.347
691.200	6.326
693.682	5.071
694.546	5.172
698.884	5.900
699.296	5.674
700.125	5.272
701.391	4.996
702.334	6.201
703.159	5.749
703.231	6.753
703.539	5.071
704.421	5.423
704.470	6.100
704.493	6.427
707.432	5.573
707.455	5.900
707.484	6.301
707.947	6.778
708.244	4.946
709.143	5.523
709.207	6.427
710.568	7.481
711.736	5.824
712.672	6.929
712.982	5.272
713.057	6.326
713.443	5.724
713.502	6.552
714.764	6.226
715.225	6.678
715.695	7.255
716.099	6.904
716.880	5.849
716.906	6.201
718.600	5.925
719.531	6.954
720.797	6.678
721.356	8.510
721.591	5.799
723.327	6.100
723.707	5.423
724.345	8.360
725.559	7.356
726.747	5.975
727.616	6.151
727.749	8.008
728.940	6.678
728.995	7.456
731.061	6.377
731.082	6.678
731.965	7.029
732.750	6.025
733.139	5.473
733.155	5.699
734.993	7.431
735.435	7.607
737.160	7.757
737.493	6.427
737.879	5.824
740.025	5.874
740.043	6.126
740.086	6.728
740.106	7.004
740.131	7.356
741.852	7.456
742.240	6.879
743.446	5.774
743.558	7.331
744.820	7.004
744.879	7.833
744.922	8.435
747.372	6.728
747.431	7.556
748.629	6.326
749.104	6.979
751.238	6.854
753.435	7.607
755.911	6.276
756.361	6.577
757.702	7.356
758.195	8.259
759.895	8.059
759.965	9.038
760.681	7.054
762.375	6.778
762.928	8.510
763.254	7.079
764.556	7.305
765.501	8.536
766.665	6.828
767.590	7.782
767.608	8.033
767.981	7.255
768.483	8.285
773.647	8.586
776.160	7.757
780.390	6.979
781.263	7.205
782.628	8.310
783.085	8.711
783.924	8.460
784.304	7.782
784.709	7.456
785.601	7.933
786.811	6.879
789.917	8.360
794.186	8.134
794.653	8.661
796.279	7.431
797.158	7.732
799.270	7.305
802.778	8.410
804.562	9.389
806.238	8.862
808.369	8.686
809.183	8.084
811.338	8.259
813.058	8.335
828.969	9.088
831.182	10.067
831.494	8.435
836.757	10.117
841.473	10.142
844.482	10.268
847.421	9.414
848.371	10.720
851.351	10.444
860.289	9.565
861.734	11.799
863.690	9.188];
units.LV  = {'cm', 'm^3'};  label.LV = {'length', 'volume'};  
bibkey.LV = 'ChriVivi2018';

% time=length
data.tL = [ ...
0.000	475.978
1.070	481.000
1.987	474.992
2.293	536.148
2.446	525.121
2.904	503.070
3.057	537.157
3.057	490.039
3.210	517.108
3.822	542.175
3.975	553.204
4.739	523.136
5.197	511.109
5.350	490.058
5.962	511.116
6.115	549.212
6.573	537.186
6.726	528.165
6.726	569.267
6.879	527.163
7.032	529.170
7.032	554.232
7.490	540.201
7.796	556.244
8.561	521.162
8.866	538.208
9.019	543.221
9.172	516.155
9.172	565.278
9.478	531.195
9.478	564.278
9.631	512.149
9.936	544.232
10.089	523.180
10.242	558.269
10.854	536.219
11.618	575.323
11.771	566.302
11.924	516.178
12.076	578.335
12.382	552.272
12.535	594.379
12.535	569.316
12.688	529.217
12.841	590.371
13.146	568.319
13.146	526.213
13.299	548.270
13.605	595.390
14.064	600.406
14.369	586.374
14.369	604.419
14.369	571.336
14.522	558.305
14.828	523.220
15.134	549.288
15.439	551.295
15.745	584.380
15.898	561.324
16.051	592.403
16.051	532.253
16.815	614.464
16.815	595.417
16.815	581.382
16.815	578.374
16.968	622.486
17.427	605.447
18.038	599.437
18.344	586.407
18.650	614.480
18.955	564.357
18.955	560.347
19.414	580.401
19.414	591.429
19.414	618.496
19.567	606.467
20.025	597.449
20.331	553.341
20.637	635.549
21.096	609.488
21.096	620.515
21.707	572.400
21.860	629.544
21.860	585.434
22.166	624.534
22.318	577.418
22.471	580.427
22.624	613.511
22.777	597.472
23.083	559.379
23.236	608.503
23.236	635.571
23.389	612.514
23.694	616.527
24.000	594.474
24.153	626.556
24.764	618.541
24.764	635.584
24.917	606.512
26.446	645.623
27.516	606.534
27.669	609.543
27.975	636.613
27.975	672.703
28.280	657.668
28.433	630.602
28.433	645.639
28.586	617.570
28.739	654.664
29.197	612.563
29.350	606.549
29.503	646.651
29.962	606.554
30.268	595.529
30.268	605.554
30.420	619.591
30.420	642.648
30.726	617.588
30.879	634.632
31.338	600.551
31.338	638.646
32.102	601.560
32.713	647.680
32.866	663.721
33.019	678.760
33.172	626.631
33.325	594.552
33.631	689.793
33.783	650.696
33.936	614.608
34.089	675.762
34.089	625.636
34.242	630.650
34.242	606.590
34.701	656.719
35.006	635.669
35.312	672.764
35.771	671.766
35.771	685.801
36.076	610.615
36.382	646.708
36.688	686.811
36.688	622.651
37.147	648.720
37.147	612.629
37.452	665.765
37.452	640.702
38.064	624.667
38.217	666.774
38.217	616.648
38.369	674.795
38.828	654.749
38.828	645.726
38.828	622.668
38.981	612.645
39.134	685.829
39.287	710.893
39.439	666.784
40.051	678.819
40.051	693.857
40.662	659.776
40.968	635.719
41.121	702.888
41.274	650.759
41.732	641.740
41.885	651.767
41.885	660.789
41.885	670.814
42.038	618.685
42.344	650.768
42.803	700.897
42.955	666.813
43.261	657.793
43.567	680.853
43.720	704.915
43.720	646.769
44.025	663.815
44.025	655.795
44.331	728.980
44.331	734.995
44.331	685.872
44.790	712.944
45.096	665.829
45.248	688.888
45.248	640.767
45.248	632.747
45.707	668.841
45.860	704.933
45.860	697.915
46.166	649.797
46.777	720.980
46.930	647.799
47.236	667.851
47.389	628.755
47.389	639.783
48.000	727.006
48.000	711.968
48.153	737.032
48.153	646.807
48.306	696.933
48.306	673.875
48.459	691.922
48.459	704.954
48.459	665.857
48.764	642.802
49.070	679.897
49.223	719.998
49.223	690.926
49.529	734.036
49.529	655.841
49.529	659.851
49.987	697.950
50.140	710.983
50.293	647.827
50.752	670.888
50.752	670.888
50.904	686.930
50.904	723.020
51.516	658.865
52.127	682.930
52.127	698.970
52.280	742.079
52.433	727.043
52.586	707.996
52.892	720.029
53.503	686.951
53.656	720.035
53.809	711.014
54.268	766.156
54.268	722.046
54.573	697.988
54.573	691.973
54.573	682.950
54.573	677.938
54.879	705.008
55.185	754.133
55.185	728.068
55.643	739.100
55.643	706.017
55.796	697.998
55.949	751.132
56.255	715.045
56.255	662.914
56.408	734.093
56.561	672.942
57.172	775.203
57.172	677.960
57.478	729.090
57.631	743.126
58.242	748.144
58.395	738.120
58.701	719.075
58.854	659.928
58.854	712.059
59.006	693.012
59.312	737.125
59.771	709.059
59.771	730.112
59.924	669.962
59.924	721.090
60.076	742.144
60.841	754.181
61.147	712.078
61.452	689.023
62.064	760.206
62.064	726.121
62.522	750.185
62.522	717.102
62.675	740.161
62.981	765.226
63.287	704.076
63.439	715.105
64.204	756.214
64.357	763.233
64.357	710.100
65.121	690.056
65.274	701.085
65.580	744.195
66.038	716.129
66.344	725.154
66.344	762.247
66.497	769.266
67.108	708.118
68.025	735.193
68.637	744.221
68.637	714.146
68.943	723.171
69.554	736.208
70.013	718.167
70.318	750.250
70.930	707.147
70.930	748.250
71.236	779.330
71.236	757.275
71.236	727.200
71.541	719.182
72.153	779.338
73.223	743.257
73.682	756.293
74.140	782.362
74.446	731.237
74.599	717.203
75.210	720.216
75.363	763.325
75.363	742.272
75.516	709.190
76.127	754.308
76.127	713.206
76.433	728.246
77.045	737.273
77.197	784.393
78.115	792.420
78.573	774.379
79.032	740.298
79.338	732.280
79.949	718.250
80.408	806.474
82.089	811.501
83.006	746.346
83.465	806.500
83.618	799.484
83.618	792.466
86.217	766.423
86.981	812.544
87.287	771.444
87.745	846.636
87.745	745.383
87.745	829.593
88.357	796.516
88.510	806.542
89.121	799.530
89.427	785.497
90.191	762.446
91.567	837.645
92.484	768.480
92.484	785.523
94.013	848.693
94.013	828.643
94.166	768.494
94.318	862.731
94.318	789.548
95.236	843.691
96.000	801.592
97.223	761.502
98.446	834.695
98.446	782.565
99.363	840.718
102.420	847.761
113.121	855.871
113.427	827.803
118.166	863.933];
n=size(data.tL,1); for i=2:n; if data.tL(i,1)<=data.tL(i-1,1); data.tL(i,1)=data.tL(i-1,1)+1e-8;end;end
units.tL  = {'d', 'cm'};  label.tL = {'time since birth', 'length'};  
temp.tL = C2K(38);  units.temp.tL = 'K'; label.temp.tL = 'temperature';
bibkey.tL = 'ChriVivi2018';

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

%% 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;

%% Discussion points
D1 = 'Males are assumed to differ from females by {p_Am} only';
D2 = 'Growth between birth and weaning could only be captured with a larger energy conductance, else the max assim rate would become very large';
metaData.discussion = struct('D1',D1, 'D2',D2);  

%% Links
metaData.links.id_CoL = '3BNBQ'; % Cat of Life
metaData.links.id_ITIS = '552771'; % ITIS
metaData.links.id_EoL = '46559422'; % Ency of Life
metaData.links.id_Wiki = 'Eubalaena_australis'; % Wikipedia
metaData.links.id_ADW = 'Eubalaena_australis'; % ADW
metaData.links.id_Taxo = '168087'; % Taxonomicon
metaData.links.id_WoRMS = '220222'; % WoRMS
metaData.links.id_MSW3 = '14300007'; % MSW3
metaData.links.id_AnAge = 'Eubalaena_australis'; % AnAge

%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Eubalaena_australis}}'; 
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)}, ' ...
'URL = {../../../bib/Kooy2010.html}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'ChriVivi2018'; type = 'Article'; bib = [ ... 
'author = {Fredrik Christiansen and Fabien Vivier and Claire Charlton and Rhianne Ward and Stephen Burnell and Alicia Amerson and Lars Bejder}, ' ... 
'year = {2018}, ' ...
'title = {Maternal size and body condition determine calf growth rates in southern right whales}, ' ...
'journal = {Marine Ecology Progress Series}, ' ...
'volume = {592}, ' ...
'pages = {267–281}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'AnAge'; type = 'Misc'; bib = ...
'howpublished = {\url{http://genomics.senescence.info/species/entry.php?species=Eubalaena_australis}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'ADW'; type = 'Misc'; bib = ...
'howpublished = {\url{http://animaldiversity.org/accounts/Eubalaena_australis/}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

