function [data, auxData, metaData, txtData, weights] = mydata_Filinia_longiseta
%% set metadata

metaData.phylum     = 'Rotifera'; 
metaData.class      = 'Monogononta'; 
metaData.order      = 'Flosculariaceae'; 
metaData.family     = 'Trochosphaeridae';
metaData.species    = 'Filinia_longiseta'; 
metaData.species_en = 'Rotifer'; 

metaData.ecoCode.climate = {'A', 'B', 'C', 'D'};
metaData.ecoCode.ecozone = {'TH', 'TA', 'TN', 'TP'};
metaData.ecoCode.habitat = {'0iFl', '0iFp', '0iFm'};
metaData.ecoCode.embryo  = {'Fp'};
metaData.ecoCode.migrate = {};
metaData.ecoCode.food    = {'biPp'};
metaData.ecoCode.gender  = {'D'};
metaData.ecoCode.reprod  = {'Apf'};

metaData.T_typical  = C2K(20); % K
metaData.data_0     = {'ab'; 'ap'; 'am'; 'Wwb'; 'Wwp'; 'Wwi'; 'Ri'; 'JCi'; 'JXi'; 'K'};
metaData.data_1     = {'t-L'}; 

metaData.COMPLETE = 2.3; % using criteria of LikaKear2011

metaData.author   = {'Bas Kooijman'}; 
metaData.date_subm = [2026 02 11];
metaData.email    = {'bas.kooijman@vu.nl'};
metaData.address  = {'VU University Amsterdam, 1081 HV, Netherlands'};

metaData.curator  = {'Dina Lika'};
metaData.email_cur = {'lika@biology.uoc.gr'};
metaData.date_acc  = [2026 02 11]; 

%% set data

data.ab = 0.8;     units.ab = 'd';        label.ab = 'age at birth';            bibkey.ab = 'guess';    
  temp.ab = C2K(20); units.temp.ab = 'K'; label.temp.ab = 'temperature';
data.tp = 0.9;     units.tp = 'd';        label.tp = 'time since birth at puberty'; bibkey.tp = 'guess';
  temp.tp = C2K(20); units.temp.tp = 'K'; label.temp.tp = 'temperature';
data.am = 6;      units.am = 'd';        label.am = 'life span';               bibkey.am = 'guess';   
  temp.am = C2K(20); units.temp.am = 'K'; label.temp.am = 'temperature';

data.Wwb = 2.2e-7; units.Wwb = 'g';       label.Wwb = 'wet weight at birth';    bibkey.Wwb = 'CastLont2024';
  comment.Wwb = 'based on body length 99.6 mum and body depth of 65 mum: pi/6*99.6e-4*65e-4*65e-4';
data.Wwp = 3e-7; units.Wwp = 'g';       label.Wwp = 'wet weight at puberty';  bibkey.Wwp = 'guess';
data.Wwi = 5.5e-7; units.Wwi = 'g';       label.Wwi = 'ultimate wet weight';    bibkey.Wwi = 'CastLont2024';
  comment.Wwb = 'based on body length 135 mum and body depth of 88 mum: pi/6*135e-4*88e-4*88e-4';

data.Ri  = 1.5; units.Ri  = '#/d';     label.Ri  = 'maximum reprod rate';    bibkey.Ri  = 'guess';   
  temp.Ri = C2K(20); units.temp.Ri = 'K'; label.temp.Ri = 'temperature';

% univariate data
% time-length
data.tL = [ ... % time since birth (h), length (mum)
00	 99.558  99.744  99.558  99.558
10	120.883 116.875 116.223 113.893
20	122.728 120.491 117.789 110.984
30	119.913 119.820 126.531 125.692
40	132.943 134.714 134.994 128.936
50	129.569 133.484 126.494 127.333];
data.tL(:,1) = data.tL(:,1)/24; % convert h to d
data.tL(:,2:5) = data.tL(:,2:5)/1e4; % convert mum to cm
units.tL   = {'d', 'cm'};  label.tL = {'time since birth', 'length'};  
temp.tL    = C2K(20);  units.temp.tL = 'K'; label.temp.tL = 'temperature';
bibkey.tL = 'CastLont2024'; treat.tL = {1 {'Fry Booster','Yeast','Rice Bran','Fish Waste'}};
comment.tL = 'temperature is guessed';

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

%% set pseudodata and respective weights
[data, units, label, weights] = addpseudodata(data, units, label, weights);

%% Facts
F1 = 'Rotifers have a fixed number of cells (some 1000), which does not increase after birth.';
metaData.bibkey.F1 = 'Wiki_Roti';
metaData.facts = struct('F1',F1);

%% Discussion points
D1 = 'temperatures are guessed';
metaData.discussion = struct('D1',D1);

%% pack auxData and txtData for output
auxData.temp = temp;
auxData.treat = treat;
txtData.units = units;
txtData.label = label;
txtData.bibkey = bibkey;
txtData.comment = comment;

%% Links
metaData.links.id_CoL = '6J2YN'; % Cat of Life
metaData.links.id_ITIS = '59426'; % ITIS
metaData.links.id_EoL = '889981'; % Ency of Life
metaData.links.id_Wiki = 'Filinia_longiseta'; % Wikipedia
metaData.links.id_ADW = 'Filinia_longiseta'; % ADW
metaData.links.id_Taxo = '155220'; % Taxonomicon
metaData.links.id_WoRMS = '134969'; % WoRMS

%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Filinia_longiseta}}';   % replace my_pet by latin species name
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'Wiki_Roti'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Rotifera}}';   % replace my_pet by latin species name
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 = 'CastLont2024'; type = 'Article'; bib = [ ... 
'doi = {10.53562/ajcb.81100 }, ' ...
'author = {Jhon Michael C. Castro and Beatriz M. Lontoc and Roxanne D. Fajardo and Gloria P. Pedore and Camille B. Umandal}, ' ... 
'year = {2024}, ' ...
'title = {Population Growth and Growth Performance of Freshwater Rotifer (\emph{Filinia longiseta}) Fed with Different Supplemented Microalgae Diets}, ' ...
'journal = {Asian Journal of Conservation Biology}, ' ...
'volume = {13(1)}, ' ...
'pages = {16–21}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

