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

bindings for PlotFileData #317

Closed
BenWibking opened this issue May 12, 2024 · 2 comments · Fixed by #320
Closed

bindings for PlotFileData #317

BenWibking opened this issue May 12, 2024 · 2 comments · Fixed by #320

Comments

@BenWibking
Copy link
Contributor

Are there any plans to add bindings for amrex::AmrData (https://github.com/AMReX-Codes/amrex/blob/af6e77226cdb1668a8936ee3b35cf0d441409869/Src/Extern/amrdata/AMReX_AmrData.H) in order to read plotfiles via Python?

Ideally, I'd like to be able to write an equivalent of https://github.com/openPMD/openPMD-viewer for AMReX plotfiles.

Or, is there any other API to read plotfiles that would be faster to get started with?

@WeiqunZhang
Copy link
Member

WeiqunZhang commented May 13, 2024 via email

@BenWibking BenWibking changed the title bindings for amrex::AmrData? bindings for PlotFileData May 19, 2024
@BenWibking
Copy link
Contributor Author

@WeiqunZhang @ax3l Is there any way to lazily load individual FABs?

It looks like PlotFileUtil loads the entire MultiFab into memory at once. This is fine for 2D plotfiles, but won't work for 3D plotfiles when used with https://github.com/BenWibking/plotfile-viewer.

@ax3l ax3l closed this as completed in #320 Jul 1, 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

Successfully merging a pull request may close this issue.

2 participants