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

From GhoSST
(Difference between revisions)
Jump to: navigation, search
(Created page with "== Preliminary checks and imports of “fundamental data” == Note: Import only by main database manager === Species === * Check if your “species” are already in the fund...")
 
(Matters, Sample and Spectra Data imports)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== Preliminary checks and imports of “fundamental data” ==
 
== Preliminary checks and imports of “fundamental data” ==
  
Note: Import only by main database manager
+
Note: Import only by SSHADE database structure manager
 +
Note: follow the order
  
 
=== Species ===
 
=== Species ===
  
* Check if your “species” are already in the fundamental databases “molecules”, “mineral” or “atoms” using GhoSST interface (Data/Search)
+
* Check if the “species” needed for your sample are already in the fundamental databases “molecules”, “mineral” or “atoms” using GhoSST (or pre-SSHADE) interface (Menu: Producer/Full Search)
* If necessary add them in the corresponding XML files :
+
* If not, prepare it/them in the corresponding XML files :
** molecules.xml, atoms.xml, minerals.xml
+
** ''template_species_xxx_commented.xml'' (with xxx = molecules, atoms, or minerals)
** or template_species_commented_v2.xml
+
** or any specialized template or existing species XML file
* Import the new species (limited to main database manager):
+
* Test and debug the file(s) (Producer/Import simulation)
* Note their “index” during import or get them using GhoSST interface (Data/Search)
+
* Send the file(s) of the new species to SSHADE database structure manager (who will test and import them)
 +
* Take note of their “UID” or get them using GhoSST (or pre-SSHADE) interface (Data/Search)
  
=== Matters ===
+
=== Laboratory ===
  
* Check if your “matters” are already in the corresponding “matters”,  databases  using GhoSST interface (Data/Search)
+
* Check if your “laboratory” is already in the “laboratories” database using GhoSST interface (Producer/Full Search)
* If necessary add them in the corresponding XML files :
+
* If not, prepare it in the corresponding XML file:
** meteorites.xml, natural_minerals.xml, rocks.xml, …
+
** ''template_laboratory.xml''
** or template_matter_commented_v1.xml
+
** or any specialized template or existing laboratory XML file
* Import the new matters (limited to main database manager):
+
* Test and debug the file (Producer/Import simulation)
* Note their “index” during import or get them using GhoSST interface (Data/Search)
+
* Send the file of the new laboratory to SSHADE database structure manager (who will test and import it)
 +
* Take note of its “UID” or get it using GhoSST interface (Producer/Full Search)
  
=== Publications ===
+
=== Instrument ===
  
* Check if your “publications” are already in the “publications” database using GhoSST interface (Data/Search)
+
* Check if your “instrument” is already in the “instruments”  database using GhoSST interface (Producer/Full Search)
* If necessary add them in the corresponding XML file:
+
* If not, prepare it/them in the corresponding XML file :
** publications.xml
+
** ''template_instrument_commented.xml''
** or template_publication_commented_v1.xml
+
** or any specialized template or existing instrument XML file
* Import the new publications (limited to main database manager):
+
* Test and debug the file(s) (Producer/Import simulation)
* Note their “index” during import or get them using GhoSST interface (Data/Search)
+
* Send the file(s) of the new instrument to SSHADE database structure manager (who will test and import them)
 +
* Take note of their “UID” or get it using GhoSST interface (Producer/Full Search)
  
=== Laboratory ===
+
=== Publications ===
  
* Check if your “laboratory” is already in the “laboratories”  database using GhoSST interface (Data/Search)
+
* Check if your “publications” are already in the “publications” database using GhoSST (or pre-SSHADE) interface (Producer/Full Search)
* If necessary add it in the corresponding XML file:
+
* If not, prepare it/them in the corresponding XML file:
** laboratory.xml
+
** ''template_publications_commented.xml''
** or template_laboratory_commented_v2.xml
+
** or any specialized template or existing publication XML file
* Import the new laboratory (limited to main database manager):
+
* Test and debug the file(s) (Producer/Import simulation)
* Note its “index” during import or get it using GhoSST interface (Data/Search)
+
* Send the file(s) of the new publication to SSHADE database structure manager (who will test and import them)
 +
* Take note of their “UID” or get them using GhoSST interface (Producer/Full 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
+
== Matters, Sample and Spectra Data imports ==
  
* Import the new instrument (limited to main database manager):
+
Note: Import only by data providers (local database manager)
* Note its “index” during import or get it using GhoSST interface (Data/Search)
+
  
 +
=== Matters ===
  
== Data imports ==
+
* Check if your “matters” needed for your sample are already in the corresponding “matters” database using GhoSST (or pre-SSHADE) interface (Producer/Full Search)
 
+
* If not, prepare it/them in the corresponding XML files :
Note: Import only by data providers
+
** ''template_matter_xxx_commented.xml'' (with xxx = fluids, minerals, meteorites, or carbonaceous)
 +
** or any specialized template or existing matter XML file
 +
* Test and debug the file(s) (Producer/Import/Matters w. 'simulation mode' checked)
 +
* Import the new matter(s) w. 'simulation mode' unchecked (limited to local database manager)
 +
* Take note of their “UID” or get them using GhoSST (or pre-SSHADE) interface (Data/Search)
  
 
=== Sample ===
 
=== 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 “sample” or any “parent sample” or “material” needed for your sample are already in the database using GhoSST (or pre-SSHADE) interface (Producer/Full Search). Take note of their “UID”.
* 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:
 
* Make a sample file with the corresponding XML template:
** template_sample_commented_v6.xml
+
** ''template_sample_commented.xml''
** or any specialized sample template
+
** or any specialized template or existing sample XML file
Note: You will possibly need the parent_sample_index, and  some material_index
+
* Make the necessary “block copy” in the XML file if you have multiple Layers/Materials/Constituents/Species, ...
 
+
* Test and debug the file(s) (Producer/Import/Sample w. 'simulation mode' checked)
* Make the necessary “block copy” in the xml if you have multiple Layers/Materials/Constituents/Species
+
* Import the new sample w. 'simulation mode' unchecked (limited to local database manager)
* Import the new sample (limited to data producers):
+
* Take note of its “UID” or get it using GhoSST interface (Data/Search)
* Note its “index” during import or get it using GhoSST interface (Data/Search)
+
 
+
  
 
=== Experiment + instrument parameters + spectra ===
 
=== 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 any “parent experiment”, “parent_spectrum”, or "bandlist" needed for your experiment-spectra are already in the database using GhoSST interface (Producer/Full Search). Take note of their “UID”.
* 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:
 
* Make a sample file with the corresponding XML template:
** template_experiment_instrumpara_spectra_commented_v6.xml  
+
** ''template_experiment_spectra_commented.xml''
** or any specialized experiment_spectra template (e.g. template_advanced_spectra_commented_v6..xml)
+
** or any specialized template or existing experiment_spectra XML file
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 file if you have multiple Spectra (and other lower levels options)
 
+
* Test and debug the file(s) (Producer/Import/Matters w. 'simulation mode' checked)
* Make the necessary “block copy” in the xml if you have multiple Spectra (and other lower levels options)
+
* Import the new sample w. 'simulation mode' unchecked (limited to local database manager)
 +
* Take note of its “UID” or get it using GhoSST interface (Data/Search)
 +
Note: You will need the laboratory_UID, instrument_UID, sample_UID, and possibly some publication_UID and constituent_UID (microscope case)
 +
* Test and debug the file(s) (Producer/Import/Experiment & Spectra w. 'simulation mode' checked)
 
* Zip the XML file with your spectral files
 
* Zip the XML file with your spectral files
* Import the new experiment with its spectra (limited to data producers):
+
* Import the new experiment with its spectra (limited to local database manager)
* Verify that your spectra (and sample) are in the database and that all values are correctly entered using GhoSST interface (Data/Search)
+
 
 +
* Verify that your spectra (and sample) are in the database and that all values are correctly entered using GhoSST (or pre-SSHADE) interface (Producer/Full Search)

Latest revision as of 16:05, 21 April 2014

Contents

[edit] Preliminary checks and imports of “fundamental data”

Note: Import only by SSHADE database structure manager Note: follow the order

[edit] Species

  • Check if the “species” needed for your sample are already in the fundamental databases “molecules”, “mineral” or “atoms” using GhoSST (or pre-SSHADE) interface (Menu: Producer/Full Search)
  • If not, prepare it/them in the corresponding XML files :
    • template_species_xxx_commented.xml (with xxx = molecules, atoms, or minerals)
    • or any specialized template or existing species XML file
  • Test and debug the file(s) (Producer/Import simulation)
  • Send the file(s) of the new species to SSHADE database structure manager (who will test and import them)
  • Take note of their “UID” or get them using GhoSST (or pre-SSHADE) interface (Data/Search)

[edit] Laboratory

  • Check if your “laboratory” is already in the “laboratories” database using GhoSST interface (Producer/Full Search)
  • If not, prepare it in the corresponding XML file:
    • template_laboratory.xml
    • or any specialized template or existing laboratory XML file
  • Test and debug the file (Producer/Import simulation)
  • Send the file of the new laboratory to SSHADE database structure manager (who will test and import it)
  • Take note of its “UID” or get it using GhoSST interface (Producer/Full Search)

[edit] Instrument

  • Check if your “instrument” is already in the “instruments” database using GhoSST interface (Producer/Full Search)
  • If not, prepare it/them in the corresponding XML file :
    • template_instrument_commented.xml
    • or any specialized template or existing instrument XML file
  • Test and debug the file(s) (Producer/Import simulation)
  • Send the file(s) of the new instrument to SSHADE database structure manager (who will test and import them)
  • Take note of their “UID” or get it using GhoSST interface (Producer/Full Search)

[edit] Publications

  • Check if your “publications” are already in the “publications” database using GhoSST (or pre-SSHADE) interface (Producer/Full Search)
  • If not, prepare it/them in the corresponding XML file:
    • template_publications_commented.xml
    • or any specialized template or existing publication XML file
  • Test and debug the file(s) (Producer/Import simulation)
  • Send the file(s) of the new publication to SSHADE database structure manager (who will test and import them)
  • Take note of their “UID” or get them using GhoSST interface (Producer/Full Search)



[edit] Matters, Sample and Spectra Data imports

Note: Import only by data providers (local database manager)

[edit] Matters

  • Check if your “matters” needed for your sample are already in the corresponding “matters” database using GhoSST (or pre-SSHADE) interface (Producer/Full Search)
  • If not, prepare it/them in the corresponding XML files :
    • template_matter_xxx_commented.xml (with xxx = fluids, minerals, meteorites, or carbonaceous)
    • or any specialized template or existing matter XML file
  • Test and debug the file(s) (Producer/Import/Matters w. 'simulation mode' checked)
  • Import the new matter(s) w. 'simulation mode' unchecked (limited to local database manager)
  • Take note of their “UID” or get them using GhoSST (or pre-SSHADE) interface (Data/Search)

[edit] Sample

  • Check if your “sample” or any “parent sample” or “material” needed for your sample are already in the database using GhoSST (or pre-SSHADE) interface (Producer/Full Search). Take note of their “UID”.
  • Make a sample file with the corresponding XML template:
    • template_sample_commented.xml
    • or any specialized template or existing sample XML file
  • Make the necessary “block copy” in the XML file if you have multiple Layers/Materials/Constituents/Species, ...
  • Test and debug the file(s) (Producer/Import/Sample w. 'simulation mode' checked)
  • Import the new sample w. 'simulation mode' unchecked (limited to local database manager)
  • Take note of its “UID” or get it using GhoSST interface (Data/Search)

[edit] Experiment + instrument parameters + spectra

  • Check if any “parent experiment”, “parent_spectrum”, or "bandlist" needed for your experiment-spectra are already in the database using GhoSST interface (Producer/Full Search). Take note of their “UID”.
  • Make a sample file with the corresponding XML template:
    • template_experiment_spectra_commented.xml
    • or any specialized template or existing experiment_spectra XML file
  • Make the necessary “block copy” in the XML file if you have multiple Spectra (and other lower levels options)
  • Test and debug the file(s) (Producer/Import/Matters w. 'simulation mode' checked)
  • Import the new sample w. 'simulation mode' unchecked (limited to local database manager)
  • Take note of its “UID” or get it using GhoSST interface (Data/Search)

Note: You will need the laboratory_UID, instrument_UID, sample_UID, and possibly some publication_UID and constituent_UID (microscope case)

  • Test and debug the file(s) (Producer/Import/Experiment & Spectra w. 'simulation mode' checked)
  • Zip the XML file with your spectral files
  • Import the new experiment with its spectra (limited to local database manager)
  • Verify that your spectra (and sample) are in the database and that all values are correctly entered using GhoSST (or pre-SSHADE) interface (Producer/Full Search)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox