Versions Compared

Key

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


Warning

Page under construction !These are just examples. The tool does not work yet.


The command is

createpublicdb

...

  1. Create a text file with name description.txt that contains a plain-text description of the database you want to save
  2. Run the tool in 'dry run mode first':

    createpublicdb -n denka <USER> jet 4.10a 81856 13 10b 12 12 description.txt

    This will output the actions that will be taken and the metadata file that will be created on stdout.
  3. Run the tool:

    createpublicdb denka jet 4.10a 81856 13 10b 12 12 description.txt
  4. Check the output with imasdbs:

    imasdbs -u public -t jet -v 4.10a10b

    This should now list the shot (in this case 8185612)


Test environment

...

The tools is meant to modify the public database, which carries the risk of corrupting important data. For testing the tool, or practicing its use, a test environment is foreseen. In this test environment a test copy of the public database is used. Below are instructions how to use the test environment.

...

env | grep PUBLICDB

This should give:

imasPUBLICDBDEVHOMEIMASPUBLICDBDEVHOME=/pfs/work/imasdb_dev
imasPUBLICDBDEVMETADATAIMASPUBLICDBDEVMETADATA=/pfs/work/imasdb_dev/meta
imasPUBLICDBHOMEIMASPUBLICDBHOME=/pfs/work/imasdb_dev
imasPUBLICDBMETADATAIMASPUBLICDBMETADATA=/pfs/work/imasdb_dev/meta

...