Author: tchemit Date: 2012-10-29 10:10:53 +0100 (Mon, 29 Oct 2012) New Revision: 752 Url: http://forge.codelutin.com/repositories/revision/echobase/752 Log: add english docs (but still not translated) Added: trunk/src/site/en/rst/db.rst trunk/src/site/en/rst/exportData.rst trunk/src/site/en/rst/exportDb.rst trunk/src/site/en/rst/importData.rst trunk/src/site/en/rst/modifyData.rst trunk/src/site/en/rst/removeData.rst trunk/src/site/en/rst/usage.rst Removed: trunk/src/site/en/rst/imports.rst Modified: trunk/src/site/en/rst/embedded.rst trunk/src/site/en/rst/importDb.rst trunk/src/site/en/rst/install.rst trunk/src/site/en/rst/model.rst trunk/src/site/rst/exportData.rst trunk/src/site/site_en.xml Copied: trunk/src/site/en/rst/db.rst (from rev 749, trunk/src/site/rst/db.rst) =================================================================== --- trunk/src/site/en/rst/db.rst (rev 0) +++ trunk/src/site/en/rst/db.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -0,0 +1,120 @@ +.. - +.. * #%L +.. * EchoBase +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Affero General Public License as published by +.. * the Free Software Foundation, either version 3 of the License, or +.. * (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Public License for more details. +.. * +.. * You should have received a copy of the GNU Affero General Public License +.. * along with this program. If not, see <http://www.gnu.org/licenses/>. +.. * #L% +.. - + +========================== +Echobase - Base de données +========================== + +TODO Translate me. + +Les bases de données dans EchoBase +---------------------------------- + +*EchoBase* permet l'utilisation de plusieurs bases de données que nous appelons +*bases de travail*. + +Il est nécessaire de se connecter à une telle base de travail avant tout +import/consultation/... de données dans l'application. + +Il est possible de gérer les paramètres de connexion à une base de travail. + +On distinque deux types de base : + +- les bases de données de type *H2* +- les bases de données de type *Postgresql* + +Utilisation d'une base H2 +------------------------- + +L'avantage de ce type base est de pouvoir les créer facilement sans aucune +maintenance (la base est stockée dans un simple fichier). Par contre elles sont +moins performantes et perenne que les bases de type *Postgresql*. + +Pour utiliser une telle base, il suffit de créer une configuration de type *H2* +en spécifiant une url sous ce format : + +:: + + jdbc:h2:file:/cheminVersLaBase/nomDeLaBase + +Vous pouvez ensuite utiliser cette base qui va être crée automatiquement à +l'endroit spécifié. + +Il est recommandé de fournir un mot de passe bien que cela ne soit pas +obligatoire (mais cela peut être requis par certains outils externes). + +Par convention, nous utilisons les identifiants suivants : + +:: + + login: sa + password: sa + +Utilisation d'une base Postgres +------------------------------- + +C'est ce genre de base que l'on doit utiliser sur un serveur pour conserver de +manière perenne les données. + +Pour utiliser une telle base il faut configurer le serveur postgres comme +indiqué dans la section suivante. + +Une fois la base créée sur le serveur, il suffit de créer une configuration de +base de travail dans *EchoBase* de type *Postgresql* avec une url sous ce format : + +:: + + jdbc:postgresql://adresseDuServeur/nomDeLaBase + +Les identifiants vous sont fournit par l'administrateur qui a installé la base +postgresql sur le serveur. + +Création d'une base postgresql +------------------------------ + +Pré-requis : + - **postgres** doit être installé sur la machine (exemple pour un système + Debian : **sudo apt-get install postgresql**) + - être connecté avec l'utilisateur (postgres par défaut) qui a les droits + d'administrer cette base de donnée dans une console shell. + +1. Création de l'utilisateur Postgres + +:: + + createuser -U postgres -sdRP echobase + +2. Création de la base de donnée "echobase" + +:: + + createdb -U postgres -E UTF-8 -O echobase echobase + +3. Donner les droits d'acces à l'utilisateur echobase (cela varie d'un système + à l'autre, donc se référer à la documentation du système). Cela fonctionne + lorsqu'on peut accéder à la base via cette commande : + +:: + + psql -h localhost -U echobase echobase + Modified: trunk/src/site/en/rst/embedded.rst =================================================================== --- trunk/src/site/en/rst/embedded.rst 2012-10-29 08:18:41 UTC (rev 751) +++ trunk/src/site/en/rst/embedded.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -36,7 +36,7 @@ Création d'une application embarquée ------------------------------------ -*TODO Translate this in english* +*TODO Translate me* L'application permet de créer une application autonome comprenant un jeu de données sélectionné par l'utilisateur. Added: trunk/src/site/en/rst/exportData.rst =================================================================== --- trunk/src/site/en/rst/exportData.rst (rev 0) +++ trunk/src/site/en/rst/exportData.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -0,0 +1,59 @@ +.. - +.. * #%L +.. * EchoBase +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Affero General Public License as published by +.. * the Free Software Foundation, either version 3 of the License, or +.. * (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Public License for more details. +.. * +.. * You should have received a copy of the GNU Affero General Public License +.. * along with this program. If not, see <http://www.gnu.org/licenses/>. +.. * #L% +.. - + +==================== +Exporter des données +==================== + +Abstract +======== + +*TODO Translate me* + +Ce document explique comment exporter les données depuis EchoBase. + +Création de requêtes +-------------------- + +Il est possible d'exporter les données via des requêtes sql. Pour ce faire aller +sur le menu **exporter les données*. + +On peut ensuite créer (en enregistrer) des requêtes sql. Le résultat s'affiche +alors dans un tableau qui est exportable au format csv. + +A noter aussi qu'il est possible d'utiliser des requêtes imbriquées en insérant +dans le code sql une référence au nom de la requête. + +Voici un exemple : + +:: + SELECT * FROM Voyage where topiaid IN ${NomRequête} + +Import de requête depuis Libre Office +------------------------------------- + +Il est possible d'importer une requête construite depuis Libre Office. +Pour ce faire il faut utiliser l'action Importer depuis Libre Office et y coller +le code SQL généré dans Libre Office. + +Le code SQL sera processé et mis à jour dans votre requête SQL EchoBase. \ No newline at end of file Property changes on: trunk/src/site/en/rst/exportData.rst ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Copied: trunk/src/site/en/rst/exportDb.rst (from rev 749, trunk/src/site/rst/exportDb.rst) =================================================================== --- trunk/src/site/en/rst/exportDb.rst (rev 0) +++ trunk/src/site/en/rst/exportDb.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -0,0 +1,75 @@ +.. - +.. * #%L +.. * EchoBase +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Affero General Public License as published by +.. * the Free Software Foundation, either version 3 of the License, or +.. * (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Public License for more details. +.. * +.. * You should have received a copy of the GNU Affero General Public License +.. * along with this program. If not, see <http://www.gnu.org/licenses/>. +.. * #L% +.. - + +================= +Export d'une base +================= + +Abstract +-------- + +*TODO Translate me* + +EchoBase permet d'export une partie ou l'ensemble d'une base de travail au +format *.echobase* qui est ensuite réimportable dans une autre instance d'EchoBase. + +- Cliquer sur le menu *Exporter une base*. + +- Configurer l'export + +Une fichier au format *.echobase* sera créé, il est ensuite possible de +l'importer sur une autre instance d'EchoBase. + +Il existe plusieurs modes d'export que nous détaillons ci-dessous. + +Export referential +------------------ + +Dans ce mode on exporte uniquement le référentiel de la base de travail. + +Il vous suffit de renseigner le nom du fichier d'export (l'extension +*.echobase*) sera automatiquement rajoutée, puis de cliquer sur *Exporter*. + +Une fois l'export réalisé, le fichier sera téléchargeable. + +Export referential and data +--------------------------- + +Dans ce mode on exporte le référentiel et les données sélectionnées +de la base de travail. + +Il vous suffit de renseigner le nom du fichier d'export (l'extension +*.echobase*) sera automatiquement rajoutée, de sélectionner les données +à exporter puis de cliquer sur *Exporter*. + +Une fois l'export réalisé, le fichier sera téléchargeable. + +Export All +---------- + +Dans ce mode, on exporte toute la base de travail. + +Il vous suffit de renseigner le nom du fichier d'export (l'extension +*.echobase*) sera automatiquement rajoutée, puis de cliquer sur *Exporter*. + +Une fois l'export réalisé, le fichier sera téléchargeable. Copied: trunk/src/site/en/rst/importData.rst (from rev 749, trunk/src/site/rst/importData.rst) =================================================================== --- trunk/src/site/en/rst/importData.rst (rev 0) +++ trunk/src/site/en/rst/importData.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -0,0 +1,689 @@ +.. - +.. * #%L +.. * EchoBase +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Affero General Public License as published by +.. * the Free Software Foundation, either version 3 of the License, or +.. * (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Public License for more details. +.. * +.. * You should have received a copy of the GNU Affero General Public License +.. * along with this program. If not, see <http://www.gnu.org/licenses/>. +.. * #L% +.. - + +================================== +Importer des données dans EchoBase +================================== + +Abstract +======== + +Ce document donne la définition de tous les imports de données. + +*TODO Translate me* + +Format des colonnes +~~~~~~~~~~~~~~~~~~~ + +- FK(XXX#yyy) désigne une clef étrangère requise (XXX sur la propriété yyy). +- (int) un entier (pas du nullité possible) +- (float) un décimal (pas de nullité possible) +- (Integer) un entier avec nullité possible +- (Integer-NA) un entier avec nullité possible (et nullité si NA) +- Float un décimale avec nullité possible +- (Float-NA) un décimale avec nullité possible (et nullité si NA) +- (date) unique format de date : *yyyy-MM-dd HH:mm:ss.SSSS* +- (esdu cell) nom de cellule esdu - elementary : esduName[_elementaryCellName] + avec esdu name au format yyyy-MM-dd HH:mm:ss.SSSS + +Note importantes +~~~~~~~~~~~~~~~~ + +- Le nom des colonnes est sensible à la casse, il faut donc bien respecter les + noms donnés dans cette page. + +- Le contenu des cellules (et aussi les nom de colonnes) peuvent être encapsulés + par des **"**. + + +Voyage / Transit / Transect +=========================== + +Voyage +~~~~~~ + +Colonnes requises +----------------- + +:: + + name;startDate;endDate;startPort;endPort + +Format des colonnes +------------------- + +- name +- startDate (date) +- endDate (date) +- startPort +- endPort + +Exemple +------- + +:: + + name;startDate;endDate;startPort;endPort + PELGAS2011;2011-04-26 08:00:00.0000;2011-06-04 17:00:01.0000;Santander;Concarneau + +Transit +~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;description;startTime;endTime;startLocality;endLocality + +Format des colonnes +------------------- + +- voyage FK(voyage#name) +- description +- startTime (date) +- endTime (date) +- startLocality +- endLocality + +Exemple +------- + +:: + + voyage;description;startTime;endTime;startLocality;endLocality + PELGAS2011;PELGAS11CAMP1;2011-04-26 08:00:01.0000;2011-05-08 20:00:00.0000;Santander;La Rochelle + +Transect +~~~~~~~~ + +Colonnes requises +----------------- + +:: + + title;transectAbstract;stratum;comment;voyage;vesselName;dateCreated;timeCoverageStart;timeCoverageEnd;geospatialLonMin;geospatialLatMin;geospatialVerticalMin;geospatialLonMax;geospatialLatMax;geospatialVerticalMax;linestring + +Format des colonnes +------------------- + +- voyage FK(voyage#name) +- vesselName FK(Vessel#name) +- title +- transectAbstract +- stratum +- comment +- dateCreated (date) +- timeCoverageStart (date) +- timeCoverageEnd (date) +- geospatialLonMin (float) +- geospatialLonMax (float) +- geospatialLatMin (float) +- geospatialLatMax (float) +- geospatialVerticalMin (float) +- geospatialVerticalMax (float) +- linestring + +Exemple +------- + +:: + + title;transectAbstract;stratum;comment;voyage;vesselName;dateCreated;timeCoverageStart;timeCoverageEnd;geospatialLonMin;geospatialLatMin;geospatialVerticalMin;geospatialLonMax;geospatialLatMax;geospatialVerticalMax;linestring + Arlequin2 / la colombine942OBS01 SUR;942OBS;SUR;942OBS,P5001,SUR;PELGAS2011;Arlequin2 / la colombine;2011-04-27 09:10:00.0000;2011-04-27 09:10:00.0000;2011-04-27 10:39:00.0000";-1.5896666667;43.7055;110;-1.541;43.7606666667;110;"-176453.0000037 4851310.5,-171051 4857434.0000037 + +Operation / OperationMetadataValue / GearMetadataValue +====================================================== + +Operation +~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + vesselName;operationId;depthStratumId;gearShootingStartTime;midHaulLatitude;midHaulLongitude;gearShootingStartLatitude;gearShootingStartLongitude;gearShootingEndTime;gearShootingEndLatitude;gearShootingEndLongitude;gearCode + +Format des colonnes +------------------- + +- vesselName FK(Vessel#name) +- gearCode FK(Gear#casinoGearName) +- depthStratumId FK(DepthStratum#id) +- operationId +- midHaulLatitude (float) +- midHaulLongitude (float) +- gearShootingStartTime (date) +- gearShootingEndTime (date) +- gearShootingStartLatitude (float) +- gearShootingEndLatitude (float) +- gearShootingStartLongitude (float) +- gearShootingEndLongitude (float) + +Exemple +------- + +:: + + vesselName;operationId;depthStratumId;gearShootingStartTime;midHaulLatitude;midHaulLongitude;gearShootingStartLatitude;gearShootingStartLongitude;gearShootingEndTime;gearShootingEndLatitude;gearShootingEndLongitude;gearCode + THALASSA II;P0422;CLAS;2011-05-05 06:49:50.0000";45.4165605;-1.4492292;45.4029733;-1.4860902;"2011-05-05 07:42:19.0000";45.4301477;-1.4123682;"57x52 + +OperationMetadataValue +~~~~~~~~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + vesselName;operationId;metadataType;operationMetadataValue + +Format des colonnes +------------------- + +- vesselName FK(Vessel#name) +- operationId FK(Operation#id) +- metadataType FK(OperationMetadata#name) +- operationMetadataValue + +Exemple +------- + +:: + + vesselName;operationId;metadataType;operationMetadataValue + THALASSA II;P0422;MeanWaterDepth";43.42 + +GearMetadataValue +~~~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + vesselName;operationId;gearCode;metadataType;gearMetadataValue + +Format des colonnes +------------------- + +- vesselName FK(Vessel#name) +- operationId FK(Operation#id) +- metadataType FK(GearMetadata#name) +- gearCode FK(Gear#casinoGearName) +- gearMetadataValue + +Exemple +------- + +:: + + vesselName;operationId;gearCode;metadataType;gearMetadataValue + THALASSA II;P0422;57x52;CableLength";31.6666666666667 + +TotalSample / SubSample / BiometrySample +======================================== + +TotalSample +~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + operationId;baracoudaCode;sizeCategory;sampleWeight;numberSampled;meanLength;meanWeight;noPerKg;sortedWeight + +Format des colonnes +------------------- + +- operationId FK(Operation#id) +- baracoudaCode FK(Species#baracoudaCode) +- sizeCategory FK(SizeCategory#name) +- sampleWeight (float) +- numberSampled (Integer-NA) +- meanLength (Float-NA) +- meanWeight (Float-NA) +- noPerKg (Float-NA) +- sortedWeight (float) + +Exemple +------- + +:: + + operationId;baracoudaCode;sizeCategory;sampleWeight;numberSampled;meanLength;meanWeight;noPerKg;sortedWeight + P0435;ALLO-TEZ;0";0.21;36;6.4;6;166.66;0.03 + +SubSample +~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + operationId;baracoudaCode;sizeCategory;sexCategory;sampleWeight;numberSampled;lengthClass;numberAtLength;weightAtLength;units;round + +Format des colonnes +------------------- + +- operationId FK(Operation#id) +- baracoudaCode FK(Species#baracoudaCode) +- sizeCategory FK(SizeCategory#name) +- sexCategory FK(SexCategory#name) +- sampleWeight (float) +- numberSampled (int) +- numberAtLength (float) +- weightAtLength (Float-NA) +- lengthClass + +(colonnes ignorées) subHaul units round + +Exemple +------- + +:: + + operationId;baracoudaCode;sizeCategory;sexCategory;sampleWeight;numberSampled;lengthClass;numberAtLength;weightAtLength;units;round + P0372;ENGR-ENC";0;"N";3.37;198;12;7;0.08;0;5 + +BiometrySample +~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + operationId;baracoudaCode;numFish;dataLabel;dataValue;name + +Format des colonnes +------------------- + +- operationId FK(Operation#id) +- baracoudaCode FK(Species#baracoudaCode) +- numFish (int) +- name FK(SampleDataType#name) +- dataLabel +- dataValue (Float-NA) + +Exemple +------- + +:: + + operationId;baracoudaCode;numFish;dataLabel;dataValue;name + P5002;ENGR-ENC";9394;NA;-1;"Age + +Acoustic +~~~~~~~~ + +Colonnes requises +----------------- + +:: + + MOVIES_EILayer;MOVIES_EILayer\sndset;MOVIES_EILayer\sndset\sndname;MOVIES_EILayer\sndset\sndident;MOVIES_EILayer\sndset\softChannelId;MOVIES_EILayer\sndset\channelName;MOVIES_EILayer\sndset\dataType;MOVIES_EILayer\sndset\beamType;MOVIES_EILayer\sndset\acousticFrequency;MOVIES_EILayer\sndset\startSample;MOVIES_EILayer\sndset\mainBeamAlongSteeringAngle;MOVIES_EILayer\sndset\mainBeamAthwartSteeringAngle;MOVIES_EILayer\sndset\absorptionCoef;MOVIES_EILayer\sndset\transmissionPower;MOVIES_EILayer\sndset\beamAlongAngleSensitivity;MOVIES_EILayer\sndset\beamAthwartAngleSensitivity;MOVIES_EILayer\sndset\beam3dBWidthAlong;MOVIES_EILayer\sndset\beam3dBWidthAthwart;MOVIES_EILayer\sndset\beamEquTwoWayAngle;MOVIES_EILayer\sndset\beamGain;MOVIES_EILayer\sndset\beamSACorrection;MOVIES_EILayer\sndset\bottomDetectionMinDepth;MOVIES_EILayer\sndset\bottomDetectionMaxDepth;MOVIES_EILayer\sndset\bottomDetectionMinLevel;MOVIES_EILayer\sndset\AlongTXRXWeightId;MOVIES_EILayer\sndset\AthwartTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAlongTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAthwartTXRXWeightId;MOVIES_EILayer\sndset\bandWidth;MOVIES_EILayer\sndset\tvgminrange;MOVIES_EILayer\sndset\tvgmaxrange;MOVIES_EILayer\sndset\pulseduration;MOVIES_EILayer\shipnav;MOVIES_EILayer\shipnav\lat;MOVIES_EILayer\shipnav\long;MOVIES_EILayer\shipnav\alt;MOVIES_EILayer\shipnav\gndspeed;MOVIES_EILayer\shipnav\gndcourse;MOVIES_EILayer\shipnav\surfspeed;MOVIES_EILayer\shipnav\surfcourse;MOVIES_EILayer\shipnav\driftspeed;MOVIES_EILayer\shipnav\driftcourse;MOVIES_EILayer\shipnav\heading;MOVIES_EILayer\shipnav\roll;MOVIES_EILayer\shipnav\pitch;MOVIES_EILayer\shipnav\heave;MOVIES_EILayer\shipnav\depth;MOVIES_EILayer\shipnav\draught;MOVIES_EILayer\cellset;MOVIES_EILayer\cellset\cellnum;MOVIES_EILayer\cellset\celltype;MOVIES_EILayer\cellset\depthstart;MOVIES_EILayer\cellset\depthend;MOVIES_EILayer\cellset\indexstart;MOVIES_EILayer\cellset\indexend;MOVIES_EILayer\cellset\datestart;MOVIES_EILayer\cellset\dateend;MOVIES_EILayer\cellset\lat;MOVIES_EILayer\cellset\long;MOVIES_EILayer\cellset\volume;MOVIES_EILayer\cellset\area;MOVIES_EILayer\cellset\diststart;MOVIES_EILayer\cellset\distend;MOVIES_EILayer\cellset\thresholdup;MOVIES_EILayer\cellset\thresholdlow;MOVIES_EILayer\eilayer;MOVIES_EILayer\eilayer\sa;MOVIES_EILayer\eilayer\sv;MOVIES_EILayer\eilayer\ni;MOVIES_EILayer\eilayer\nt;MOVIES_EILayer\boterr;MOVIES_EILayer\boterr\sa;MOVIES_EILayer\boterr\ni;MOVIES_EILayer\sndset\soundcelerity;dataQuality + +Format des colonnes +------------------- + +A faire... + +Exemple +------- + +:: + + MOVIES_EILayer;MOVIES_EILayer\sndset;MOVIES_EILayer\sndset\sndname;MOVIES_EILayer\sndset\sndident;MOVIES_EILayer\sndset\softChannelId;MOVIES_EILayer\sndset\channelName;MOVIES_EILayer\sndset\dataType;MOVIES_EILayer\sndset\beamType;MOVIES_EILayer\sndset\acousticFrequency;MOVIES_EILayer\sndset\startSample;MOVIES_EILayer\sndset\mainBeamAlongSteeringAngle;MOVIES_EILayer\sndset\mainBeamAthwartSteeringAngle;MOVIES_EILayer\sndset\absorptionCoef;MOVIES_EILayer\sndset\transmissionPower;MOVIES_EILayer\sndset\beamAlongAngleSensitivity;MOVIES_EILayer\sndset\beamAthwartAngleSensitivity;MOVIES_EILayer\sndset\beam3dBWidthAlong;MOVIES_EILayer\sndset\beam3dBWidthAthwart;MOVIES_EILayer\sndset\beamEquTwoWayAngle;MOVIES_EILayer\sndset\beamGain;MOVIES_EILayer\sndset\beamSACorrection;MOVIES_EILayer\sndset\bottomDetectionMinDepth;MOVIES_EILayer\sndset\bottomDetectionMaxDepth;MOVIES_EILayer\sndset\bottomDetectionMinLevel;MOVIES_EILayer\sndset\AlongTXRXWeightId;MOVIES_EILayer\sndset\AthwartTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAlongTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAthwartTXRXWeightId;MOVIES_EILayer\sndset\bandWidth;MOVIES_EILayer\sndset\tvgminrange;MOVIES_EILayer\sndset\tvgmaxrange;MOVIES_EILayer\sndset\pulseduration;MOVIES_EILayer\shipnav;MOVIES_EILayer\shipnav\lat;MOVIES_EILayer\shipnav\long;MOVIES_EILayer\shipnav\alt;MOVIES_EILayer\shipnav\gndspeed;MOVIES_EILayer\shipnav\gndcourse;MOVIES_EILayer\shipnav\surfspeed;MOVIES_EILayer\shipnav\surfcourse;MOVIES_EILayer\shipnav\driftspeed;MOVIES_EILayer\shipnav\driftcourse;MOVIES_EILayer\shipnav\heading;MOVIES_EILayer\shipnav\roll;MOVIES_EILayer\shipnav\pitch;MOVIES_EILayer\shipnav\heave;MOVIES_EILayer\shipnav\depth;MOVIES_EILayer\shipnav\draught;MOVIES_EILayer\cellset;MOVIES_EILayer\cellset\cellnum;MOVIES_EILayer\cellset\celltype;MOVIES_EILayer\cellset\depthstart;MOVIES_EILayer\cellset\depthend;MOVIES_EILayer\cellset\indexstart;MOVIES_EILayer\cellset\indexend;MOVIES_EILayer\cellset\datestart;MOVIES_EILayer\cellset\dateend;MOVIES_EILayer\cellset\lat;MOVIES_EILayer\cellset\long;MOVIES_EILayer\cellset\volume;MOVIES_EILayer\cellset\area;MOVIES_EILayer\cellset\diststart;MOVIES_EILayer\cellset\distend;MOVIES_EILayer\cellset\thresholdup;MOVIES_EILayer\cellset\thresholdlow;MOVIES_EILayer\eilayer;MOVIES_EILayer\eilayer\sa;MOVIES_EILayer\eilayer\sv;MOVIES_EILayer\eilayer\ni;MOVIES_EILayer\eilayer\nt;MOVIES_EILayer\boterr;MOVIES_EILayer\boterr\sa;MOVIES_EILayer\boterr\ni;MOVIES_EILayer\sndset\soundcelerity;dataQuality + 2011/06/23 10:09:00.0000";NA;NA;NA;47;38000;NA;NA;NA;NA;NA;NA;8.47;2000;21.8;21.8;NA;NA;-20.6;25.27;-0.529999;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;1.024;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;199.9;NA;NA;0;0;10;20;NA;NA;"2011-04-26 08:24:02.0000;2011-04-26 08:30:02.0000";43.666505;-3.48812666666667;NA;1;NA;NA;0;-60;NA;1.444008;NA;71;43424;NA;NA;NA;"variable";1 + +Résultats voyage +================ + +Echotype +~~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;echotypeName;depthStratumId;meaning;baracoudaCode + +Format des colonnes +------------------- + +- echotypeName +- meaning +- voyage FK(Voyage#name) +- depthStratumId FK(DepthStratum#id) +- baracoudaCode FK(Species#baracoudaCode) + +Exemple +------- + +:: + + voyage;echotypeName;depthStratumId;meaning;baracoudaCode + PELGAS2011;D1;CLAS;Maquereaux, Chinchards et gadidés présents dans les couches à proximité du fond;COMP-LEM + +LengthWeightKey +~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;sizeCategory;aParameter;bParameter;baracoudaCode;strata + +Format des colonnes +------------------- + +- aParameter (float) +- bParameter (float) +- voyage FK(Voyage#name) +- sizeCategory FK(SizeCategory#name) +- baracoudaCode FK(Species#baracoudaCode) +- strata FK(Strata#name) + +Exemple +------- + +:: + + voyage;sizeCategory;aParameter;bParameter;baracoudaCode;strata + PELGAS2011";0;2.48253468289872;3.37866337729714;"ENGR-ENC;Golfe de Gascogne + +LengthAgeKey +~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;baracoudaCode;age;length;percentAtAge;metadata;strata + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- age (int) +- length (float) +- percentAtAge (float) +- metadata +- strata FK(Strata#name) +- baracoudaCode FK(Species#baracoudaCode) + +Exemple +------- + +:: + + voyage;baracoudaCode;age;length;percentAtAge;metadata;strata + PELGAS2011;ENGR-ENC";1;7.5;1;"Ifremer reading;Golfe de Gascogne + +Résultats Esdu +============== + +Esdu / Echotype +~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;name;echotype;NASC;ReferenceStationCatch;ReferenceStationBiometry;dataQuality + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- name FK(esdu cell) +- echotype FK(Echotype#name) +- dataQuality FK(DataQuality#qualityDataFlagValues) +- méta-données FK(DataMetadata#name) (une colonne par méta à importer) + +Exemple +------- + +:: + + voyage;name;echotype;NASC;ReferenceStationCatch;ReferenceStationBiometry;dataQuality + PELGAS2011;2011-04-26 13:29:12.0000;D1";0;"P0379;P0379";1 + +Esdu / Echotype / Species Category +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;name;echotype;baracoudaCode;sizeCategory;ReferenceStationCatch;Biomass;MeanLength;MeanWeight;Abundance;SigmaSp;NASC;pondBiomass;pondAbundance;dataQuality + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- name FK(esdu cell) +- echotype FK(Echotype#name) +- sizeCategory FK(SizeCategory#name) +- baracoudaCode FK(Species#baracoudaCode) +- dataQuality FK(DataQuality#qualityDataFlagValues) +- méta-données FK(DataMetadata#name) (une colonne par méta à importer) + +Exemple +------- + +:: + + voyage;name;echotype;baracoudaCode;sizeCategory;ReferenceStationCatch;Biomass;MeanLength;MeanWeight;Abundance;SigmaSp;NASC;pondBiomass;pondAbundance;dataQuality + PELGAS2011;2011-04-26 13:29:12.0000;D1;COMP-LEM;0";4;0;20;0.05;0;0.00100292822891053;0;0;0;1 + +Esdu / Species / Age Category +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + name;baracoudaCode;ageCategory;Abundance;ageCategoryMeaning;dataQuality;voyage + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- name FK(esdu cell) +- baracoudaCode FK(Species#baracoudaCode) +- ageCategory +- ageCategoryMeaning +- dataQuality FK(DataQuality#qualityDataFlagValues) +- méta-données FK(DataMetadata#name) (une colonne par méta à importer) + +Exemple +------- + +:: + + name;baracoudaCode;ageCategory;Abundance;ageCategoryMeaning;dataQuality;voyage + 2011-04-26 13:35:19.0000;ENGR-ENC";3;3377.00492644042;"fish age-group (years)";1;"PELGAS2011 + +Esdu / Species / Size Category +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + name;baracoudaCode;sizeCategory;Biomass;Abundance;sizeCategoryMeaning;dataQuality;voyage + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- name FK(esdu cell) +- baracoudaCode FK(Species#baracoudaCode) +- sizeCategory +- sizeCategoryMeaning +- dataQuality FK(DataQuality#qualityDataFlagValues) +- méta-données FK(DataMetadata#name) (une colonne par méta à importer) + +Exemple +------- + +:: + + name;baracoudaCode;sizeCategory;Biomass;Abundance;sizeCategoryMeaning;dataQuality;voyage + 2011-04-26 13:35:19.0000;MICR-POU";4;5190.7652880528;1297691.3220132;"mid point of 1 cm size bin";1;"PELGAS2011 + +Region +====== + +Region +~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;name;cellType;regionEnvCoordinates;surface;dataQuality + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- cellType FK(CellType) +- dataQuality FK(DataQuality#qualityDataFlagValues) +- name +- regionEnvCoordinates +- surface (float) + +Exemple +------- + +:: + + voyage;name;cellType;regionEnvCoordinates;surface;dataQuality + PELGAS2011";1;"RegionCLAS;-1.40644893137726 43.8651260867463 50";1224.75678263326;1 + +Region Association +~~~~~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;regionName;esduName + +Format des colonnes +------------------- + +- voyage FK(Voyage) +- regionName FK(Cell#name) +- esduName FK(Cell#name) + +Exemple +------- + +:: + + voyage;regionName;esduName + PELGAS2011";1;"2011-05-02 09:36:54.0000 + +Region results +~~~~~~~~~~~~~~ + +Colonnes requises +----------------- + +:: + + voyage;name;baracoudaCode;sizeCategory;echotype;VarianceXe;VarianceNASC;MeanXe;MeanNASC;NASCWeightedMeanXe;Nesdu;Nhauls;MeanNASCWeightedBiomassDensity;NASCWeightedEstimationVariance;NASCWeightedEstimationCV;MeanBiomassDensity;EstimationVariance;EstimationCV;TotalEstimationVariance;TotalNASCWeightedEstimationVariance;ProportionOfTotalEstimationVariance;ProportionOfNASCWeightedTotalEstimationVariance;Biomass;NASCWeightedBiomass;dataQuality + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- name FK(Cell#name) +- baracoudaCode FK(Species#baracoudaCode) +- echotype FK(Echotype#name) +- sizeCategory FK(SizeCategory#name) +- dataQuality FK(DataQuality#qualityDataFlagValues) +- méta-données FK(DataMetadata#name) (une colonne par méta à importer) + +Exemple +------- + +:: + + voyage;name;baracoudaCode;sizeCategory;echotype;VarianceXe;VarianceNASC;MeanXe;MeanNASC;NASCWeightedMeanXe;Nesdu;Nhauls;MeanNASCWeightedBiomassDensity;NASCWeightedEstimationVariance;NASCWeightedEstimationCV;MeanBiomassDensity;EstimationVariance;EstimationCV;TotalEstimationVariance;TotalNASCWeightedEstimationVariance;ProportionOfTotalEstimationVariance;ProportionOfNASCWeightedTotalEstimationVariance;Biomass;NASCWeightedBiomass;dataQuality + PELGAS2011;6;CLUP-HAR;0;D2";NA;8963.28501789053;0.127534943481966;19.0945142790179;0.127534943481966;448;1;2.43521779939014;NA;NA;2.43521779939014;NA;NA;0;0;NA;NA;14380.2052341515;14380.2052341515;1 + +Map +=== + +Map +~~~ + +Colonnes requises +----------------- + +:: + + voyage;name;baracoudaCode;sizeCategory;ageCategory;gridCellLongitude;gridCellLatitude;gridCellDepth;gridLongitudeLag;gridLatitudeLag;gridDepthLag;KrigedXe;dataQuality + +Format des colonnes +------------------- + +- voyage FK(Voyage#name) +- name +- baracoudaCode FK(Species#baracoudaCode) +- sizeCategory FK(SizeCategory#name) +- ageCategory FK(AgeCategory#name) +- dataQuality FK(DataQuality#qualityDataFlagValues) +- gridCellLongitude (float) +- gridCellLatitude (float) +- gridCellDepth (float) +- gridLongitudeLag (float) +- gridLatitudeLag (float) +- gridDepthLag (float) +- méta-données FK(DataMetadata#name) (une colonne par méta à importer) + +Exemple +------- + +:: + + voyage;name;baracoudaCode;sizeCategory;ageCategory;gridCellLongitude;gridCellLatitude;gridCellDepth;gridLongitudeLag;gridLatitudeLag;gridDepthLag;KrigedXe;dataQuality + PELGAS2011;-6 43.5 0;ENGR-ENC";0;;-6;43.5;0;0.25;0.25;0;0;1 Modified: trunk/src/site/en/rst/importDb.rst =================================================================== --- trunk/src/site/en/rst/importDb.rst 2012-10-29 08:18:41 UTC (rev 751) +++ trunk/src/site/en/rst/importDb.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -35,92 +35,19 @@ Abstract -------- -Ce document explique comment importer / exporter des bases au format EchoBase. +Ce document explique comment importer des bases au format EchoBase. -Export EchoBase ---------------- +*TODO Translate me* -EchoBase permet d'export une partie ou l'ensemble d'une base de travial au -format *.echobase* qui est ensuite réimportable dans une autre instance d'EchoBase. - -- Cliquer sur le menu *Exporter une base*. - -- Configurer l'export - -Une fichier au format *.echobase* sera créé, il est ensuite possible de -l'importer sur une autre instance d'EchoBase. - -Il existe plusieurs modes d'export que nous détaillons ci-dessous. - -Export referential -~~~~~~~~~~~~~~~~~~ - -Dans ce mode on exporte uniquement le référentiel de la base de travail. - -Il vous suffit de renseigner le nom du fichier d'export (l'extension -*.echobase*) sera automatiquement rajoutée, puis de cliquer sur *Exporter*. - -Une fois l'export réalisé, le fichier sera téléchargeable. - -Export referential and data -~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Dans ce mode on exporte le référentiel et les données sélectionnées -de la base de travail. - -Il vous suffit de renseigner le nom du fichier d'export (l'extension -*.echobase*) sera automatiquement rajoutée, de sélectionner les données -à exporter puis de cliquer sur *Exporter*. - -Une fois l'export réalisé, le fichier sera téléchargeable. - - -Export data -~~~~~~~~~~~ - -Dans ce mode on exporte uniquement les données sélectionnées de la base de -travail. - -Il vous suffit de renseigner le nom du fichier d'export (l'extension -*.echobase*) sera automatiquement rajoutée, de sélectionner les données -à exporter puis de cliquer sur *Exporter*. - -Une fois l'export réalisé, le fichier sera téléchargeable. - -Export All -~~~~~~~~~~ - -Dans ce mode, on exporte toute la base de travail. - -Il vous suffit de renseigner le nom du fichier d'export (l'extension -*.echobase*) sera automatiquement rajoutée, puis de cliquer sur *Exporter*. - -Une fois l'export réalisé, le fichier sera téléchargeable. - -Import EchoBase ---------------- - -Tout export de base au format *.echobase* est ensuite réimportable sur n'importe -qu'elle autre instance d'EchoBase. - -TODO Expliquer le fonctionnement de l'import et la politique des collisions... - Import Referential -~~~~~~~~~~~~~~~~~~ +------------------ Ce mode permet d'importer uniquement des données du référentiel. Il suffit de renseigner le fichier *.echobase* à importer et de lancer l'import. -Import Data -~~~~~~~~~~~ - -Ce mode permet d'importer uniquement des données thématiques. - -Il suffit de renseigner le fichier *.echobase* à importer et de lancer l'import. - Import Free -~~~~~~~~~~~ +----------- Ce mode permet d'importer n'importe quelle type de données (référentiel ou/et données thématiques). Deleted: trunk/src/site/en/rst/imports.rst =================================================================== --- trunk/src/site/en/rst/imports.rst 2012-10-29 08:18:41 UTC (rev 751) +++ trunk/src/site/en/rst/imports.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -1,697 +0,0 @@ -.. - -.. * #%L -.. * EchoBase -.. * -.. * $Id$ -.. * $HeadURL$ -.. * %% -.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin -.. * %% -.. * This program is free software: you can redistribute it and/or modify -.. * it under the terms of the GNU Affero General Public License as published by -.. * the Free Software Foundation, either version 3 of the License, or -.. * (at your option) any later version. -.. * -.. * This program is distributed in the hope that it will be useful, -.. * but WITHOUT ANY WARRANTY; without even the implied warranty of -.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.. * GNU General Public License for more details. -.. * -.. * You should have received a copy of the GNU Affero General Public License -.. * along with this program. If not, see <http://www.gnu.org/licenses/>. -.. * #L% -.. - - -======================================= -Liste des colonnes des imports EchoBase -======================================= - -.. contents:: Table des matières - :depth: 2 - -.. sectnum:: - :start: 1 - :depth: 2 - -Abstract -======== - -*TODO Translate this in english* - -Ce document donne la définition de tous les imports. - -Format des colonnes -~~~~~~~~~~~~~~~~~~~ - -- FK(XXX#yyy) désigne une clef étrangère requise (XXX sur la propriété yyy). -- (int) un entier (pas du nullité possible) -- (float) un décimal (pas de nullité possible) -- (Integer) un entier avec nullité possible -- (Integer-NA) un entier avec nullité possible (et nullité si NA) -- Float un décimale avec nullité possible -- (Float-NA) un décimale avec nullité possible (et nullité si NA) -- (date) unique format de date : *yyyy-MM-dd HH:mm:ss.SSSS* -- (esdu cell) nom de cellule esdu - elementary : esduName[_elementaryCellName] - avec esdu name au format yyyy-MM-dd HH:mm:ss.SSSS - -Note importantes -~~~~~~~~~~~~~~~~ - -- Le nom des colonnes est sensible à la casse, il faut donc bien respecter les - noms donnés dans cette page. - -- Le contenu des cellules (et aussi les nom de colonnes) peuvent être encapsulés - par des **"**. - - -Voyage / Transit / Transect -=========================== - -Voyage -~~~~~~ - -Colonnes requises ------------------ - -:: - - name;startDate;endDate;startPort;endPort - -Format des colonnes -------------------- - -- name -- startDate (date) -- endDate (date) -- startPort -- endPort - -Exemple -------- - -:: - - name;startDate;endDate;startPort;endPort - PELGAS2011;2011-04-26 08:00:00.0000;2011-06-04 17:00:01.0000;Santander;Concarneau - -Transit -~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;description;startTime;endTime;startLocality;endLocality - -Format des colonnes -------------------- - -- voyage FK(voyage#name) -- description -- startTime (date) -- endTime (date) -- startLocality -- endLocality - -Exemple -------- - -:: - - voyage;description;startTime;endTime;startLocality;endLocality - PELGAS2011;PELGAS11CAMP1;2011-04-26 08:00:01.0000;2011-05-08 20:00:00.0000;Santander;La Rochelle - -Transect -~~~~~~~~ - -Colonnes requises ------------------ - -:: - - title;transectAbstract;stratum;comment;voyage;vesselName;dateCreated;timeCoverageStart;timeCoverageEnd;geospatialLonMin;geospatialLatMin;geospatialVerticalMin;geospatialLonMax;geospatialLatMax;geospatialVerticalMax;linestring - -Format des colonnes -------------------- - -- voyage FK(voyage#name) -- vesselName FK(Vessel#name) -- title -- transectAbstract -- stratum -- comment -- dateCreated (date) -- timeCoverageStart (date) -- timeCoverageEnd (date) -- geospatialLonMin (float) -- geospatialLonMax (float) -- geospatialLatMin (float) -- geospatialLatMax (float) -- geospatialVerticalMin (float) -- geospatialVerticalMax (float) -- linestring - -Exemple -------- - -:: - - title;transectAbstract;stratum;comment;voyage;vesselName;dateCreated;timeCoverageStart;timeCoverageEnd;geospatialLonMin;geospatialLatMin;geospatialVerticalMin;geospatialLonMax;geospatialLatMax;geospatialVerticalMax;linestring - Arlequin2 / la colombine942OBS01 SUR;942OBS;SUR;942OBS,P5001,SUR;PELGAS2011;Arlequin2 / la colombine;2011-04-27 09:10:00.0000;2011-04-27 09:10:00.0000;2011-04-27 10:39:00.0000";-1.5896666667;43.7055;110;-1.541;43.7606666667;110;"-176453.0000037 4851310.5,-171051 4857434.0000037 - -Operation / OperationMetadataValue / GearMetadataValue -====================================================== - -Operation -~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - vesselName;operationId;depthStratumId;gearShootingStartTime;midHaulLatitude;midHaulLongitude;gearShootingStartLatitude;gearShootingStartLongitude;gearShootingEndTime;gearShootingEndLatitude;gearShootingEndLongitude;gearCode - -Format des colonnes -------------------- - -- vesselName FK(Vessel#name) -- gearCode FK(Gear#casinoGearName) -- depthStratumId FK(DepthStratum#id) -- operationId -- midHaulLatitude (float) -- midHaulLongitude (float) -- gearShootingStartTime (date) -- gearShootingEndTime (date) -- gearShootingStartLatitude (float) -- gearShootingEndLatitude (float) -- gearShootingStartLongitude (float) -- gearShootingEndLongitude (float) - -Exemple -------- - -:: - - vesselName;operationId;depthStratumId;gearShootingStartTime;midHaulLatitude;midHaulLongitude;gearShootingStartLatitude;gearShootingStartLongitude;gearShootingEndTime;gearShootingEndLatitude;gearShootingEndLongitude;gearCode - THALASSA II;P0422;CLAS;2011-05-05 06:49:50.0000";45.4165605;-1.4492292;45.4029733;-1.4860902;"2011-05-05 07:42:19.0000";45.4301477;-1.4123682;"57x52 - -OperationMetadataValue -~~~~~~~~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - vesselName;operationId;metadataType;operationMetadataValue - -Format des colonnes -------------------- - -- vesselName FK(Vessel#name) -- operationId FK(Operation#id) -- metadataType FK(OperationMetadata#name) -- operationMetadataValue - -Exemple -------- - -:: - - vesselName;operationId;metadataType;operationMetadataValue - THALASSA II;P0422;MeanWaterDepth";43.42 - -GearMetadataValue -~~~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - vesselName;operationId;gearCode;metadataType;gearMetadataValue - -Format des colonnes -------------------- - -- vesselName FK(Vessel#name) -- operationId FK(Operation#id) -- metadataType FK(GearMetadata#name) -- gearCode FK(Gear#casinoGearName) -- gearMetadataValue - -Exemple -------- - -:: - - vesselName;operationId;gearCode;metadataType;gearMetadataValue - THALASSA II;P0422;57x52;CableLength";31.6666666666667 - -TotalSample / SubSample / BiometrySample -======================================== - -TotalSample -~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - operationId;baracoudaCode;sizeCategory;sampleWeight;numberSampled;meanLength;meanWeight;noPerKg;sortedWeight - -Format des colonnes -------------------- - -- operationId FK(Operation#id) -- baracoudaCode FK(Species#baracoudaCode) -- sizeCategory FK(SizeCategory#name) -- sampleWeight (float) -- numberSampled (Integer-NA) -- meanLength (Float-NA) -- meanWeight (Float-NA) -- noPerKg (Float-NA) -- sortedWeight (float) - -Exemple -------- - -:: - - operationId;baracoudaCode;sizeCategory;sampleWeight;numberSampled;meanLength;meanWeight;noPerKg;sortedWeight - P0435;ALLO-TEZ;0";0.21;36;6.4;6;166.66;0.03 - -SubSample -~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - operationId;baracoudaCode;sizeCategory;sexCategory;sampleWeight;numberSampled;lengthClass;numberAtLength;weightAtLength;units;round - -Format des colonnes -------------------- - -- operationId FK(Operation#id) -- baracoudaCode FK(Species#baracoudaCode) -- sizeCategory FK(SizeCategory#name) -- sexCategory FK(SexCategory#name) -- sampleWeight (float) -- numberSampled (int) -- numberAtLength (float) -- weightAtLength (Float-NA) -- lengthClass - -(colonnes ignorées) subHaul units round - -Exemple -------- - -:: - - operationId;baracoudaCode;sizeCategory;sexCategory;sampleWeight;numberSampled;lengthClass;numberAtLength;weightAtLength;units;round - P0372;ENGR-ENC";0;"N";3.37;198;12;7;0.08;0;5 - -BiometrySample -~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - operationId;baracoudaCode;numFish;dataLabel;dataValue;name - -Format des colonnes -------------------- - -- operationId FK(Operation#id) -- baracoudaCode FK(Species#baracoudaCode) -- numFish (int) -- name FK(SampleDataType#name) -- dataLabel -- dataValue (Float-NA) - -Exemple -------- - -:: - - operationId;baracoudaCode;numFish;dataLabel;dataValue;name - P5002;ENGR-ENC";9394;NA;-1;"Age - -Acoustic -~~~~~~~~ - -Colonnes requises ------------------ - -:: - - MOVIES_EILayer;MOVIES_EILayer\sndset;MOVIES_EILayer\sndset\sndname;MOVIES_EILayer\sndset\sndident;MOVIES_EILayer\sndset\softChannelId;MOVIES_EILayer\sndset\channelName;MOVIES_EILayer\sndset\dataType;MOVIES_EILayer\sndset\beamType;MOVIES_EILayer\sndset\acousticFrequency;MOVIES_EILayer\sndset\startSample;MOVIES_EILayer\sndset\mainBeamAlongSteeringAngle;MOVIES_EILayer\sndset\mainBeamAthwartSteeringAngle;MOVIES_EILayer\sndset\absorptionCoef;MOVIES_EILayer\sndset\transmissionPower;MOVIES_EILayer\sndset\beamAlongAngleSensitivity;MOVIES_EILayer\sndset\beamAthwartAngleSensitivity;MOVIES_EILayer\sndset\beam3dBWidthAlong;MOVIES_EILayer\sndset\beam3dBWidthAthwart;MOVIES_EILayer\sndset\beamEquTwoWayAngle;MOVIES_EILayer\sndset\beamGain;MOVIES_EILayer\sndset\beamSACorrection;MOVIES_EILayer\sndset\bottomDetectionMinDepth;MOVIES_EILayer\sndset\bottomDetectionMaxDepth;MOVIES_EILayer\sndset\bottomDetectionMinLevel;MOVIES_EILayer\sndset\AlongTXRXWeightId;MOVIES_EILayer\sndset\AthwartTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAlongTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAthwartTXRXWeightId;MOVIES_EILayer\sndset\bandWidth;MOVIES_EILayer\sndset\tvgminrange;MOVIES_EILayer\sndset\tvgmaxrange;MOVIES_EILayer\sndset\pulseduration;MOVIES_EILayer\shipnav;MOVIES_EILayer\shipnav\lat;MOVIES_EILayer\shipnav\long;MOVIES_EILayer\shipnav\alt;MOVIES_EILayer\shipnav\gndspeed;MOVIES_EILayer\shipnav\gndcourse;MOVIES_EILayer\shipnav\surfspeed;MOVIES_EILayer\shipnav\surfcourse;MOVIES_EILayer\shipnav\driftspeed;MOVIES_EILayer\shipnav\driftcourse;MOVIES_EILayer\shipnav\heading;MOVIES_EILayer\shipnav\roll;MOVIES_EILayer\shipnav\pitch;MOVIES_EILayer\shipnav\heave;MOVIES_EILayer\shipnav\depth;MOVIES_EILayer\shipnav\draught;MOVIES_EILayer\cellset;MOVIES_EILayer\cellset\cellnum;MOVIES_EILayer\cellset\celltype;MOVIES_EILayer\cellset\depthstart;MOVIES_EILayer\cellset\depthend;MOVIES_EILayer\cellset\indexstart;MOVIES_EILayer\cellset\indexend;MOVIES_EILayer\cellset\datestart;MOVIES_EILayer\cellset\dateend;MOVIES_EILayer\cellset\lat;MOVIES_EILayer\cellset\long;MOVIES_EILayer\cellset\volume;MOVIES_EILayer\cellset\area;MOVIES_EILayer\cellset\diststart;MOVIES_EILayer\cellset\distend;MOVIES_EILayer\cellset\thresholdup;MOVIES_EILayer\cellset\thresholdlow;MOVIES_EILayer\eilayer;MOVIES_EILayer\eilayer\sa;MOVIES_EILayer\eilayer\sv;MOVIES_EILayer\eilayer\ni;MOVIES_EILayer\eilayer\nt;MOVIES_EILayer\boterr;MOVIES_EILayer\boterr\sa;MOVIES_EILayer\boterr\ni;MOVIES_EILayer\sndset\soundcelerity;dataQuality - -Format des colonnes -------------------- - -A faire... - -Exemple -------- - -:: - - MOVIES_EILayer;MOVIES_EILayer\sndset;MOVIES_EILayer\sndset\sndname;MOVIES_EILayer\sndset\sndident;MOVIES_EILayer\sndset\softChannelId;MOVIES_EILayer\sndset\channelName;MOVIES_EILayer\sndset\dataType;MOVIES_EILayer\sndset\beamType;MOVIES_EILayer\sndset\acousticFrequency;MOVIES_EILayer\sndset\startSample;MOVIES_EILayer\sndset\mainBeamAlongSteeringAngle;MOVIES_EILayer\sndset\mainBeamAthwartSteeringAngle;MOVIES_EILayer\sndset\absorptionCoef;MOVIES_EILayer\sndset\transmissionPower;MOVIES_EILayer\sndset\beamAlongAngleSensitivity;MOVIES_EILayer\sndset\beamAthwartAngleSensitivity;MOVIES_EILayer\sndset\beam3dBWidthAlong;MOVIES_EILayer\sndset\beam3dBWidthAthwart;MOVIES_EILayer\sndset\beamEquTwoWayAngle;MOVIES_EILayer\sndset\beamGain;MOVIES_EILayer\sndset\beamSACorrection;MOVIES_EILayer\sndset\bottomDetectionMinDepth;MOVIES_EILayer\sndset\bottomDetectionMaxDepth;MOVIES_EILayer\sndset\bottomDetectionMinLevel;MOVIES_EILayer\sndset\AlongTXRXWeightId;MOVIES_EILayer\sndset\AthwartTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAlongTXRXWeightId;MOVIES_EILayer\sndset\SplitBeamAthwartTXRXWeightId;MOVIES_EILayer\sndset\bandWidth;MOVIES_EILayer\sndset\tvgminrange;MOVIES_EILayer\sndset\tvgmaxrange;MOVIES_EILayer\sndset\pulseduration;MOVIES_EILayer\shipnav;MOVIES_EILayer\shipnav\lat;MOVIES_EILayer\shipnav\long;MOVIES_EILayer\shipnav\alt;MOVIES_EILayer\shipnav\gndspeed;MOVIES_EILayer\shipnav\gndcourse;MOVIES_EILayer\shipnav\surfspeed;MOVIES_EILayer\shipnav\surfcourse;MOVIES_EILayer\shipnav\driftspeed;MOVIES_EILayer\shipnav\driftcourse;MOVIES_EILayer\shipnav\heading;MOVIES_EILayer\shipnav\roll;MOVIES_EILayer\shipnav\pitch;MOVIES_EILayer\shipnav\heave;MOVIES_EILayer\shipnav\depth;MOVIES_EILayer\shipnav\draught;MOVIES_EILayer\cellset;MOVIES_EILayer\cellset\cellnum;MOVIES_EILayer\cellset\celltype;MOVIES_EILayer\cellset\depthstart;MOVIES_EILayer\cellset\depthend;MOVIES_EILayer\cellset\indexstart;MOVIES_EILayer\cellset\indexend;MOVIES_EILayer\cellset\datestart;MOVIES_EILayer\cellset\dateend;MOVIES_EILayer\cellset\lat;MOVIES_EILayer\cellset\long;MOVIES_EILayer\cellset\volume;MOVIES_EILayer\cellset\area;MOVIES_EILayer\cellset\diststart;MOVIES_EILayer\cellset\distend;MOVIES_EILayer\cellset\thresholdup;MOVIES_EILayer\cellset\thresholdlow;MOVIES_EILayer\eilayer;MOVIES_EILayer\eilayer\sa;MOVIES_EILayer\eilayer\sv;MOVIES_EILayer\eilayer\ni;MOVIES_EILayer\eilayer\nt;MOVIES_EILayer\boterr;MOVIES_EILayer\boterr\sa;MOVIES_EILayer\boterr\ni;MOVIES_EILayer\sndset\soundcelerity;dataQuality - 2011/06/23 10:09:00.0000";NA;NA;NA;47;38000;NA;NA;NA;NA;NA;NA;8.47;2000;21.8;21.8;NA;NA;-20.6;25.27;-0.529999;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;1.024;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;NA;199.9;NA;NA;0;0;10;20;NA;NA;"2011-04-26 08:24:02.0000;2011-04-26 08:30:02.0000";43.666505;-3.48812666666667;NA;1;NA;NA;0;-60;NA;1.444008;NA;71;43424;NA;NA;NA;"variable";1 - -Résultats voyage -================ - -Echotype -~~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;echotypeName;depthStratumId;meaning;baracoudaCode - -Format des colonnes -------------------- - -- echotypeName -- meaning -- voyage FK(Voyage#name) -- depthStratumId FK(DepthStratum#id) -- baracoudaCode FK(Species#baracoudaCode) - -Exemple -------- - -:: - - voyage;echotypeName;depthStratumId;meaning;baracoudaCode - PELGAS2011;D1;CLAS;Maquereaux, Chinchards et gadidés présents dans les couches à proximité du fond;COMP-LEM - -LengthWeightKey -~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;sizeCategory;aParameter;bParameter;baracoudaCode;strata - -Format des colonnes -------------------- - -- aParameter (float) -- bParameter (float) -- voyage FK(Voyage#name) -- sizeCategory FK(SizeCategory#name) -- baracoudaCode FK(Species#baracoudaCode) -- strata FK(Strata#name) - -Exemple -------- - -:: - - voyage;sizeCategory;aParameter;bParameter;baracoudaCode;strata - PELGAS2011";0;2.48253468289872;3.37866337729714;"ENGR-ENC;Golfe de Gascogne - -LengthAgeKey -~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;baracoudaCode;age;length;percentAtAge;metadata;strata - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- age (int) -- length (float) -- percentAtAge (float) -- metadata -- strata FK(Strata#name) -- baracoudaCode FK(Species#baracoudaCode) - -Exemple -------- - -:: - - voyage;baracoudaCode;age;length;percentAtAge;metadata;strata - PELGAS2011;ENGR-ENC";1;7.5;1;"Ifremer reading;Golfe de Gascogne - -Résultats Esdu -============== - -Esdu / Echotype -~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;name;echotype;NASC;ReferenceStationCatch;ReferenceStationBiometry;dataQuality - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- name FK(esdu cell) -- echotype FK(Echotype#name) -- dataQuality FK(DataQuality#qualityDataFlagValues) -- méta-données FK(DataMetadata#name) (une colonne par méta à importer) - -Exemple -------- - -:: - - voyage;name;echotype;NASC;ReferenceStationCatch;ReferenceStationBiometry;dataQuality - PELGAS2011;2011-04-26 13:29:12.0000;D1";0;"P0379;P0379";1 - -Esdu / Echotype / Species Category -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;name;echotype;baracoudaCode;sizeCategory;ReferenceStationCatch;Biomass;MeanLength;MeanWeight;Abundance;SigmaSp;NASC;pondBiomass;pondAbundance;dataQuality - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- name FK(esdu cell) -- echotype FK(Echotype#name) -- sizeCategory FK(SizeCategory#name) -- baracoudaCode FK(Species#baracoudaCode) -- dataQuality FK(DataQuality#qualityDataFlagValues) -- méta-données FK(DataMetadata#name) (une colonne par méta à importer) - -Exemple -------- - -:: - - voyage;name;echotype;baracoudaCode;sizeCategory;ReferenceStationCatch;Biomass;MeanLength;MeanWeight;Abundance;SigmaSp;NASC;pondBiomass;pondAbundance;dataQuality - PELGAS2011;2011-04-26 13:29:12.0000;D1;COMP-LEM;0";4;0;20;0.05;0;0.00100292822891053;0;0;0;1 - -Esdu / Species / Age Category -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - name;baracoudaCode;ageCategory;Abundance;ageCategoryMeaning;dataQuality;voyage - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- name FK(esdu cell) -- baracoudaCode FK(Species#baracoudaCode) -- ageCategory -- ageCategoryMeaning -- dataQuality FK(DataQuality#qualityDataFlagValues) -- méta-données FK(DataMetadata#name) (une colonne par méta à importer) - -Exemple -------- - -:: - - name;baracoudaCode;ageCategory;Abundance;ageCategoryMeaning;dataQuality;voyage - 2011-04-26 13:35:19.0000;ENGR-ENC";3;3377.00492644042;"fish age-group (years)";1;"PELGAS2011 - -Esdu / Species / Size Category -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - name;baracoudaCode;sizeCategory;Biomass;Abundance;sizeCategoryMeaning;dataQuality;voyage - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- name FK(esdu cell) -- baracoudaCode FK(Species#baracoudaCode) -- sizeCategory -- sizeCategoryMeaning -- dataQuality FK(DataQuality#qualityDataFlagValues) -- méta-données FK(DataMetadata#name) (une colonne par méta à importer) - -Exemple -------- - -:: - - name;baracoudaCode;sizeCategory;Biomass;Abundance;sizeCategoryMeaning;dataQuality;voyage - 2011-04-26 13:35:19.0000;MICR-POU";4;5190.7652880528;1297691.3220132;"mid point of 1 cm size bin";1;"PELGAS2011 - -Region -====== - -Region -~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;name;cellType;regionEnvCoordinates;surface;dataQuality - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- cellType FK(CellType) -- dataQuality FK(DataQuality#qualityDataFlagValues) -- name -- regionEnvCoordinates -- surface (float) - -Exemple -------- - -:: - - voyage;name;cellType;regionEnvCoordinates;surface;dataQuality - PELGAS2011";1;"RegionCLAS;-1.40644893137726 43.8651260867463 50";1224.75678263326;1 - -Region Association -~~~~~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;regionName;esduName - -Format des colonnes -------------------- - -- voyage FK(Voyage) -- regionName FK(Cell#name) -- esduName FK(Cell#name) - -Exemple -------- - -:: - - voyage;regionName;esduName - PELGAS2011";1;"2011-05-02 09:36:54.0000 - -Region results -~~~~~~~~~~~~~~ - -Colonnes requises ------------------ - -:: - - voyage;name;baracoudaCode;sizeCategory;echotype;VarianceXe;VarianceNASC;MeanXe;MeanNASC;NASCWeightedMeanXe;Nesdu;Nhauls;MeanNASCWeightedBiomassDensity;NASCWeightedEstimationVariance;NASCWeightedEstimationCV;MeanBiomassDensity;EstimationVariance;EstimationCV;TotalEstimationVariance;TotalNASCWeightedEstimationVariance;ProportionOfTotalEstimationVariance;ProportionOfNASCWeightedTotalEstimationVariance;Biomass;NASCWeightedBiomass;dataQuality - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- name FK(Cell#name) -- baracoudaCode FK(Species#baracoudaCode) -- echotype FK(Echotype#name) -- sizeCategory FK(SizeCategory#name) -- dataQuality FK(DataQuality#qualityDataFlagValues) -- méta-données FK(DataMetadata#name) (une colonne par méta à importer) - -Exemple -------- - -:: - - voyage;name;baracoudaCode;sizeCategory;echotype;VarianceXe;VarianceNASC;MeanXe;MeanNASC;NASCWeightedMeanXe;Nesdu;Nhauls;MeanNASCWeightedBiomassDensity;NASCWeightedEstimationVariance;NASCWeightedEstimationCV;MeanBiomassDensity;EstimationVariance;EstimationCV;TotalEstimationVariance;TotalNASCWeightedEstimationVariance;ProportionOfTotalEstimationVariance;ProportionOfNASCWeightedTotalEstimationVariance;Biomass;NASCWeightedBiomass;dataQuality - PELGAS2011;6;CLUP-HAR;0;D2";NA;8963.28501789053;0.127534943481966;19.0945142790179;0.127534943481966;448;1;2.43521779939014;NA;NA;2.43521779939014;NA;NA;0;0;NA;NA;14380.2052341515;14380.2052341515;1 - - -Map -=== - -Map -~~~ - -Colonnes requises ------------------ - -:: - - voyage;name;baracoudaCode;sizeCategory;ageCategory;gridCellLongitude;gridCellLatitude;gridCellDepth;gridLongitudeLag;gridLatitudeLag;gridDepthLag;KrigedXe;dataQuality - -Format des colonnes -------------------- - -- voyage FK(Voyage#name) -- name -- baracoudaCode FK(Species#baracoudaCode) -- sizeCategory FK(SizeCategory#name) -- ageCategory FK(AgeCategory#name) -- dataQuality FK(DataQuality#qualityDataFlagValues) -- gridCellLongitude (float) -- gridCellLatitude (float) -- gridCellDepth (float) -- gridLongitudeLag (float) -- gridLatitudeLag (float) -- gridDepthLag (float) -- méta-données FK(DataMetadata#name) (une colonne par méta à importer) - -Exemple -------- - -:: - - voyage;name;baracoudaCode;sizeCategory;ageCategory;gridCellLongitude;gridCellLatitude;gridCellDepth;gridLongitudeLag;gridLatitudeLag;gridDepthLag;KrigedXe;dataQuality - PELGAS2011;-6 43.5 0;ENGR-ENC";0;;-6;43.5;0;0.25;0.25;0;0;1 Modified: trunk/src/site/en/rst/install.rst =================================================================== --- trunk/src/site/en/rst/install.rst 2012-10-29 08:18:41 UTC (rev 751) +++ trunk/src/site/en/rst/install.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -36,7 +36,7 @@ Installation d'EchoBase sur un serveur -------------------------------------- -*TODO Translate this in english* +*TODO Translate me* Nous préconisons toujours d'utiliser les valeurs par défaut fournies pour une meilleur réactivité si un problème d'installation survient. Modified: trunk/src/site/en/rst/model.rst =================================================================== --- trunk/src/site/en/rst/model.rst 2012-10-29 08:18:41 UTC (rev 751) +++ trunk/src/site/en/rst/model.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -36,7 +36,8 @@ Présentation ------------ -*TODO Translate this in english* +*TODO Translate me* + On donne ici des explications sur le modèle. Le modèle conçu sous argoUML est téléchargeable `ici`_ . Copied: trunk/src/site/en/rst/modifyData.rst (from rev 749, trunk/src/site/rst/modifyData.rst) =================================================================== --- trunk/src/site/en/rst/modifyData.rst (rev 0) +++ trunk/src/site/en/rst/modifyData.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -0,0 +1,34 @@ +.. - +.. * #%L +.. * EchoBase +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Affero General Public License as published by +.. * the Free Software Foundation, either version 3 of the License, or +.. * (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Public License for more details. +.. * +.. * You should have received a copy of the GNU Affero General Public License +.. * along with this program. If not, see <http://www.gnu.org/licenses/>. +.. * #L% +.. - + +==================== +Modifier des données +==================== + +Abstract +======== + +Ce document explique comment modifier les données depuis EchoBase. + +TODO Copied: trunk/src/site/en/rst/removeData.rst (from rev 749, trunk/src/site/rst/removeData.rst) =================================================================== --- trunk/src/site/en/rst/removeData.rst (rev 0) +++ trunk/src/site/en/rst/removeData.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -0,0 +1,231 @@ +.. - +.. * #%L +.. * EchoBase +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Affero General Public License as published by +.. * the Free Software Foundation, either version 3 of the License, or +.. * (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Public License for more details. +.. * +.. * You should have received a copy of the GNU Affero General Public License +.. * along with this program. If not, see <http://www.gnu.org/licenses/>. +.. * #L% +.. - + +======================= +Suppression des imports +======================= + +Abstract +-------- + +Ce document décrit ce qui se passe lors de la suppression d'un import. + +*TODO Translate me* + +Import Voyage complêt +--------------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Le voyage en question et tout ce qui y est rattaché (Transit,...) et aussi : + +- category (utilise EchoType) +- echotype + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Seront supprimés de la table des imports les imports suivants qui aurait pu +être effectué suite à cet import, à savoir : + +- import Transect +- import Operation +- import Catches +- import Acoustic +- import Résultats Voyage +- import Résultats Esdu +- import Region +- import Map + + +Import Voyage / Transit / Transect +---------------------------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Le voyage en question et tout ce qui y est rattaché (Transit,...) et aussi : + +- category (utilise EchoType) +- echotype + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Seront supprimés de la table des imports les imports suivants qui aurait pu +être effectué suite à cet import, à savoir : + +- import Transect +- import Operation +- import Catches +- import Acoustic +- import Résultats Voyage +- import Résultats Esdu +- import Region +- import Map + +Import Transect +--------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Le transect en question et tout ce qui y est rattaché, ainsi que les *postCell* +et leur résultats. + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Seront supprimés de la table des imports les imports suivants qui aurait pu +être effectué suite à cet import, à savoir : + +- import Operation (*) +- import Catches (*) +- import Acoustic (*) +- import Résultats Esdu (**) +- import Region (**) +- import Map (**) + +(*) tous ceux sur la branche du transect +(**) tous ceux du voyage + +Import Operation +---------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Les opérations de pêche et tout ce qui y est rattaché (OperationMetadata et +GearMetadata et Sample). + +Imports à retirer +~~~~~~~~~~~~~~~~~~~ + +Seront supprimés de la table des imports les imports suivants qui aurait pu +être effectué suite à cet import, à savoir : + +- import Catches (*) + +(*) tous ceux sur la branche des opérations + +Import Catches +-------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Les échantillons captures (Sample) en question et tout ce qui y est rattaché +(SampleData). + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Aucun sous import possible à retirer. + +Import Acoustic +--------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Les données acoustiques et tout ce qui y est rattaché (DataAcquisition, Cell, Result), +ainsi que les *postCell* et leur résultats. + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Seront supprimés de la table des imports les imports suivants qui aurait pu +être effectué sur ce voyage, à savoir : + +- import Résultats Esdu (*) +- import Region (*) +- import Map (*) + +(*) tous ceux du voyage + +Import Résultats voyage +----------------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Les données rattachés à un voyage après-coup, à savoir : + +- echotype +- lengthageKey +- lengthWeightKey + +Mais aussi tous les résultats (car il peuvent dépendre des données précédentes). + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Seront supprimés de la table des imports les imports suivants qui aurait pu +être effectué suite à cet import, à savoir : + +- import Résultats Esdu (*) +- import Region (*) +- import Map (*) + +(*) tous ceux du voyage + +Immort Résultats Esdu +--------------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Les résultats attachés aux cellules de type *ESDU*. + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Aucun sous import possible à retirer. + +Import Region +------------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Les postCells de type *Region* et tout ce qui y est rattaché (Result) + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Aucun sous import possible à retirer. + +Import Map +---------- + +Données à supprimer +~~~~~~~~~~~~~~~~~~~ + +Les postCells de type *Map* et tout ce qui y est rattaché (Result) + +Imports à retirer +~~~~~~~~~~~~~~~~~ + +Aucun sous import possible à retirer. \ No newline at end of file Copied: trunk/src/site/en/rst/usage.rst (from rev 749, trunk/src/site/rst/usage.rst) =================================================================== --- trunk/src/site/en/rst/usage.rst (rev 0) +++ trunk/src/site/en/rst/usage.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -0,0 +1,167 @@ +.. - +.. * #%L +.. * EchoBase +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2011 - 2012 Ifremer, Codelutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Affero General Public License as published by +.. * the Free Software Foundation, either version 3 of the License, or +.. * (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Public License for more details. +.. * +.. * You should have received a copy of the GNU Affero General Public License +.. * along with this program. If not, see <http://www.gnu.org/licenses/>. +.. * #L% +.. - + +==================== +Première utilisation +==================== + +Comment utiliser EchoBase +------------------------- + +*TODO Translate me* + +L'application est fournit sous deux modes: + +- une version en *mode portable* qui ne nécessite pas de serveur +- une version en *mode serveur* qui nécessite l'installation d'*EchoBase* dans + un serveur web de type *tomcat* ou *jetty*. + +Utiliser la version mode portable +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +En mode portable, pas besoin de serveur, il faut juste avoir java d'installer +sur la machine. + +Pré-requis pour utilisation sous Windows +________________________________________ + +Installer un environnement d'exécution java. + +`Page de téléchargement Oracle`_ + +Pré-requis pour utilisation sous Linux +______________________________________ + +Installer un environnement d'execution java . + +`Page de téléchargement Oracle`_ + +Procédure d'installation +________________________ + +Une fois les pré-requis remplis, c'est très simple : + +- Récupérer l'archive zip `echobase-${project.version}-embedded.zip`_. + +- Décompresser l'archive, vous obtenez une arborescence de ce type: + +:: + + echobase-ui-1.1-embedded + ├── echobase.properties (1) Fichier de configuration de l'application embarquée + ├── echobase-ui-${project.version}-embedded.war + ├── LICENSE.txt + ├── README.txt + ├── startEchobase.bat (2) Script de démarrage (windows) + ├── startEchobase.sh (3) Script de démarrage (linux) + └── THIRD-PARTY.txt + +- Lancer le script *startEchobase.sh* (linux) ou *startEchobase.bat* (windows). + +L'application va démarrer et est accessible à l'adresse suivante: + +:: + + http://localhost:8888 + +Procédure détaillée (sous windows) +__________________________________ + +- Dézipper l'archive précédemment téléchargée du site central. + +- Ouvrir une console (Touche Windows + R , taper *cmd* , Touche Entrée) +- Se placer dans le répertoire où a été dézippée l'archive + +:: + + cd Chemin vers l'archive dézippée + +- Enfin lancer le script + +:: + + startEchobase.bat + +- Dans la console on doit voir l'application démarré et produire des logs +- Lorsque l'application est prête, un navigateur s'ouvre sur la page + de login. + +Procédure détaillée (sous linux) +________________________________ + +- Dézipper l'archive précédemment téléchargée du site central. +- Ouvrir une console +- Se placer dans le répertoire où a été dézippée l'archive + +:: + + cd Chemin vers l'archive dézippée + +- Rendre le script de démarrage exécutable + +:: + + chmod +x startEchobase.sh + +- Enfin lancer le script + +:: + + ./startEchobase.sh + +- Dans la console on doit voir l'application démarré et produire des logs +- Lorsque l'application est prête, un navigateur s'ouvre sur la page + de login. + +Utilisateurs +____________ + +Par défaut, deux utilisateurs sont fournis dans la base embarquée : + +- admin / admin (avec des droits d'administration) +- user / user (pour la consultation) + +Configuration base de travail +_____________________________ + +Une configuration de base de travail est aussi crée automatiquement vers une +base de type *H2* stoquée dans le répertoire *db* avec les identifiants suivants : + +- login: *sa* +- mot de passe: *sa* + +Utiliser la version mode serveur +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Il faut que l'application est au préalable installée sur un serveur web. + +Demandez à votre administrateur l'url de connexion, et les identifiants. + +Si vous voulez installer EchoBase sur un serveur, veuillez consulter la +`page installation`_. + +.. _echobase-${project.version}-embedded.zip: http://forge.codelutin.com/projects/echobase/files +.. _page installation: ./install.html +.. _Page de téléchargement Oracle: http://www.oracle.com/technetwork/java/javase/downloads/index.html + + Modified: trunk/src/site/rst/exportData.rst =================================================================== --- trunk/src/site/rst/exportData.rst 2012-10-29 08:18:41 UTC (rev 751) +++ trunk/src/site/rst/exportData.rst 2012-10-29 09:10:53 UTC (rev 752) @@ -31,4 +31,28 @@ Ce document explique comment exporter les données depuis EchoBase. -TODO +Création de requêtes +-------------------- + +Il est possible d'exporter les données via des requêtes sql. Pour ce faire aller +sur le menu **exporter les données*. + +On peut ensuite créer (en enregistrer) des requêtes sql. Le résultat s'affiche +alors dans un tableau qui est exportable au format csv. + +A noter aussi qu'il est possible d'utiliser des requêtes imbriquées en insérant +dans le code sql une référence au nom de la requête. + +Voici un exemple : + +:: + SELECT * FROM Voyage where topiaid IN ${NomRequête} + +Import de requête depuis Libre Office +------------------------------------- + +Il est possible d'importer une requête construite depuis Libre Office. +Pour ce faire il faut utiliser l'action Importer depuis Libre Office et y coller +le code SQL généré dans Libre Office. + +Le code SQL sera processé et mis à jour dans votre requête SQL EchoBase. \ No newline at end of file Modified: trunk/src/site/site_en.xml =================================================================== --- trunk/src/site/site_en.xml 2012-10-29 08:18:41 UTC (rev 751) +++ trunk/src/site/site_en.xml 2012-10-29 09:10:53 UTC (rev 752) @@ -99,15 +99,30 @@ <item name="English Version" href="./index.html"/> </menu> + <menu name="Administration"> + <item name="Download" + href="http://forge.codelutin.com/projects/echobase/files"/> + <item name="Install" href="install.html"/> + </menu> + <menu name="User"> <item name="Home" href="index.html"/> - <item name="Installation" href="install.html"/> + <item name="First steps with EchoBase" href="usage.html"/> + <item name="Working dbs" href="db.html"/> + + <item name="Manage db" href="#"> + <item name="Import a db" href="importDb.html"/> + <item name="Export a db" href="exportDb.html"/> + </item> + + <item name="Manage datas" href="#"> + <item name="Import data" href="importData.html"/> + <item name="Modify data" href="modifyData.html"/> + <item name="Export data" href="exportData.html"/> + <item name="Delete data" href="removeData.html"/> + </item> + <item name="Portable Application" href="embedded.html"/> - <item name="Imports" href="imports.html"/> - <item name="Import/Export with EchoBase format" href="importDb.html"/> - <item name="Remove imports" href="removeimports.html"/> - <item name="Download" - href="http://forge.codelutin.com/projects/echobase/files"/> </menu> <menu name="Dev">