Skip to content

Failure to map sources when loading IMAS core_sources #2239

Description

@theo-brown

In TORAX 1.4.1, I thought we supported loading from core_sources.
However, when I load I get:

2026-06-22 11:21:20,425 [    INFO] IMAS Source total does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,425 [    INFO] IMAS Source auxiliary does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,425 [    INFO] IMAS Source nbi does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,426 [    INFO] IMAS Source lh does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,428 [    INFO] IMAS Source bootstrap_current does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,428 [    INFO] IMAS Source radiation does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,428 [    INFO] IMAS Source synchrotron_radiation does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,428 [    INFO] IMAS Source cold_neutrals does not have a corresponding TORAX source model. Skipping this source.
2026-06-22 11:21:20,428 [    INFO] IMAS Source charge_exchange does not have a corresponding TORAX source model. Skipping this source.

Most of these are expected, except from charge_exchange and radiation and synchrotron_radiation - we do have those in TORAX, so it should be possible to load them. Or am I misunderstanding the choice made in the mapping?

@MateoBell , @Nush395

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions