create_db_entry

Auto-generated yaml scenario and watcher files

Syntax create_db_entry

$ create_db_entry -h
Usage: create_db_entry [-h] [-u USER] [-d DATABASE] [-b BACKEND] [-v VERSION]
                       [-s SHOT] [-r RUN] [--disable-validation]

Auto-generated yaml scenario and watcher files (!!! STILL TO BE COMPLETED BY HAND !!!)

Important: The legacy create_db_entry tool is deprecated and will be removed in a future versions. It will remain available until simdb is fully adopted. more about simdb : https://simdb.iter.org/dashboard/

Options:
  -h, --help            show this help message and exit
  -u, --user_or_path USER
                        user (default=public)
  -d, --database DATABASE
                        database name (default=ITER)
  -b, --backend BACKEND
                        backend format (default=MDSPLUS)
  -v, --version VERSION
                        data version (default=3)
  -s, --shot SHOT       Shot number
  -r, --run RUN         Run number
  --disable-validation  disable IDS validation (deprecated)

Example create_db_entry

$ create_db_entry -p 130012 -r 105 -d TEST
----> summary IDS did not include power_loss
P_sol will be deduced from edge_transport if available
--------------------------------------------------------
The summary IDS is absent from the input data-entry
----> H&CD waveforms not filled: to be completed by hand
--------------------------------------------------------
core_profiles:
    occurence(0):
        profiles_1d[2].ion[1].pressure_fast_perpendicular[:]:
        - Must be larger than 0.0
        profiles_1d[3].ion[1].pressure_fast_perpendicular[:]:
        - Must be larger than 0.0
        profiles_1d[4].ion[1].pressure_fast_perpendicular[:]:
        - Must be larger than 0.0
        profiles_1d[5].ion[1].pressure_fast_perpendicular[:]:
        - Must be larger than 0.0
        profiles_1d[2].ion[1].pressure_fast_parallel[:]:
        - Must be larger than 0.0
        profiles_1d[3].ion[1].pressure_fast_parallel[:]:
        - Must be larger than 0.0
        profiles_1d[4].ion[1].pressure_fast_parallel[:]:
        - Must be larger than 0.0
        profiles_1d[5].ion[1].pressure_fast_parallel[:]:
        - Must be larger than 0.0

equilibrium:
    occurence(0): {}

24/04/22 14:14:25 ERROR: IDS validation failed. Use '--disable-validation' for generating yaml and watcher files anyway
$ create_db_entry -p 130012 -r 105 -d TEST --disable-validation
----> summary IDS did not include power_loss
P_sol will be deduced from edge_transport if available
--------------------------------------------------------
The summary IDS is absent from the input data-entry
----> H&CD waveforms not filled: to be completed by hand
--------------------------------------------------------
----> ids_1300120105.yaml created.
----> ids_1300120105.watcher created.