How to prepare step by step the XML files for the import of data in the GhoSST database
From GhoSST
Revision as of 16:09, 21 April 2014 by Bernard.schmitt@obs.ujf-grenoble.fr (Talk | contribs)
Contents |
Preliminary checks and imports of “fundamental data”
Note: Import only by SSHADE database structure manager Note: follow the order
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)
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)
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)
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)
Data imports
Note: Import only by data providers (local database manager)
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)
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)
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)