...
location | description |
---|---|
$HOME/public/itmdb/<machine_name>/<data_version>/<MDSPlus_tree_number>/ids_<shot><run>.* example: ~/public/imasdb/test/3/0/ids_120001.* | |
<machine_name> example: test | defines the equipment used for acquiring the results; "test" - is most commonly used for artificial, test data |
<data_version> example: 3 | Major Data Dictionary version |
<MDSPlus_tree_number> example: 0 | Contains all the shot and runs for given data tree |
Run Shot number | Run Shot number is represented by last four first digits in database file ids_SSSSRRRR.*; there is no limit for number of digits used |
Run Shot number | Shot Run number is represented by first last four digits in database file ids_SSSSRRRR.*; there is no limit for number of digits used |
ids_####.datafile, ids_####.tree, ids_####.characteristics | Contains data for given shot/run |
...
Parameter | Environment variable | Description |
---|---|---|
User name | $USER | Defines the name of the user who owns the data |
Tokamak name | $TOKAMAKNAME | Defines the name of the machine that was used during simulation (test - contains testing data) |
UAL database version | $DATAVERSION | Specifies UAL data version |
Run Shot number | not defined | Run Shot number is represented by last four first digits in database file ids_SSSSRRRR.*; there is no limit for number of digits used |
Run Shot number | not defined | Shot Run number is represented by first last four digits in database file ids_SSSSRRRR.*; there is no limit for number of digits used |
Info | |||
---|---|---|---|
| ITMv2
| ||
All above environment variables are set to default values whenever imasdb script is executed imasdb <machine_name> |
...
Info | ||
---|---|---|
| ||
Usage: itmdbs imasdbs [OPTIONS] [COMMAND] This program lists existing ITM databases. Possible commands are: list <shot number>- list existing databases slices <shot number> <run number> - list existing databases, including number of timeslices and time range for time-dependent IDSes times <shot number> <run number> - list existing databases, including number of timeslices their time points for time-dependent IDSes tokamak - list existing tokamaks (with data versions) dataversion - list existing dataversions (with tokamaks) If the optional arguments shot number and run number are given, only databases with these numbers will be shown. If no command is given, the list command is performed. To see databases stored in the public itm database, use 'public' as the user name. Options: -h, --help show this help message and exit -u USER, --user=USER Show databases of specified user -t TOKAMAK, --tokamak=TOKAMAK Show only databases for specified tokamaks -v VERSION, --version=VERSION Show only databases for specified data version --backend=BACKEND Show databases written with given backend(s). Comma- separated list of backends (Currently supported: mdsplus, hdf5). By default all backends are shown. -c, --compact Compact/reduced output |
Code Block |
---|
shell> itmdbsimasdbs -t test slices 14 4 Tokamak: test Data version: 4.10b UAL Backend: mdsplus Shot 14 Run: 4 equilibrium: 100 slices ( 0.0 - 99.0) |
...
Code Block |
---|
~$USERNAME/public/itmdb/itm_treesimasdb/$TOKAMAKNAME/$DATAVERSION/mdsplus/0/ids_SSSSRRRR.* |
Take a look at the example below. We will copy data from user michalo, machine test, shot: 12 and run: 2
...
Code Block |
---|
# change directory in your $HOME cd $HOME/public/itmdbimasdb/itm_trees/test/4.10b/mdsplus3/0/ # copy data files (pay attention to *_dot_* at the end of command line!) cp ~michalo/public/itmdbimasdb/itm_trees/test/4.10b/mdsplus3/0/ids_120002.* . cp ~michalo/public/itmdbimasdb/itm_trees/test/4.10b/mdsplus3/0/ids_130003.* . |