function [data, auxData, metaData, txtData, weights] = mydata_Gila_robusta
%% set metadata
metaData.phylum     = 'Chordata'; 
metaData.class      = 'Actinopterygii'; 
metaData.order      = 'Cypriniformes'; 
metaData.family     = 'Leuciscidae';
metaData.species    = 'Gila_robusta'; 
metaData.species_en = 'Roundtail chub'; 

metaData.ecoCode.climate = {'BWh'};
metaData.ecoCode.ecozone = {'THn'};
metaData.ecoCode.habitat = {'0iFr'};
metaData.ecoCode.embryo  = {'Fh'};
metaData.ecoCode.migrate = {'Mp'};
metaData.ecoCode.food    = {'bpCi','jiCvf'};
metaData.ecoCode.gender  = {'D'};
metaData.ecoCode.reprod  = {'O'};

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

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman', 'Starrlight Augustine'};        
metaData.date_subm = [2020 07 17];                           
metaData.email    = {'bas.kooijman@vu.nl'};                 
metaData.address  = {'VU University Amsterdam'}; 

metaData.curator     = {'Starrlight Augustine'};
metaData.email_cur   = {'starrlight.augustine@akvaplan.niva.no'}; 
metaData.date_acc    = [2020 07 17]; 

%% set data
% zero-variate data

data.am = 8*365;   units.am = 'd';  label.am = 'life span';                      bibkey.am = 'fishbase';   
  temp.am = C2K(13); units.temp.am = 'K'; label.temp.am = 'temperature'; 
  
data.Lp = 10.7;    units.Lp = 'cm'; label.Lp = 'total length at puberty';           bibkey.Lp = 'guess';
  comment.Lp = 'based on same relative length, compared to ';
data.Li = 43;    units.Li = 'cm'; label.Li = 'ultimate total length';             bibkey.Li = 'Wiki'; 
  
data.Wwb = 1.2e-3;   units.Wwb = 'g';  label.Wwb = 'wet weight at birth';          bibkey.Wwb = 'guess';
  comment.Wwb = 'based on egg diameter of 1.3 mm from G. bicolor, now called Siphateles bicolor : pi/6*0.13^3';
data.Wwi = 1.054e3;   units.Wwi = 'g';  label.Wwi = 'wet weight at birth';         bibkey.Wwi = 'fishbase';
  comment.Wwi = 'based on 0.00813*Li^3.13, F1';
  
data.Ri = 1e5/365; units.Ri = '#/d';  label.Ri = 'ultimate reprod rate';  bibkey.Ri = 'fishbase';
  temp.Ri = C2K(13); units.temp.Ri = 'K'; label.temp.Ri = 'temperature';
     
% % univariate data
 
% time-length
data.tL = [ ... % days post hatch, total length (cm)
 1  5.5
 2  9.9
 3 15.6
 4 21.8
 5 26.7
 6 31.2
 7 34.0];
data.tL(:,1) = 365 * data.tL(:,1);
units.tL = {'d', 'cm'}; label.tL = {'time since hatch', 'total length'};  
temp.tL = C2K(13);  units.temp.tL = 'K'; label.temp.tL = 'temperature';
bibkey.tL = 'VaniKram1969'; 
comment.tL = 'Data from Green River, Colorado 1964-1966';
%  
% time-weight
data.tWw = [ ... % time since hatch (d), wet weight (g)
 1    1
 2    9
 3   34
 4   94
 5  174
 6  282
 7  367];
data.tWw(:,1) = 365 * data.tWw(:,1);
units.tWw = {'d', 'g'}; label.tWw = {'time since hatch', 'wet weight'};  
temp.tWw = C2K(13);  units.temp.tWw = 'K'; label.temp.tWw = 'temperature';
bibkey.tWw = 'VaniKram1969'; 
comment.tWw = 'Data from Green River, Colorado 1964-1966';

%% set weights for all real data
weights = setweights(data, []);

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

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

%% Links
metaData.links.id_CoL = '3G2H2'; % Cat of Life
metaData.links.id_ITIS = '163558'; % ITIS
metaData.links.id_EoL = '207317'; % Ency of Life
metaData.links.id_Wiki = 'Gila_robusta'; % Wikipedia
metaData.links.id_ADW = 'Gila_robusta'; % ADW
metaData.links.id_Taxo = '174949'; % Taxonomicon
metaData.links.id_WoRMS = '1014229'; % WoRMS
metaData.links.id_fishbase = 'Gila-robusta'; % fishbase


%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{https://en.wikipedia.org/wiki/Gila_robusta}}';  
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
% 
bibkey = 'fishbase'; type = 'Misc'; bib = ...
'howpublished = {\url{https://www.fishbase.in/summary/Gila-robusta.html}}';  
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
% 
bibkey = 'VaniKram1969'; type = 'article'; bib = [ ... 
'doi = {10.1577/1548-8659(1969)98[193:LHOTCS]2.0.CO;2}, ' ...
'author = {C. David Vanicek and Robert H. Kramer}, ' ...
'year = {1969}, ' ...
'title  = {Life History of the {C}olorado Squawfish, \emph{Ptychocheilus lucius}, and the {C}olorado Chub, \emph{Gila robusta}, in the {G}reen {R}iver in {D}inosaur {N}ational {M}onument, 1964-1966}, ' ...
'journal = {Transactions of the American Fisheries Society}, ' ...
'pages = {193-208}, ' ...
'volume = {98}, ' ...
'number = {2}'];
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, '}'';'];
