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

get method treatment of double arrays in mppnp se file columns #77

Open
fherwig opened this issue Dec 12, 2019 · 0 comments
Open

get method treatment of double arrays in mppnp se file columns #77

fherwig opened this issue Dec 12, 2019 · 0 comments
Assignees

Comments

@fherwig
Copy link
Member

fherwig commented Dec 12, 2019

on astrohub.csa there is a notebook mppnp-double-column-issue.ipynb in /home/user/repos/3d1d-advection-paper/notebooks/Post-processing demonstrating the problem. mppnp se output files can have instead of one array a list of multiple arrays. This may be the case, for example when an automatic restart was made, or when the previous H5_out dir was not removed. In any case, maybe something in the get method has changed so that this now appears as a problem. But the get method will return a list of 2 arrays, and that causes functions and methods not to work.

The behaviour should be that the get method is silently returning the last array of there are more than one. It may return a warning in that case, behind a verbose flag.

See notebook for details.

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

3 participants