Skip to content

Issue with ids_put validation for plasma_profiles IDS in Matlab #1

@Fleury-dev

Description

@Fleury-dev

Description:
When writing plasma_profiles using ids_put under Matlab, this error occurs:

Warning: IDS plasma_profiles is found to be invalid. PUT quits with no action.
In metis4imas (line 1697)
Error using ids_put: internal error of type HLI occured.

The specific reason for the validation failure, which fields are invalid according to the validation rules are not displayed, making it difficult to diagnose the root cause of the invalidity.

Environment / Version:

IMAS :

AL: 5.4.3
DD: 4.0.0
Matlab: 2020b

METIS : develop branch
METIS repo:** GitLab or
ITER Git

  • Note: No compilation is required after cloning for this specific test.

Steps to Reproduce:

  1. Clone the develop branch of METIS.
  2. Navigate to the root directory of the installation.
  3. Run the following commands:
touch arch.inc
make testimasinmetis

Traceability:
The error occurs at line 1697 in metis4imas.m:

1697: ids_put(expIdx, strrep(nids,'core_','plasma_'), core_profiles);

Metadata

Metadata

Assignees

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