Re: [Echobase-devel] Acoustic format change request?
Bonjour Mathieu, tout d'abord meilleurs voeux pour cette année 2019. J'ai commencé à bosser sur Echobase. Je dois être bon sur le Biotic. Je m'attaque à l'Acoustic...
P.S. An example is given here:
For Acoustic:
EchoType will be added to the acoustic format as a metadata entry and as a reference on the data level as optional. SaCategory at the data level will change from mandatory to optional.
<EchoType ID="D1">
<DepthStratum IDREF="AC_DepthStratum_SURF" />
<Species>
<SpeciesCode IDREF="SpecWoRMS_126417" />
<SpeciesCategory>1</SpeciesCategory>
</Species>
<Species>
<SpeciesCode IDREF="SpecWoRMS_126436" />
<SpeciesCategory>1</SpeciesCategory>
</Species>
</EchoType>
<Data>
<EchoType IDREF="D1" />
<Type IDREF="AC_AcousticDataType_C" />
<Unit IDREF="AC_DataUnit_m2nmi-2" />
<Value>0</Value>
</Data>
Sur ce que je comprends. Pour l'instant on a : <Data> <SaCategory>AC_SaCategory_D4</SaCategory> <Type IDREF="AC_AcousticDataType_C"/> <Unit IDREF="AC_DataUnit_m2nmi-2"/> <Value>0</Value> </Data> Donc on remplace SaCategory par <EchoType ID="D4"/> Et on ajoute (Dans le vocabularyCode ou ailleurs ?) : <EchoType IDREF="D4"> <DepthStratum... </EchoType> C'est bien ça ? Jean
On Mon, 21 Jan 2019 09:13:57 +0100 Jean Couteau <couteau@codelutin.com> wrote:
Bonjour Mathieu,
tout d'abord meilleurs voeux pour cette année 2019.
J'ai commencé à bosser sur Echobase. Je dois être bon sur le Biotic. Je m'attaque à l'Acoustic...
P.S. An example is given here:
For Acoustic:
EchoType will be added to the acoustic format as a metadata entry and as a reference on the data level as optional. SaCategory at the data level will change from mandatory to optional.
<EchoType ID="D1">
<DepthStratum IDREF="AC_DepthStratum_SURF" />
<Species>
<SpeciesCode IDREF="SpecWoRMS_126417" />
<SpeciesCategory>1</SpeciesCategory>
</Species>
<Species>
<SpeciesCode IDREF="SpecWoRMS_126436" />
<SpeciesCategory>1</SpeciesCategory>
</Species>
</EchoType>
Question subsidiaire. Dans l'echotype, j'ai les species, mais pas leur catégorie (à moins que ce soit le EchotypeCategory). Dans le Biotic, je récupère les category via le subsample.getCategories.getSpecies. Chose que je ne peux pas faire ici... Que dois-je donc mettre ici ? Jean
participants (1)
-
Jean Couteau