How to prepare step by step the XML files for the import of data in the GhoSST database

From GhoSST
Revision as of 10:51, 25 July 2011 by Wikiadmin (Talk)

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

Contents

Preliminary checks and imports of “fundamental data”

Note: Import only by main database manager

Species

  • Check if your “species” are already in the fundamental databases “molecules”, “mineral” or “atoms” using GhoSST interface (Data/Search)
  • If necessary add them in the corresponding XML files :
    • molecules.xml, atoms.xml, minerals.xml
    • or template_species_commented_v2.xml
  • Import the new species (limited to main database manager):
  • Note their “index” during import or get them using GhoSST interface (Data/Search)

Matters

  • Check if your “matters” are already in the corresponding “matters”, databases using GhoSST interface (Data/Search)
  • If necessary add them in the corresponding XML files :
    • meteorites.xml, natural_minerals.xml, rocks.xml, …
    • or template_matter_commented_v1.xml
  • Import the new matters (limited to main database manager):
  • Note their “index” during import or get them using GhoSST interface (Data/Search)

Publications

  • Check if your “publications” are already in the “publications” database using GhoSST interface (Data/Search)
  • If necessary add them in the corresponding XML file:
    • publications.xml
    • or template_publication_commented_v1.xml
  • Import the new publications (limited to main database manager):
  • Note their “index” during import or get them using GhoSST interface (Data/Search)

Laboratory

  • Check if your “laboratory” is already in the “laboratories” database using GhoSST interface (Data/Search)
  • If necessary add it in the corresponding XML file:
    • laboratory.xml
    • or template_laboratory_commented_v2.xml
  • Import the new laboratory (limited to main database manager):
  • Note its “index” during import or get it using GhoSST interface (Data/Search)

Instrument

  • Check if your “instrument” is already in the “instruments” database using GhoSST interface (Data/Search)
  • If necessary add it in the corresponding XML file :
    • instrument.xml
    • or template_instrument_commented_v4.xml

Note: You will need the laboratory_index

  • Import the new instrument (limited to main database manager):
  • Note its “index” during import or get it using GhoSST interface (Data/Search)


Data imports

Note: Import only by data providers

Sample

  • Check if your “sample” or any “parent sample” or “material” used are already in the database using GhoSST interface (Data/Search). Note their indexes.
  • Check if your needed vibration, bandlist and band (for spectrum_info) are already in the database using GhoSST interface (Data/Search). Note their indexes. (not yet available)
  • Make a sample file with the corresponding XML template:
    • template_sample_commented_v6.xml
    • or any specialized sample template

Note: You will possibly need the parent_sample_index, and some material_index

  • Make the necessary “block copy” in the xml if you have multiple Layers/Materials/Constituents/Species
  • Import the new sample (limited to data producers):
  • Note its “index” during import or get it using GhoSST interface (Data/Search)


Experiment + instrument parameters + spectra

  • Check if “parent experiment” or “material” used are already in the database using GhoSST interface (Data/Search). Note their indexes.
  • Check if your needed vibration, bandlist and band (for spectrum_info) are already in the database using GhoSST interface (Data/Search). Note their indexes. (not yet available)
  • Make a sample file with the corresponding XML template:
    • template_experiment_instrumpara_spectra_commented_v6.xml
    • or any specialized experiment_spectra template (e.g. template_advanced_spectra_commented_v6..xml)

Note: You will need the laboratory_index, the instrument_index , the sample_index, and possibly some constituent_index (microscope case)

  • Make the necessary “block copy” in the xml if you have multiple Spectra (and other lower levels options)
  • Zip the XML file with your spectral files
  • Import the new experiment with its spectra (limited to data producers):
  • Verify that your spectra (and sample) are in the database and that all values are correctly entered using GhoSST interface (Data/Search)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox