idsrescale_equilibrium¶
idsrescale_equilibrium This script imports an equilibrium IDS, rescales its magnetic field components, and then stores it to the output IDS
Syntax idsrescale_equilibrium¶
$ idsrescale_equilibrium -h Usage: idsrescale_equilibrium [-h] -s SRC -d DEST --rescale RESCALE [--dd-update] Rescaling an equilibrium magnetic field, storing the output into another entry of the same DB. replaced by ids_rescale_eq Options: -h, --help show this help message and exit -s, --src SRC source uri (e.g. imas:hdf5?path=./testdb1 or ./testpulse1.nc) -d, --dest DEST destination uri (e.g. imas:hdf5?path=./testdb2 or ./testpulse2.nc) --rescale RESCALE Rescaling factor of the equilibrium magnetic field --dd-update Convert IDS to the default version of the data dictionary if enabledotherwise, use the original IDS stored on disk.
Example idsrescale_equilibrium¶
$ idsrescale_equilibrium --src "imas:mdsplus?user=public;pulse=122525;run=1;database=ITER;version=3" --dest "imas:mdsplus?user=$USER;pulse=122222;run=22;database=ITER;version=3" --rescale 2 [10/30/24 15:54:16] INFO Rescaling equilibrium magnetic field by 2.0 idsrescale_equilibrium:77 [10/30/24 15:54:17] INFO Equilibrium IDS is rescaled successfully. idsrescale_equilibrium:88 INFO Output database details idsrescale_equilibrium:90 imas:mdsplus?user=sawantp1;pulse=122222;run=22;database=ITER;version=3