Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The HLI API can be divided in into 2 sets of operations: 

  • operations applying on a Data Entry 
  • operations applying on an IDS
Info
A Data Entry is an IMAS concept for designating a collection of IDSs present in a local (pulse file) or remote data source. A data entry Data Entry is associated to a shot and a run number.

...

  • consists in creating a new (MDS+) pulse file on the disk
  • requires to have an existing 'database' (e.g corresponding to a directory when using the MDS+ backend) which will host the new pulse file

...

Code Block
module load IMAS
imasdb data_access_tutorial

We can Let's check that the database has been successfully created:

Code Block
$ ls -alh ~/public/imasdb/data_access_tutorial/
total 2.5K
drwxrwsr-x  3 fleuryl fleuryl 4.0K Aug 31 10:09 .
drwxrwsr-x 14 fleuryl fleuryl 4.0K Aug 31 10:09 ..
drwxrwsr-x 13 fleuryl fleuryl 4.0K Sep 13 11:16 3

Some sub-directories have been created, they are used by MDS+ to organize the pulse files.

Now, the following code will create a new MDS+ pulse file for shot=15000, run=1 in the 'data_access_tutorial' database of the current user:

...