printcoresources¶
printcoresources script shows source information from available sources. It gives information about Mass of atom, Nuclear charge and Ion charge along with particles and energy flux of ions. It uses core_sources ids
Syntax printcoresources¶
$ printcoresources -h Usage: printcoresources [-h] -u URI [--dd-update] [-m {CLOSEST,PREVIOUS,LINEAR}] [-o OCCURRENCE] [-t TIME] View information about sources Options: -h, --help show this help message and exit -u, --uri URI URI of the dataentry (e.g, imas:hdf5?path=./testdb or ./testpulse.nc) --dd-update Convert IDS to the default version of the data dictionary if enabledotherwise, use the original IDS stored on disk. -m, --slicingmethod {CLOSEST,PREVIOUS,LINEAR} Slicing method (default=CLOSEST) -o, --occurrence OCCURRENCE occurrence -t, --time TIME Time
Example printcoresources¶
$ printcoresources --uri "imas:mdsplus?user=public;pulse=134174;run=117;database=ITER;version=3" Showing details for sdcc-login04.iter.org:imas:mdsplus?user=public;pulse=134174;run=117;database=ITER;version=3 #time:10.60) ┌───────────────────────────┬───────────────┬────────────────────────┬───────────────┬────────┐ │ total │ particles(--) │ energy (2.499896e+06) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ 6.564372e+21 │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ 6.564375e+21 │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ 0.000000e+00 │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ auxiliary │ particles(--) │ energy (1.000030e+03) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ nbi │ particles(--) │ energy (0.000000e+00) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ 0.000000e+00 │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ 0.000000e+00 │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ 0.000000e+00 │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ ec │ particles(--) │ energy (1.000030e+03) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ lh │ particles(--) │ energy (0.000000e+00) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ ic │ particles(--) │ energy (0.000000e+00) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ fusion │ particles(--) │ energy (5.340175e-01) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -1.012115e+12 │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -9.713402e+11 │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ 0.000000e+00 │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ ohmic │ particles(--) │ energy (2.553747e+06) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ bootstrap_current │ particles(--) │ energy(--) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ radiation │ particles(--) │ energy (-2.312020e+04) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ synchrotron_radiation │ particles(--) │ energy (-3.646184e+02) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ collisional_equipartition │ particles(--) │ energy (-1.259825e+06) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ cold_neutrals │ particles(--) │ energy (-3.173155e+04) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ 6.564372e+21 │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ 6.564375e+21 │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ 0.000000e+00 │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ charge_exchange │ particles(--) │ energy(--) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ -- │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ -- │ -- │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ pellet │ particles(--) │ energy(--) │ │ │ ├───────────────────────────┼───────────────┼────────────────────────┼───────────────┼────────┤ │ a │ z_n │ z_ion │ particles │ energy │ │ 2.0 │ 1.0 │ -9e+40 │ 0.000000e+00 │ -- │ │ 3.0 │ 1.0 │ -9e+40 │ 0.000000e+00 │ -- │ │ 9.0 │ 4.0 │ -9e+40 │ 0.000000e+00 │ -- │ └───────────────────────────┴───────────────┴────────────────────────┴───────────────┴────────┘