Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python only reads partial data in 3D array #4159

Closed
hr87 opened this issue May 9, 2024 · 2 comments
Closed

Python only reads partial data in 3D array #4159

hr87 opened this issue May 9, 2024 · 2 comments

Comments

@hr87
Copy link

hr87 commented May 9, 2024

Describe the bug
I have a file with a 3D variable. bpls gives the correct dimensions of the array (129, 16, 33).
However, when I read the variable with a python script, the shape of the variable is suddenly (129, 16, 15). I confirmed that python only reads in the last 15 values of the last dimension, skipping the first 18.

The file is written from a single MPI process, the read is in serial.

To Reproduce
I can provide an example file

  1. Read data in with python
  2. Compare shape of high-D variable

Expected behavior
Python reading in the whole variable, not only half

Desktop (please complete the following information):

  • LANL Darwin
  • Adios 2.9.2, gcc 12,2,0, python 3.11.5
@pnorbert
Copy link
Contributor

pnorbert commented May 9, 2024

Strange! Can you please provide the example file and the python commands you are issuing?

@hr87
Copy link
Author

hr87 commented May 10, 2024

Turns out, I missed something when debugging. It was my fault, works as expected, when I created the small example.

@hr87 hr87 closed this as completed May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants