function [data, auxData, metaData, txtData, weights] = mydata_Desmognathus_brimleyorum
%% set metaData
metaData.phylum     = 'Chordata'; 
metaData.class      = 'Amphibia'; 
metaData.order      = 'Caudata'; 
metaData.family     = 'Plethodontidae';
metaData.species    = 'Desmognathus_brimleyorum'; 
metaData.species_en = 'Ouachita dusky salamander'; 

metaData.ecoCode.climate = {'Cwa'};
metaData.ecoCode.ecozone = {'THn'};
metaData.ecoCode.habitat = {'0jFc', 'jiTf'};
metaData.ecoCode.embryo  = {'Fc'};
metaData.ecoCode.migrate = {'TT'};
metaData.ecoCode.food    = {'biCi'};
metaData.ecoCode.gender  = {'Dg'};
metaData.ecoCode.reprod  = {'O'};

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

metaData.COMPLETE = 2.6; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman'};    
metaData.date_subm = [2023 02 09];              
metaData.email    = {'bas.kooijman@vu.nl'};            
metaData.address  = {'VU University, Amsterdam'};   

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

%% set data
% zero-variate data

data.ab = 49;      units.ab = 'd';    label.ab = 'age at birth';             bibkey.ab = 'guess';   
  temp.ab = C2K(18);  units.temp.ab = 'K'; label.temp.ab = 'temperature';
  comment.ab = 'based on Plethodon cinereus';
data.am = 7*365;  units.am = 'd';    label.am = 'life span';                bibkey.am = 'GuzyHals2021';   
  temp.am = C2K(18);  units.temp.am = 'K'; label.temp.am = 'temperature'; 
  comment.am = 'hightest age in the sample';

data.Lj  = 2.5;    units.Lj  = 'cm';  label.Lj  = 'SVL at metam';   bibkey.Lj  = 'GuzyHals2021';
data.Lp  = 4.5;    units.Lp  = 'cm';  label.Lp  = 'SVL at puberty';   bibkey.Lp  = 'GuzyHals2021';
data.Li  = 7.8;    units.Li  = 'cm';  label.Li  = 'ultimate SVL';   bibkey.Li  = 'GuzyHals2021';
  comment.Li = 'Wiki: TL 17.8 cm';

data.Wwb = 4.46e-2;  units.Wwb = 'g';   label.Wwb = 'wet weight at birth';     bibkey.Wwb = 'guess';
  comment.Wwb = 'based on egg diameter of 4.4 mm for Desmognathus_monticola: pi/6*0.44^3';
data.Wwi = 12;  units.Wwi = 'g';   label.Wwi = 'ultimate wet weight';     bibkey.Wwi = 'GuzyHals2021';

data.Ri  = 25/365/2; units.Ri  = '#/d'; label.Ri  = 'maximum reprod rate';  bibkey.Ri  = 'Wiki';   
  temp.Ri = C2K(18);  units.temp.Ri = 'K'; label.temp.Ri = 'temperature';
  comment.Ri = '20-30 eggs per clutch, assumed 1 clutch each other yr';

% univariate data
% length-change in length
data.LdL = [ ... % SvL (cm, change in SVL (cm/d)
2.28339	0.00575
2.29316	0.00518
2.39088	0.00329
2.50814	0.00631
2.50814	0.00584
2.50814	0.00471
2.50814	0.00348
2.50814	0.00320
2.50814	0.00254
2.50814	0.00093
2.50814	0.00027
2.50814	-0.00397
2.52769	0.01197
2.52769	0.01301
2.59609	0.01301
2.59609	0.01216
2.59609	0.00697
2.59609	0.00650
2.59609	0.00518
2.59609	0.00433
2.59609	0.00357
2.59609	0.00291
2.60586	0.00159
2.60586	0.00055
2.62541	0.01395
2.67427	0.00168
2.69381	0.00470
2.70358	0.01423
2.70358	0.01329
2.70358	0.00131
2.70358	0.00206
2.70358	0.00272
2.70358	0.00357
2.70358	0.00404
2.70358	0.01083
2.73290	0.01206
2.74267	0.00734
2.78176	0.00197
2.78176	0.00866
2.78176	0.00687
2.79153	0.00319
2.79153	0.00366
2.79153	0.00451
2.79153	0.00536
2.79153	0.01027
2.80130	0.00074
2.82085	-0.00002
2.88925	0.00083
2.89902	0.00583
2.89902	0.00715
2.89902	0.00177
2.89902	0.00253
2.89902	0.00328
2.89902	0.00357
2.89902	0.00394
2.90879	0.00885
2.90879	0.01036
2.92834	0.00951
3.00651	0.00658
3.00651	0.00074
3.00651	0.00111
3.00651	0.00187
3.00651	0.00281
3.00651	0.00347
3.00651	0.00394
3.02606	0.00998
3.03583	0.01224
3.08469	0.00724
3.09446	0.00394
3.09446	0.00215
3.10423	0.00092
3.11401	0.00271
3.11401	0.00121
3.11401	-0.00021
3.17264	0.00413
3.18241	0.00290
3.20195	0.01205
3.21173	0.00149
3.21173	0.00583
3.21173	0.00441
3.27036	0.00790
3.31922	0.00488
3.31922	0.00347
3.32899	0.00535
3.38762	0.00224
3.39739	0.00582
3.39739	0.00733
3.40717	0.00507
3.44625	0.00394
3.49511	0.00073
3.49511	0.00261
3.51466	0.00507
3.52443	0.00686
3.58306	0.01280
3.58306	0.00695
3.58306	0.00761
3.59283	0.00591
3.60261	0.01054
3.71010	0.00469
3.71010	0.00393
3.71010	0.00280
3.76873	0.00903
3.77850	0.00969
3.78827	0.01053
3.78827	0.01214
3.82736	0.00129
3.88599	0.00242
3.88599	0.00289
3.89577	0.00525
3.90554	0.00157
3.98371	0.00204
3.98371	0.00336
3.98371	0.01289
3.99349	0.00525
4.01303	0.00732
4.01303	0.00619
4.07166	0.00544
4.08143	0.00213
4.09121	0.00298
4.18893	0.00213
4.19870	0.00657
4.19870	0.00921
4.19870	0.00968
4.20847	0.00562
4.20847	0.00789
4.21824	0.00317
4.21824	0.00364
4.21824	0.00506
4.28665	0.00628
4.30619	0.00939
4.32573	0.00883
4.38436	0.00005
4.38436	0.00807
4.40391	0.00241
4.42345	0.00373
4.42345	0.00496
4.42345	0.00618
4.42345	0.00543
4.48208	0.00005
4.49186	0.00741
4.50163	0.01024
4.50163	0.00864
4.50163	0.00184
4.50163	-0.00401
4.50163	0.00439
4.50163	0.00382
4.50163	0.00307
4.51140	0.00241
4.56026	0.00562
4.58958	0.00930
4.60912	0.00241
4.61889	0.00826
4.61889	0.00760
4.61889	0.00420
4.61889	0.00477
4.68730	0.00080
4.69707	0.00958
4.69707	0.01109
4.69707	0.00448
4.69707	0.00363
4.70684	0.00326
4.72638	0.00533
4.77524	0.00703
4.77524	0.00090
4.79479	0.00778
4.79479	0.00825
4.80456	0.00656
4.81433	0.00193
4.89251	0.00071
4.89251	0.00363
4.97068	0.00467
4.98046	0.00919
4.99023	0.00118
4.99023	0.00052
5.00000	0.00768
5.00000	0.01259
5.00000	0.00306
5.02932	0.00608
5.08795	0.00089
5.17590	0.00315
5.17590	0.00504
5.18567	0.00561
5.19544	0.00117
5.19544	0.00164
5.20521	0.00230
5.21498	0.00013
5.25407	0.00561
5.39088	0.00060
5.40065	-0.00015
5.40065	0.00164
5.40065	0.00258
5.49837	0.00560
5.49837	0.00258
5.50814	0.00683
5.58632	0.00136
5.58632	0.00098
5.59609	0.00022
5.59609	-0.00015
5.59609	-0.00081
5.60586	0.00315
5.60586	0.00211
5.69381	0.00560
5.69381	0.00296
5.70358	-0.00091
5.71336	-0.00176
5.71336	0.00022
5.71336	0.00239
5.79153	-0.00025
5.80130	0.00352
5.80130	0.00503
5.80130	-0.00289
5.80130	0.00041
5.81108	-0.00138
5.90879	0.00380
5.97720	0.00399
5.98697	0.00324
5.98697	0.00116
5.98697	0.00088
5.98697	0.00050
5.99674	-0.00148
6.06515	-0.00092
6.08469	0.00116
6.09446	0.00305
6.09446	0.00050
6.17264	0.00069
6.18241	0.00238
6.18241	0.00295
6.19218	-0.00026
6.28013	0.00229
6.28013	0.00276
6.28013	0.00304
6.28990	-0.00111
6.29967	-0.00026
6.29967	0.00031
6.29967	0.00078
6.29967	0.00134
6.37785	0.00049
6.37785	0.00163
6.38762	0.01200
6.49511	0.00247
6.58306	0.00115
6.59283	0.00077
6.59283	-0.00017
6.71010	-0.00178
6.71010	0.00285
6.77850	0.00030
6.80782	0.00105
6.81759	-0.00102
6.81759	-0.00036
6.86645	0.00030
6.99349	0.00379
7.00326	-0.00046
7.00326	-0.00121
7.02280	0.00067
7.11075	-0.00027
7.31596	-0.00018
7.37459	-0.00018
7.39414	-0.00103
7.39414	-0.00065
7.47231	0.00000
7.49186	-0.00037
7.68730	0.00179
7.80456	-0.00028
7.80456	0.00047];
units.LdL  = {'cm', 'cm/d'}; label.LdL = {'SVL', 'change in SVL'};  
temp.LdL   = C2K(18); units.temp.LdL = 'K'; label.temp.LdL = 'temperature';
bibkey.LdL = 'GuzyHals2021';

% length-weight
data.LW = [ ... % log SVL (mm), log wet weight (g)
3.134	-0.935
3.134	-1.136
3.174	-0.812
3.213	-0.786
3.218	-0.981
3.218	-0.929
3.218	-0.825
3.218	-0.721
3.218	-0.695
3.218	-0.643
3.220	-0.896
3.257	-0.513
3.257	-0.539
3.257	-0.584
3.257	-0.617
3.257	-0.656
3.257	-0.669
3.257	-0.721
3.257	-0.864
3.257	-0.903
3.259	-0.792
3.259	-0.825
3.292	-0.805
3.294	-0.838
3.294	-0.545
3.294	-0.519
3.294	-0.487
3.294	-0.442
3.296	-0.727
3.296	-0.675
3.296	-0.636
3.296	-0.623
3.296	-0.584
3.329	-0.506
3.331	-0.448
3.331	-0.552
3.333	-0.390
3.333	-0.610
3.333	-0.669
3.333	-0.851
3.336	-0.591
3.336	-0.714
3.338	-0.338
3.363	-0.851
3.363	-0.409
3.366	-0.669
3.366	-0.597
3.366	-0.565
3.366	-0.494
3.366	-0.461
3.366	-0.370
3.366	-0.338
3.366	-0.266
3.398	-0.279
3.398	-0.338
3.398	-0.390
3.398	-0.409
3.398	-0.442
3.398	-0.487
3.400	-0.182
3.400	-0.539
3.400	-0.571
3.400	-0.766
3.403	-0.234
3.431	-0.526
3.431	-0.409
3.431	-0.344
3.431	-0.299
3.431	-0.253
3.438	-0.091
3.465	-0.292
3.465	-0.091
3.468	-0.227
3.470	-0.175
3.495	-0.253
3.495	-0.403
3.498	-0.208
3.498	-0.149
3.523	0.169
3.523	0.058
3.556	0.325
3.558	0.006
3.558	0.201
3.560	-0.045
3.560	0.123
3.565	-0.091
3.579	0.390
3.581	0.344
3.581	0.292
3.581	0.234
3.586	0.169
3.588	-0.071
3.609	0.156
3.609	0.305
3.611	0.013
3.611	0.247
3.611	0.481
3.632	0.325
3.637	0.461
3.637	0.429
3.637	-0.019
3.637	-0.071
3.639	0.403
3.664	0.357
3.664	0.396
3.664	0.519
3.667	0.240
3.683	0.351
3.688	0.643
3.688	0.403
3.692	0.526
3.692	0.461
3.699	0.429
3.704	0.565
3.708	0.584
3.711	0.643
3.711	0.597
3.715	0.487
3.718	0.351
3.718	0.390
3.722	0.526
3.736	0.799
3.736	0.662
3.736	0.584
3.736	0.487
3.738	0.942
3.738	0.734
3.738	0.610
3.738	0.552
3.738	0.526
3.755	0.786
3.755	0.448
3.759	0.864
3.762	0.812
3.792	0.812
3.801	0.734
3.801	0.766
3.801	0.805
3.803	0.864
3.803	0.909
3.803	0.851
3.803	0.539
3.808	1.006
3.808	1.084
3.826	1.104
3.826	1.162
3.829	0.968
3.829	0.994
3.829	1.039
3.829	0.844
3.847	1.273
3.847	1.052
3.847	1.078
3.847	1.097
3.847	1.123
3.850	1.227
3.850	0.682
3.850	0.604
3.852	0.987
3.854	0.883
3.856	1.169
3.863	1.091
3.866	1.331
3.868	1.019
3.870	1.175
3.873	1.279
3.873	0.929
3.875	1.110
3.891	1.143
3.891	1.110
3.891	0.981
3.896	1.195
3.905	1.188
3.907	1.266
3.910	1.084
3.910	1.045
3.910	0.955
3.914	0.708
3.924	1.149
3.928	1.227
3.928	1.266
3.928	1.305
3.933	1.461
3.947	1.305
3.947	0.890
3.949	1.370
3.949	1.409
3.949	1.461
3.951	0.968
3.951	0.760
3.956	1.175
3.958	1.214
3.965	1.279
3.968	1.175
3.968	1.448
3.970	1.506
3.979	1.201
3.979	1.357
3.986	1.279
3.988	1.487
3.988	1.045
4.002	1.182
4.005	1.461
4.005	1.494
4.005	1.526
4.005	1.344
4.007	1.558
4.009	1.721
4.012	1.370
4.019	1.182
4.021	1.539
4.021	1.312
4.023	1.688
4.023	1.662
4.023	1.513
4.028	1.357
4.037	1.591
4.037	1.175
4.039	1.539
4.039	1.403
4.042	1.688
4.044	1.455
4.044	1.286
4.053	1.623
4.053	1.364
4.056	1.519
4.058	1.714
4.060	1.675
4.060	1.182
4.067	1.461
4.069	1.565
4.072	1.714
4.072	1.662
4.088	1.825
4.090	1.688
4.090	1.494
4.090	1.552
4.095	1.786
4.095	1.409
4.095	1.325
4.095	1.617
4.097	1.584
4.100	1.766
4.109	1.721
4.109	1.792
4.127	1.948
4.127	1.896
4.127	1.825
4.127	1.701
4.127	1.753
4.130	1.610
4.130	1.669
4.134	1.799
4.137	1.461
4.141	1.896
4.141	1.571
4.146	1.935
4.146	1.851
4.146	1.747
4.155	2.026
4.157	1.890
4.160	1.974
4.171	2.026
4.174	1.675
4.174	1.747
4.174	1.805
4.174	1.987
4.174	1.909
4.185	1.883
4.185	1.929
4.190	1.955
4.194	2.143
4.199	2.065
4.201	2.110
4.204	1.974
4.206	2.175
4.218	1.968
4.218	1.701
4.220	2.013
4.220	2.084
4.220	1.903
4.238	1.968
4.248	2.130
4.248	1.994
4.248	2.065
4.248	1.896
4.248	1.773
4.250	1.864
4.259	2.201
4.262	2.162
4.262	2.091
4.275	2.097
4.275	2.052
4.275	1.981
4.278	2.201
4.294	2.266
4.294	2.214
4.303	2.305
4.303	2.318
4.317	2.201
4.319	2.169
4.319	2.227
4.322	2.266
4.322	2.305
4.340	2.506
4.356	2.201
4.359	2.506
4.368	2.299];
data.LW = exp(data.LW); % remove ln transformation
data.LW(:,1) = data.LW(:,1)/ 10; % convert mm to cm
units.LW  = {'cm', 'g'}; label.LW = {'SVL', 'wet weight'};  
bibkey.LW = 'GuzyHals2021';


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

%% 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 = 'Temperatures were guessed';
metaData.discussion = struct('D1', D1);

%% Links
metaData.links.id_CoL = '353MD'; % Cat of Life
metaData.links.id_ITIS = '173638'; % ITIS
metaData.links.id_EoL = '1018968'; % Ency of Life
metaData.links.id_Wiki = 'Desmognathus_brimleyorum'; % Wikipedia
metaData.links.id_ADW = 'Desmognathus_brimleyorum'; % ADW
metaData.links.id_Taxo = '142915'; % Taxonomicon
metaData.links.id_WoRMS = ''; % WoRMS
metaData.links.id_amphweb = 'Desmognathus+brimleyorum'; % AmphibiaWeb
metaData.links.id_AnAge = ''; % AnAge


%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Desmognathus_brimleyorum}}';
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 = 'GuzyHals2021'; type = 'Article'; bib = [ ... 
'doi = {10.1002/ece3.8238}, ' ...
'author = {Jacquelyn C. Guzy and Brian J. Halstead and Kelly M. Halloran and Jessica A. Homyack and John D. Willson}, ' ... 
'year = {2021}, ' ...
'title = {Increased growth rates of stream salamanders following forest harvesting}, ' ...
'journal = {Ecology and Evolution}, ' ...
'volume = {11}, ' ...
'pages = {17723–17733}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'amphibiaweb'; type = 'Misc'; bib = ...
'howpublished = {\url{https://amphibiaweb.org/cgi/amphib_query?rel-common_name=like&where-scientific_name=Desmognathus+brimleyorum}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

