How to import data with XML files

From GhoSST
Revision as of 09:58, 25 July 2011 by Wikiadmin (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Follow the order described above for the imports.

For the “Fundamental data”

Fill the template and send to the database manager who will verify the file and import it (Data/import).

For the “Data” (sample, experiment and spectra)

  • Use the GhoSST interface:
    • Data/import/ and choose either:
      • “sample”
      • “experiment and spectra”
    • Or go directly to:
      • Data/import/Sample
      • Data/import/Spectrum
  • Select the corresponding file
  • Parse/import the metadata (+ spectral data for “spectra”)
  • Debug your XML file from the “bug” information provided
  • The parser check many types of problems:
    • Correctness of data format
    • Correctness of data syntax (key-word names, unexpected key-words, …)
    • If the mandatory key-words are filled
    • If values are within the accepted set of ‘enumerations’ elements
    • If references (index, molecules, …) to data effectively exist in the database
      • In some cases it can propose you to choose one of the values existing in the database
    • If there are missing spectra files
    • ...
  • When import is successful it will let you know!
  • Always verify that your data are in the database (and that all values are correct) using GhoSST interface (Data/Search)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox