Closed hayashiw closed 2 years ago
everything seems fine. Let me know when you want to merge this. I assumed you tested everything out right?
Also, the clockwise_phi
cant be determined by the gfile so it needs to be a required argument for read_geqdsk
(its better to throw an error than to have the possibly wrong behavior occur silently) and that change will need to be done to the example in the test
directory.
Or at the very least throw a warning that we are assuming a particular direction for phi
Also, the
clockwise_phi
cant be determined by the gfile so it needs to be a required argument forread_geqdsk
(its better to throw an error than to have the possibly wrong behavior occur silently) and that change will need to be done to the example in thetest
directory.
I moved the ccw_phi
keyword to be more visible in the arguments for read_geqdsk
. I've left it as default = True but still showed it explicitly in run_test.py
.
PR for review @lstagner Magnetic field COCOS bug fix for geqdsk files