Ensuring IMAS compatible geometry #1470
-
Question mostly for @MateoBell: I have another code (freegsnke) that is producing an IMAS geometry file for use in TORAX. I'm slightly unclear as to how strict the IMAS schema is meant to be: is my other code meant to produce a file that is guaranteed to have all of the entries in? Or is TORAX meant to be able to handle when any entry is missing? Particular example in this case is the volume, which FreeGSNKE is not currently outputting, and so the following fails: torax/torax/_src/geometry/imas.py Lines 95 to 100 in b371a85 Linked issue on FreeGSNKE: FusionComputingLab/freegsnke#35 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not sure if there's a definitive answer on how strict the IMAS schema is meant to be. As a rule of thumb, I'd say that unless a specific output is extremely niche and/or difficult to calculate + output, then the expectation is that the data will be there. Looking at the list of outputs in the linked issue, I'd say that all of those should be expected IMAS outputs of an equilibrium code. |
Beta Was this translation helpful? Give feedback.
I'm not sure if there's a definitive answer on how strict the IMAS schema is meant to be. As a rule of thumb, I'd say that unless a specific output is extremely niche and/or difficult to calculate + output, then the expectation is that the data will be there. Looking at the list of outputs in the linked issue, I'd say that all of those should be expected IMAS outputs of an equilibrium code.