google-deepmind / google-deepmind/torax

Better handling of non-standard ions when loading from IMAS

Open
#2,238 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
721
Forks
145
Avg merge
2d 14h
Merged PRs (30d)
49

Description

I've been supplied with an IDS that has "DT" as a main ion name. This is incompatible with the TORAX loader, and `plasma_composition_from_IMAS` raises an error. How should I load this, or find an alternative route that still lets me load this IDS?? Do we need to add functionality to better support when IDSs have unrecognized ions?

@MateoBell

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the plasma_composition_from_IMAS entry point and reproduce the error with an IDS whose main ion is named "DT". Trace how the TORAX loader handles unrecognized ions, then determine and implement the intended loading behavior or document an alternative route for such IDSs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.