Feature/add separatrix and magnetic axes in plotequilibrium#20
Conversation
|
This doesn't look correct. In this configuration the separatrix should connect to the lower X-point which it doesn't. Can we also plot the two X-points in this figure? |
|
The sepratrix plotted from the boundary.r/z is not real separatrix, it is rather last closed flux surface. Therefore it would be useful to check if boundary_separatrix.r/z and boundary_second_separatrix.r/z are available and try to plot all three of them. The boundary_separatrix and boundary_second_separatrix can contain x_point.r/z, for more specific indication of x-points. These would be good to be plotted when they are available in the IDSs. |
|
I suggest then to just rename 'speratrix' into 'LCFS' such that everyone is happy. Ideally it would be good to also display the separatrix but my guess is that the data is simply not filled in the IDS. |
|
It's not the last closed flux surface, that would be the separatrix. It might be the last closed flux surface according to some discretisation of flux values, but that seems a bit arbitrary. |
|
We should decide what we want here:
|
Thank you.. I could not find any IMAS entry with |
|
Thanks for the comments @SimonPinches
|
|
…added --no-overlay option. default it will show overlays. added provennace as title
…in_plotequilibrium
We shall keep implementation of strike points from DD3.. Once we have addition of fields for strike points in DD4 we will add implementation for the same.. |
paulotex
left a comment
There was a problem hiding this comment.
LGTM. I tried on 2 data entries from efitpp (predictMagnetics + efitpp, from scenarios 105027/2 and 135011/7).
|
Last round of comments:
idsprint -u imas:mdsplus?path=/work/imas/shared/imasdb/TEST/3/134173/2326#equilibrium/time_slice[0]/profiles_2d[0]/phi
09:53:03 INFO Parsing data dictionary version 3.40.0 @dd_zip.py:89
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ <class 'imas.ids_primitive.IDSNumericArray'> │
│ └── numpy.ndarray|(101, 101)|float64: <IDSNumericArray (IDS:equilibrium, time_slice[0]/profiles_2d[0]/phi, FLT_2D)> │
│ numpy.ndarray([[-69.5883, -69.5883, -69.5883, ..., -69.5883, -69.5883, -69.5883], │
│ [-69.5883, -69.5883, -69.5883, ..., -69.5883, -69.5883, -69.5883], │
│ [-69.5883, -69.5883, -69.5883, ..., -69.5883, -69.5883, -69.5883], │
│ ..., │
│ [-69.5883, -69.5883, -69.5883, ..., -69.5883, -69.5883, -69.5883], │
│ [-69.5883, -69.5883, -69.5883, ..., -69.5883, -69.5883, -69.5883], │
│ [-69.5883, -69.5883, -69.5883, ..., -69.5883, -69.5883, -69.5883]]) |
Ok fair enough, but if we plot |




plotequilibrium -u imas:hdf5?path=/work/imas/shared/imasdb/ITER/3/135014/1