How to prepare step by step the XML files for the import of data in the GhoSST database
From GhoSST
(Difference between revisions)
(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 | + | Note: Import only by SSHADE database structure manager |
+ | Note: follow the order | ||
=== Species === | === Species === | ||
− | * Check if | + | * 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 | + | * If not, prepare it/them in the corresponding XML files : |
− | ** | + | ** ''template_species_xxx_commented.xml'' (with xxx = molecules, atoms, or minerals) |
− | ** or | + | ** or any specialized template or existing species XML file |
− | * Import the new species | + | * 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 | + | * Check if your “laboratory” is already in the “laboratories” database using GhoSST interface (Producer/Full Search) |
− | * If | + | * If not, prepare it in the corresponding XML file: |
− | ** | + | ** ''template_laboratory.xml'' |
− | ** or | + | ** or any specialized template or existing laboratory XML file |
− | * Import the new | + | * 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 | + | * Check if your “instrument” is already in the “instruments” database using GhoSST interface (Producer/Full Search) |
− | * If | + | * If not, prepare it/them in the corresponding XML file : |
− | ** | + | ** ''template_instrument_commented.xml'' |
− | ** or | + | ** or any specialized template or existing instrument XML file |
− | * Import the | + | * 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 | + | * Check if your “publications” are already in the “publications” database using GhoSST (or pre-SSHADE) interface (Producer/Full Search) |
− | * If | + | * If not, prepare it/them in the corresponding XML file: |
− | ** | + | ** ''template_publications_commented.xml'' |
− | ** or | + | ** or any specialized template or existing publication XML file |
− | * Import the | + | * 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) | ||
− | |||
− | + | ---- | |
− | + | ||
− | + | ||
− | + | ||
− | + | == Matters, Sample and Spectra 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 === | === Sample === | ||
− | * Check if your “sample” or any “parent sample” or “material” | + | * 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: | * Make a sample file with the corresponding XML template: | ||
− | ** | + | ** ''template_sample_commented.xml'' |
− | ** or | + | ** 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) | |
− | * Make the necessary “block copy” in the | + | * Import the new sample w. 'simulation mode' unchecked (limited to local database manager) |
− | * Import the new sample (limited to | + | * Take note of its “UID” or get it using GhoSST interface (Data/Search) |
− | * | + | |
− | + | ||
=== Experiment + instrument parameters + spectra === | === Experiment + instrument parameters + spectra === | ||
− | * Check if “parent experiment” or | + | * 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: | * Make a sample file with the corresponding XML template: | ||
− | ** | + | ** ''template_experiment_spectra_commented.xml'' |
− | ** or | + | ** or any specialized template or existing experiment_spectra XML file |
− | Note: You will need the | + | * 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 | * Zip the XML file with your spectral files | ||
− | * Import the new experiment with its spectra (limited to | + | * 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 ( | + | |
+ | * 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 17: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)