Presentation is loading. Please wait.

Presentation is loading. Please wait.

OBSERVATIONS & PRÉVISIONS CÔTIÈRES www.seadatanet.org 3 rd SeaDataNet training course – Ostende – 16-19 June 2008 MIKADO tool M. Fichaut, V. Tosello, M.

Similar presentations


Presentation on theme: "OBSERVATIONS & PRÉVISIONS CÔTIÈRES www.seadatanet.org 3 rd SeaDataNet training course – Ostende – 16-19 June 2008 MIKADO tool M. Fichaut, V. Tosello, M."— Presentation transcript:

1 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 3 rd SeaDataNet training course – Ostende – June 2008 MIKADO tool M. Fichaut, V. Tosello, M. Larour

2 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 2 3 rd SeaDataNet training course – Ostende – June 2008  Overview Objectives, background and technical characteristics Mikado main features Differences between MIKADO V0 and V1 Manual input of metadata Use of the common SDN vocabularies Automatic XML generation Connection to the local database Query writing Mapping to the local database Practical work session

3 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 3 3 rd SeaDataNet training course – Ostende – June 2008  Objective  MIKADO is used to generate XML catalogue descriptions, it creates XML ISO files using SDN common vocabularies for metadata exchange of  CSR - Cruise Summary Reports  EDMED - Marine Environmental Data sets  CDI - Common Data Index  EDMERP - Marine Environmental Research Projects  [EDIOS – Permanent Ocean-observing System]  To use MIKADO you must be familiar with the XML documentation of SDN which can be downloaded from BSCW : SDN Technical Task Team ISO Application of ISO within SeaDataNet V1 XML METADATA for CSR V1 ….

4 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 4 3 rd SeaDataNet training course – Ostende – June 2008  Some background Mikado version 0 created for the SEA-SEARCH project used for SeaDataNet V0 Mikado version 1 New version of Mikado to be compliant with the SeaDataNet V1 XML schemas, and the SeaDataNet common vocabularies Completely rewritten, more user friendly

5 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 5 3 rd SeaDataNet training course – Ostende – June 2008  Technical characteristics Written in Java Language (Version >= 1.6) Available under multiple environments : Microsoft : Windows 2000, XP, VISTA APPLE Unix - Solaris Linux Use of the SeaDataNet common vocabularies web services to update lists of values of the SeaDataNet common vocabularies need network connections in order to have up to date lists of values. But Mikado works offline once the list are up-to-date

6 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 6 3 rd SeaDataNet training course – Ostende – June 2008  MIKADO main features (1) MIKADO can be used in 2 different ways One manual way, to input manually information for the catalogues and CDI in order to generate XML files. One automatic way, to generate XML descriptions automatically, from information catalogued in a relational database. Automatic way is needed for those who have many entries referenced in a relational database Only one interface for all catalogues Same look Same principles

7 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 7 3 rd SeaDataNet training course – Ostende – June 2008  MIKADO main features (2) MIKADO Java code Native Drivers MYSQL ORACLE POSTGRES SQLServer Bridge Drivers using Microsoft ODBC (ACCESS, EXCEL, SQL SERVER) DATABASE JDBC Java DataBase Connectivity EXCEL File XML files for SeaDataNet catalogues CSR EDMED EDMERP CDI [EDIOS] Manual Automati c Other Drivers Downloaded from ad hoc Websites (Copied in the dist/lib MIKADO directory)

8 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 8 3 rd SeaDataNet training course – Ostende – June 2008  Differences between V0 and V1 No need to modify configuration files with JDBC connections and SQL queries database connection and the user the queries are save as XML files EDMERP catalogue available in MIKADO Manual Input of data Input screens updated to be compliant with the new XML schemas List of values = common vocabularies Automatic generation of XML files : more interactive and user-friendly Help for JDBC connection – connection checking Help for the SQL query writing – query checking and query saving Incremental mapping with the local database

9 OBSERVATIONS & PRÉVISIONS CÔTIÈRES 9 3 rd SeaDataNet training course – Ostende – June 2008  MIKADO – Manual input

10 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO – Manual input Available for 4 catalogues : EDMED, CSR, CDI, EDMERP EDIOS will be also available in the near future Each input generates an XML file that can be sent to the central catalogues For EDMERP and CSR : EDMERP CMS and CSR online can also be used, but MIKADO is useful if you have problems with the NETWORK connection if you want to keep locally an XML description of your catalogues For EDMED and CDI, there is no online input tools.

11 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO and vocabulary lists List code List Name List code List Name C16SeaDataNet Sea AreasL061SeaDataNet Platform Classes C77ICES ROSCOP data typesL081SeaDataNet Data Access Restriction Policies C174SeaDataNet CSR ship metadataL101SeaDataNet geographic co-ordinate reference frames C320ISO countriesL111Height and Depth Vertical Co-ordinate Reference Datum C371Ten-degree Marsden SquaresL181ROSCOP sample quantification units C381Ports GazetteerL231SeaDataNet metadata entities L05SeaDataNet device categoriesL241SeaDataNet data transport formats L021SeaDataNet Geospatial Feature TypesP021BODC Parameter Discovery Vocabulary L031SeaDataNet Measurement Periodicity ClassesP081SeaDataNet Parameter Disciplines EDMERPEuropean marine projectsEDMOEuropean marine organisation

12 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO and vocabulary lists Automatic check of the version of the vocabulary lists : once when MIKADO starts MIKADO downloads locally the latest version of each list Possible to enable-disable the automatic check and download of the lists and to work offline

13 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO manual – vocabulary lists (1) Common vocabulary BODC, list C320 (Country ISO codes)

14 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO manual – vocabulary lists (2)

15 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO – Automatic XML generation

16 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic - connexion Help for the connexion to the database Pre-filled information for some databases Check the connexion

17 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic – connexion OK

18 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO – automatic – connexion KO

19 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008 Expendable tree Main query Return the ID Single queries Return 1 row Multiple queries Return 1 to n rows  MIKADO automatic – queries

20 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008 Write the queries SQL syntax (for Oracle, Excel, MySQL, …) and SQL variables must be adapted to your own data base Check the Queries Green OK Red KO : read the error message  MIKADO automatic – queries

21 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic – single queries All the XML variables are listed in the expendable tree In bold : mandatory fields 1 to n single subquery can be written In green : fields already fulfilled Add or to detele variables in a query Check the query

22 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic – multiple queries All the XML variables are listed in the expendable tree Number of queries is pre-defined The list of variables for each of these multiple queries is also pre- defined In bold : mandatory field In green : fields already fulfilled

23 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic – multiple queries In a group of variables (same XML block, same pre-defined set of variable in a query), the non mandatory variables can be left to null

24 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic - Save the queries When all the queries are written They can be saved in an XML file to be re-used later on

25 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic - generate the XML files 1.Select the catalogue you want to generate 2.Open the corresponding queries 3.Choose the output directory 4.Export the XML files Progress bar Cancel allowed

26 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008 While generating the XML files for all the catalogues Each time that MIKADO does not recognized a value (entrykey or entryterm) which should come from the common vocabulary, it asks the user for mapping MIKADO manages a demand-driven continuous (incremental) extension of a local mapping : mapping of the local database to the common vocabulary Mapping tables can be modified Delete rows Modify the LOCAL value  MIKADO automatic - local mapping

27 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic - local mapping Example CSR generation Mapping of the platform type

28 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO automatic - local mapping Modification of the local mapping If wrong entries have been input, it is possible to: Delete one entry Delete all the entries Change the local code

29 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO – User manual User manual is provided : in : SDN_tools\Mikado_usermanual File : SDN_MIKADO_UserManual_v1.pdf Detailed explanations for MIKADO use, lots of snapshots

30 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  MIKADO helpdesk When using MIKADO Questions and errors must be reported to Subject of the mail should be : MIKADO question or MIKADO error

31 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  Practical work – to-morrow Manual input of one EDMED form Manual input of one Cruise Summary Report Automatic generation of CDI files One dataset of 81 XBT SIPPICAN files EXCEL or MySQL Use the XML validator to see if your files are valid Copy MIKADO material on your own computer Copy the directory SDN_TOOLS.zip file and unzip it

32 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  Practical work – requirements Make sure that the java version is > = 1.6  To know if Java is available on your computer, in the right version, follow these steps : - Open 'Start' menu, then 'Execute' - On the displayed window, enter: 'cmd', then click on 'OK' button - Enter 'java -version'  Check if command has been executed : - If not, download the last java version at - Else, check the version displayed. The version should be greater than or equal to 1.6.

33 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008  Practical work – requirements For the trainees who want to test Mikado with MySQL Those who have already MySQL on their labtops : make sure that MySQL Query Browser is also available. If not, you must install it by double clicking on the following file from the common directory SDN_tools\databases\mysql\install\Query_browser\ file : mysql-gui-tools-5.0-r12-win32.msi Those who do not have MySQL: let us know, we will install it on your notebook.

34 OBSERVATIONS & PRÉVISIONS CÔTIÈRES rd SeaDataNet training course – Ostende – June 2008 ANY QUESTIONS?


Download ppt "OBSERVATIONS & PRÉVISIONS CÔTIÈRES www.seadatanet.org 3 rd SeaDataNet training course – Ostende – 16-19 June 2008 MIKADO tool M. Fichaut, V. Tosello, M."

Similar presentations


Ads by Google