Skip to content

Failure when parsing dimensions with adios2 formatted data #327

@chrisstuartparry

Description

@chrisstuartparry

Running xBOUT to analyse output data from the hasegawa-wakatani BOUT++ example, if the I/O system used was ADIOS 2, then open_boutdataset() fails with ValueError: dimensions ('y',) must have the same length as the number of data dimensions, ndim=2.

Version of BOUT++ used: 5.2.0 (Git commit 650bfc6)
System: Viking (University of York HPC)
Python version: 3.14.2 (but I've also tried 3.12.12 and 3.11.14)
xbout (pip) version: 0.3.8
adios2 (pip) version: 2.11.0.1012

Not sure if using pip adios2 is the recommended method (docs are limited in this area, from what I could see), but if I don't have it, I get an error about no such engine as 'bout_adios2' or wtte.

Should be reproducible by running the default hasegawa-wakatani BOUT++ example, with

[output]
type = adios

added to its BOUT.inp, and attempting to open the resulting BOUT.dmp.bp via open_boutdataset().

Let me know if unable to reproduce and I can share more details on my BOUT++ installation, but I can confirm the above works completely fine if I just remove the adios output section and have it default back to netCDF.

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