Discrepancy in equilibrium ids from liuqe and from eqdsk
I was generated the equilibrium ids from liuqe data (tcv2ids
function, standard call, only asking for equilibrium
and core_profiles
ids).
In such case, reading the ids yelds a negative q profile. This feels weird... should IMAS convention be COCOS=11 (thus q>0)? In the matlab structure out of tcv2ids
q is positive. In the database, it is negative.
If I try to generate the equilibrium using an eqdsk
in the ids I get a positive q profile.
I am confident about the cocos of the eqdsk
: I generate it with cocos_out=2
, and find_cocos
tells me it is either 1
or 2
. I anyway tried converting from the eqdsk
telling it was cocos=1
but I get the same result (looking only at q).
Have you ever encountered similar issues?