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

%% set metaData
metaData.phylum     = 'Chordata'; 
metaData.class      = 'Aves'; 
metaData.order      = 'Strigiformes'; 
metaData.family     = 'Strigidae';
metaData.species    = 'Athene_noctua'; 
metaData.species_en = 'Little owl'; 

metaData.ecoCode.climate = {'B', 'C', 'D'};
metaData.ecoCode.ecozone = {'TH'};
metaData.ecoCode.habitat = {'0iTh', '0iTi', '0iTs'};
metaData.ecoCode.embryo  = {'Tnwf'};
metaData.ecoCode.migrate = {'Ms'};
metaData.ecoCode.food    = {'biCi', 'biCv'};
metaData.ecoCode.gender  = {'Dg'};
metaData.ecoCode.reprod  = {'O'};

metaData.T_typical  = C2K(40.2); % K, body temp
metaData.data_0     = {'ab'; 'ax'; 'ap'; 'aR'; 'am'; 'Wwb'; 'Wwi'; 'Ri'}; 
metaData.data_1     = {'t-Ww'}; 

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman'};    
metaData.date_subm = [2018 10 04];              
metaData.email    = {'bas.kooijman@vu.nl'};            
metaData.address  = {'VU University Amsterdam'};   

metaData.author_mod_1   = {'Bas Kooijman'};    
metaData.date_mod_1     = [2022 11 29];              
metaData.email_mod_1    = {'bas.kooijman@vu.nl'};            
metaData.address_mod_1  = {'VU University Amsterdam'};   

metaData.author_mod_2   = {'Bas Kooijman', 'Starrlight Augustine'};    
metaData.date_mod_2     = [2023 07 04];              
metaData.email_mod_2    = {'bas.kooijman@vu.nl'};            
metaData.address_mod_2  = {'VU University, Amsterdam'};   

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

%% set data
% zero-variate data

data.ab = 28;        units.ab = 'd';    label.ab = 'age at birth';                 bibkey.ab = 'EoL';   
  temp.ab = C2K(36); units.temp.ab = 'K'; label.temp.ab = 'temperature';
  comment.ab = '18 to 35 d';
data.tx = 30;        units.tx = 'd';    label.tx = 'time since birth at fledging'; bibkey.tx = 'PerrGrue2014';   
  temp.tx = C2K(40.2); units.temp.tx = 'K'; label.temp.tx = 'temperature';
  comment.tx = '23 to 37 d';
data.tp = 90;        units.tp = 'd';    label.tp = 'time since birth at puberty'; bibkey.tp = 'guess';   
  temp.tp = C2K(40.2); units.temp.tp = 'K'; label.temp.tp = 'temperature';
  comment.tp = '23 to 37 d';
data.tR = 365;       units.tR = 'd';    label.tR = 'time since birth at 1st brood';bibkey.tR = 'AnAge';
  temp.tR = C2K(40.2); units.temp.tR = 'K'; label.temp.tR = 'temperature';
data.am = 11.1*365;    units.am = 'd';    label.am = 'life span';                    bibkey.am = 'AnAge';   
  temp.am = C2K(40.2); units.temp.am = 'K'; label.temp.am = 'temperature'; 

data.Wwb = 11;     units.Wwb = 'g';   label.Wwb = 'wet weight at birth';         bibkey.Wwb = 'EoL';
  comment.Wwb = 'Wiki: egg length 35.5 mm, width 29.5 mm: weight = pi/6*3.55*2.95^2=16.2 g';
data.Wwi = 180;    units.Wwi = 'g';   label.Wwi = 'ultimate wet weight for females'; bibkey.Wwi = 'Wiki';
  comment.Wwi = 'Wiki: 178 to 435 g';

data.Ri  = 4/365;    units.Ri  = '#/d'; label.Ri  = 'maximum reprod rate';         bibkey.Ri  = 'Wiki';   
  temp.Ri = C2K(40.2); units.temp.Ri = 'K'; label.temp.Ri = 'temperature';
  comment.Ri = '3 to 5 eggs per clutch, 1 clutch per yr';
  
% uni-variate data
% time-weight
data.tW = [ ... % time since birth (d), ln wet weight (ln g)
8.988	71.522
8.989	67.013
8.991	62.754
8.991	62.504
8.992	61.502
8.992	59.497
9.036	69.768
9.044	48.724
9.081	75.781
9.089	57.242
9.090	54.987
9.090	53.484
9.138	51.981
9.140	47.221
9.177	75.028
9.808	47.967
9.840	86.296
9.841	83.039
9.843	79.532
9.892	75.273
9.893	72.517
9.942	69.009
9.992	64.249
9.993	62.746
9.994	58.236
9.996	55.230
10.045	50.720
10.899	62.488
10.945	65.744
10.978	104.575
10.981	96.558
10.981	95.055
10.982	93.051
10.983	89.794
10.985	86.036
10.985	85.034
10.986	83.531
10.986	82.529
10.986	82.278
10.987	81.527
10.987	80.525
10.988	79.522
10.988	78.270
10.988	77.268
10.989	75.765
10.998	52.967
10.999	50.462
11.001	46.704
11.001	45.451
11.038	72.006
11.038	72.006
11.038	71.756
11.039	71.004
11.039	69.000
11.934	98.053
11.983	96.049
11.984	92.291
11.985	89.535
11.986	88.282
11.989	80.767
12.040	71.246
12.087	73.000
12.091	64.482
12.140	60.724
12.928	117.335
12.937	94.788
12.937	93.786
12.938	92.533
12.938	91.531
12.939	89.778
12.940	86.020
12.941	85.268
12.941	84.266
12.941	84.016
12.942	83.013
12.943	78.755
12.944	77.502
12.945	74.746
12.947	68.984
12.949	63.473
12.980	105.811
12.981	104.558
12.981	104.558
12.985	94.788
13.077	103.054
13.077	101.801
13.078	100.048
13.079	98.044
13.079	96.540
13.850	77.244
13.936	100.041
13.978	114.571
14.037	86.512
14.855	69.469
14.880	125.085
14.929	122.579
14.938	99.782
14.938	99.531
14.939	98.780
14.939	98.279
14.942	90.512
14.943	88.007
14.948	74.479
14.949	72.976
14.949	71.473
14.950	70.972
14.978	118.821
14.979	116.566
14.980	114.813
14.980	114.312
14.981	113.059
14.982	110.554
14.982	108.550
14.983	107.297
14.984	105.293
14.984	103.289
14.985	102.287
14.985	102.036
14.985	101.786
14.986	98.278
14.987	98.028
14.987	97.527
14.987	97.527
14.988	95.272
14.988	95.021
14.988	94.019
14.988	93.518
15.081	101.033
15.842	106.789
15.859	62.446
15.881	128.584
15.894	95.515
15.897	86.747
15.898	84.993
15.923	141.360
15.931	120.567
15.933	116.308
15.934	114.805
15.935	110.546
15.937	105.786
15.937	105.535
15.938	104.533
15.939	102.529
15.939	101.026
15.940	99.523
15.941	97.268
15.942	94.262
15.980	118.061
16.079	108.290
16.848	95.507
16.851	87.991
16.885	122.563
16.885	120.809
16.886	119.557
16.886	117.803
16.887	115.548
16.887	115.548
16.888	113.795
16.888	113.294
16.889	112.292
16.889	110.538
16.890	108.534
16.891	106.530
16.892	104.525
16.893	100.517
16.902	79.974
16.933	120.558
16.944	92.500
16.944	92.249
16.945	89.744
16.976	133.585
16.980	122.813
16.992	91.497
17.024	130.829
17.026	125.819
17.027	124.816
17.027	124.315
17.067	143.355
17.121	127.822
17.848	98.505
17.848	98.004
17.848	97.503
17.849	96.501
17.849	94.998
17.850	93.745
17.853	86.981
17.884	127.816
17.885	126.563
17.886	121.803
17.887	120.801
17.887	120.550
17.893	104.266
17.895	101.511
17.895	100.759
17.895	100.008
17.935	119.798
17.935	118.796
17.935	118.546
17.975	138.587
17.977	134.078
17.984	115.539
18.026	131.823
18.792	122.547
18.834	137.077
18.849	100.000
18.850	96.492
18.882	138.329
18.884	131.816
18.886	127.557
18.886	126.555
18.887	125.553
18.887	124.550
18.887	123.548
18.891	115.281
18.925	148.099
18.926	146.847
18.926	145.343
18.929	139.832
18.929	139.080
18.939	113.778
18.988	109.518
18.991	103.005
19.717	76.193
19.792	126.547
19.793	124.543
19.794	123.040
19.794	121.537
19.795	119.783
19.796	118.280
19.796	117.027
19.845	113.519
19.847	109.261
19.847	109.010
19.884	135.565
19.885	134.563
19.885	133.310
19.885	132.559
19.885	132.559
19.886	131.557
19.896	105.753
19.926	149.594
19.927	147.590
19.929	142.329
19.930	140.575
19.949	92.475
19.950	89.970
19.975	146.086
19.976	144.583
20.800	111.257
20.840	131.549
20.841	128.292
20.841	127.540
20.885	138.062
20.886	134.304
20.890	126.037
20.890	125.786
20.890	124.534
20.891	122.028
20.892	119.523
20.892	119.273
20.894	114.513
20.900	98.980
20.912	69.419
20.927	152.592
20.927	151.089
20.928	149.836
20.928	148.583
20.931	142.320
20.940	118.020
20.941	117.519
20.941	116.266
21.834	149.077
21.835	147.824
21.879	156.592
21.897	111.749
21.901	101.227
21.902	98.471
21.903	96.216
21.904	94.463
21.929	151.331
21.942	117.009
21.944	114.254
21.945	109.744
21.945	109.494
21.947	106.738
21.947	106.237
21.947	104.483
21.948	102.479
21.980	142.562
21.983	134.295
21.983	134.295
21.984	133.543
21.984	133.293
21.984	132.040
21.989	120.767
21.989	119.514
21.989	119.013
21.989	118.763
21.990	118.261
22.035	125.276
22.035	123.773
22.845	126.021
22.845	125.770
22.845	125.018
22.846	123.766
22.846	123.014
22.847	122.263
22.847	121.762
22.847	120.258
22.859	90.196
22.879	159.590
22.883	151.072
22.883	149.569
22.884	147.565
22.886	143.557
22.887	139.298
22.888	138.045
22.888	136.793
22.889	135.540
22.889	135.289
22.890	131.782
22.891	130.028
22.892	127.523
22.930	152.575
22.937	134.537
22.945	114.496
22.946	112.993
22.949	103.974
22.951	99.965
22.952	97.711
22.954	93.201
22.996	106.729
23.033	133.535
23.042	109.985
23.845	129.519
23.854	107.223
23.855	105.219
23.856	102.212
23.857	100.459
23.888	142.546
23.889	138.788
23.889	138.538
23.891	135.031
23.891	135.031
23.891	134.279
23.891	133.527
23.891	133.277
23.892	132.024
23.892	130.772
23.894	126.012
23.895	125.260
23.895	124.509
23.898	116.993
23.898	115.740
23.899	114.989
23.899	113.486
23.900	110.980
23.927	164.592
23.932	150.312
23.934	146.304
23.935	144.801
23.935	144.300
23.936	141.043
23.937	139.540
23.943	123.256
24.786	161.578
24.833	164.083
24.883	158.321
24.886	149.803
24.889	144.292
24.889	143.289
24.890	142.037
24.891	138.780
24.891	137.277
24.892	135.523
24.893	133.018
24.893	132.517
24.894	130.763
24.895	129.511
24.895	128.008
24.895	127.507
24.896	126.755
24.896	126.003
24.896	125.252
24.896	124.751
24.897	123.248
24.897	122.496
24.898	120.742
24.901	113.728
24.901	112.475
24.902	110.220
24.903	109.218
24.903	108.216
24.907	99.448
24.908	95.440
24.910	90.429
24.932	155.314
24.943	126.504
24.946	119.740
24.948	115.732
24.948	115.481
24.948	114.479
24.964	74.896
25.004	94.186
25.851	122.989
25.852	121.737
25.859	103.448
25.890	146.037
25.890	144.534
25.895	132.759
25.926	173.594
25.931	162.571
25.931	161.819
25.933	156.308
25.934	155.055
25.940	138.521
25.940	138.521
25.941	137.268
25.941	136.517
25.943	131.005
25.986	142.278
25.987	140.525
25.989	134.763
25.992	129.502
25.995	119.982
25.996	117.978
25.997	116.725
25.998	112.967
26.032	148.791
26.032	146.787
26.033	144.533
26.813	102.438
26.891	145.527
26.892	143.523
26.931	165.569
26.941	141.519
26.941	141.268
26.944	132.249
26.980	162.061
26.980	161.811
26.980	161.310
26.983	154.796
26.984	153.543
26.984	152.291
26.984	151.289
26.985	150.036
26.985	149.034
26.986	146.529
26.989	140.266
26.989	140.015
26.989	139.013
26.990	137.259
26.991	134.504
26.991	133.752
26.992	133.001
26.992	132.499
26.993	130.996
26.993	129.493
26.994	128.491
26.994	127.489
26.995	124.733
26.996	123.230
26.996	121.727
26.996	121.226
26.997	120.725
26.997	118.971
26.998	118.220
26.998	117.218
27.000	112.207
27.001	110.203
27.006	96.925
27.009	90.412
27.035	144.274
27.050	107.196
27.804	129.236
27.849	136.000
27.851	131.240
27.853	126.480
27.860	108.693
27.888	158.546
27.889	156.041
27.890	153.786
27.890	152.784
27.891	150.028
27.892	147.774
27.893	146.020
27.893	144.266
27.896	137.502
27.907	110.446
27.951	119.464
27.951	119.464
27.951	119.214
27.952	117.961
27.952	117.210
27.953	115.706
27.954	112.700
27.958	101.928
28.814	107.182
28.860	111.440
28.891	155.532
28.891	154.028
28.892	153.026
28.892	153.026
28.892	151.022
28.892	150.772
28.893	150.020
28.893	148.768
28.895	144.759
28.896	141.502
28.897	140.250
28.900	132.484
28.901	129.477
28.902	126.471
28.903	125.218
28.903	123.465
28.904	122.212
28.905	119.206
28.934	166.554
28.936	162.295
28.940	152.024
28.945	138.496
28.946	136.491
28.946	135.740
28.946	135.489
28.947	134.237
28.954	116.951
28.954	114.696
28.955	114.195
28.955	112.942
28.984	160.541
29.032	159.038
29.766	112.184
29.768	107.174
29.851	138.238
29.852	136.734
29.853	133.728
29.856	125.461
29.857	123.206
29.859	119.699
29.860	115.440
29.890	161.285
29.891	158.530
29.892	156.525
29.896	145.753
29.896	145.001
29.896	144.751
29.897	143.248
29.897	142.496
29.898	141.494
29.898	139.991
29.901	133.728
29.901	133.227
29.901	132.475
29.902	130.972
29.903	128.467
29.936	165.794
29.937	163.540
29.937	162.537
29.937	161.786
29.940	154.270
29.941	152.517
29.941	151.765
29.942	150.262
29.942	149.009
29.944	143.999
29.982	170.554
30.111	85.876
30.851	143.490
30.859	122.947
30.897	146.496
30.899	142.989
30.899	141.486
30.900	140.233
30.905	127.957
30.905	126.454
30.906	125.202
30.907	120.943
30.908	119.440
30.940	158.270
30.941	157.018
30.941	156.266
30.949	136.725
30.949	135.473
30.950	134.471
30.950	134.220
30.950	133.218
30.957	117.435
30.957	116.182
30.958	114.930
30.990	152.508
30.991	151.506
30.991	150.003
31.014	92.633
31.774	101.896
31.800	156.008
31.846	160.517
31.849	153.252
31.863	117.427
31.884	183.064
31.899	146.237
31.899	146.237
31.899	145.486
31.900	144.734
31.900	142.730
31.906	127.949
31.938	168.784
31.952	132.458
31.958	118.429
31.963	105.151
32.045	138.219
32.861	126.438
32.867	109.653
32.900	146.730
32.903	139.214
32.904	137.461
32.905	135.957
32.905	134.454
32.906	133.452
32.906	133.202
32.906	132.701
32.907	131.448
32.907	130.696
32.907	129.444
32.911	119.924
32.918	102.387
32.932	187.815
33.819	115.657
33.850	156.993
33.851	155.240
33.852	152.985
33.854	146.471
33.855	145.469
33.856	143.716
33.859	135.448
33.859	134.196
33.860	132.693
33.861	130.438
33.863	125.427
33.913	118.663
34.008	121.167
34.859	139.448
34.859	138.446
34.860	136.943
34.860	136.192
34.860	135.440
34.863	129.929
34.864	126.421
34.900	155.982
34.901	152.475
35.017	101.368
35.859	142.947
35.897	166.246
35.906	145.703
35.914	125.661
35.914	123.657
35.946	164.241
35.950	153.218
35.952	147.957
35.952	147.957
35.953	147.456
35.953	146.454
35.965	117.393
36.005	136.433
36.007	130.671
36.998	156.466
37.148	139.680
37.769	136.418
37.814	142.931
37.815	142.179
37.854	164.476
39.959	146.420
39.960	144.667
39.960	143.915
39.961	142.412
40.059	136.900];  
n=size(data.tW,1); for i=2:n; if data.tW(i,1)<=data.tW(i-1,1); data.tW(i,1)=data.tW(i-1,1)+1e-8; end; end
units.tW   = {'d', 'g'};  label.tW = {'time since birth', 'wet weight'};  
temp.tW    = C2K(40.2);  units.temp.tW = 'K'; label.temp.tW = 'temperature';
bibkey.tW = 'PerrGrue2014';

%% set weights for all real data
weights = setweights(data, []);
weights.tW = weights.tW * 2;

%% set pseudodata and respective weights
[data, units, label, weights] = addpseudodata(data, units, label, weights);
weights.psd.k_J = 0; weights.psd.k = 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 = 'Body temperature is guessed';
D2 = 'mod_1: v is reduced';
D3 = 'mod_2: Pseudo-data point k is used, rather than k_J; Data set tp and parameter t_R are added, the latter replacing clutch interval t_N. Postnatal T is based on PrinPres1991, see <a href="https://debtool.debtheory.org/lib/pet/html/get_T_Aves.html">get_T_Aves</a>. See further the <a href="https://debportal.debtheory.org/docs/Revision.html">revision page, theme puberty</a>';
metaData.discussion = struct('D1',D1, 'D2',D2, 'D3',D3);

%% Links
metaData.links.id_CoL = '687BR'; % Cat of Life
metaData.links.id_ITIS = '555471'; % ITIS
metaData.links.id_EoL = '45517847'; % Ency of Life
metaData.links.id_Wiki = 'Athene_noctua'; % Wikipedia
metaData.links.id_ADW = 'Athene_noctua'; % ADW
metaData.links.id_Taxo = '54645'; % Taxonomicon
metaData.links.id_WoRMS = ''; % WoRMS
metaData.links.id_avibase = '9A7B268C4EF6F803'; % avibase
metaData.links.id_birdlife = 'little-owl-athene-noctua'; % birdlife
metaData.links.id_AnAge = 'Athene_noctua'; % AnAge

%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Athene_noctua}}';
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 = 'PerrGrue2014'; type = 'Article'; bib = [ ... 
'author = {M. Perrig and M. U. Gr\"{u}ebler and H. Keil and B. Naef-Daenzer}, ' ... 
'doi = {10.1111/ibi.12171}, ' ...
'year = {2014}, ' ...
'title = {Experimental food supplementation affects the physical development, behaviour and survival of Little Owl \emph{Athene noctua} nestlings}, ' ...
'journal = {Ibis}, ' ...
'volume = {156}, ' ...
'pages = {755-767}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'AnAge'; type = 'Misc'; bib = ...
'howpublished = {\url{http://genomics.senescence.info/species/entry.php?species=Athene_noctua}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'EoL'; type = 'Misc'; bib = ...
'howpublished = {\url{http://eol.org/pages/1178306/details}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'PrinPres1991'; type = 'Article'; bib = [ ... 
'doi = {10.1016/0300-9629(91)90122-S}, ' ...
'author = {R. Prinzinger and A.Pre{\ss}mar and E. Schleucher}, ' ... 
'year = {1991}, ' ...
'title = {Body temperature in birds}, ' ...
'journal = {Comp. Biochem. Physiol.}, ' ...
'volume = {99A(4)}, ' ...
'pages = {499-506}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

