Versions Compared

Key

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

...

Code Block
module purge
module load imasenv
cd /pfs/work/g2dfigat/archiving_scripts/R3-imas
source environment

2. check that you have the development database selected:

...

This should give:

Code Block
IMASPUBLICDBDEVHOMEIMASPUBLICDBHOME=/pfs/work/imasdb_dev
IMASPUBLICDBDEVMETADATA=/pfs/work/imasdb_dev/meta
IMASPUBLICDBHOMEg2dfigat/archiving_scripts/imasdb/public
IMASPUBLICDBMETADATA=/pfs/work/g2dfigat/imasdb_dev
IMASPUBLICDBMETADATA=/pfs/work/imasdb_devarchiving_scripts/imasdb/meta


Note

IMPORTANT: If you don't check this, you risk overwriting the real public database!


3. run tool:

Code Block
bin/createpublicdb_imas --help

...

4. use tool to create entries in the public database

Code Block
createpublicdb_imas -n <USER> <TOKAMAK> <DATAVERSION> <SHOT> <RUN> description.txt


Tip

In case of error: 
ERROR - Public database not set up for tokamak west and data version 3
ERROR - You have to run
create_public_imas_dir <TOKAMAK> <DATAVERSION>


Please run:
./create_public_imas_dir <TOKAMAK> <DATAVERSION>


5. check that the public database is populated correctly:

Code Block
imasdbs -u public

Please 6. please report any problems you find to the above tracker item.