Skip to content

IMAS-Python Training out of date #143

Description

@tdegreefIC

In the transform section of the IMAS-Python 101 documentation (https://imas-python.readthedocs.io/en/stable/courses/basic/transform.html) there is an error that occurs when running the source code for the complete exercise. When calling:

output_entry.put_slice(eq)

The following error is raised (following the ids.validate()):

imas.exception.CoordinateError: Element time_slice[0]/profiles_2d[0]/b_field_tor has incorrect shape (65, 129): its coordinate in dimension 1 (time_slice[0]/profiles_2d[0]/grid/dim1) has size 64.

I suspect this to be because the training entry contains an old b_field_tor node that the transformed shape is compared against.

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