yt-project / yt

Main yt repository
http://yt-project.org
Other
459 stars 275 forks source link

can't read openPMD files that use the ADIOS2 format #4757

Open BenWibking opened 8 months ago

BenWibking commented 8 months ago

Bug report

Bug summary

The openPMD frontend only reads openPMD files that use the HDF5 format. openPMD files that use the ADIOS2 format cannot be read by yt.

The openPMD-api (https://github.com/openPMD/openPMD-api) provides a Python package that can be used to read any openPMD file, regardless of the backend format chosen.

Code for reproduction

N/A

Actual outcome

N/A

Expected outcome

yt should be able to open all openPMD files, regardless of the backend used.

Version Information

I am happy to help add support for using openPMD-api, but I don't want to duplicate effort if someone is already working on this.

neutrinoceros commented 8 months ago

Hi Ben. For what it's worth, I haven't heard of anyone take else working on this already and I'm sure this would a welcome addition. Thanks !

matthewturk commented 8 months ago

@BenWibking I'd also be happy to provide guidance on this if you would like help!

BenWibking commented 7 months ago

I haven't had a chance to work on it, so it's all yours to work on if you wish.


From: Henry Jones @.> Sent: Tuesday, January 23, 2024 12:42 PM To: yt-project/yt @.> Cc: Wibking, Benjamin @.>; Mention @.> Subject: Re: [yt-project/yt] can't read openPMD files that use the ADIOS2 format (Issue #4757)

Hi @BenWibkinghttps://urldefense.com/v3/__https://github.com/BenWibking__;!!HXCxUKc!11laLu1xkBe1K8qWr2IKPlNZ5TgyfZ8IU8XhPSl2YwXXVNwfB89Jrj9fP-4g6wCKfjW-uCi8Grl9xdLkBDlITR-6$, I just wanted to reach out and see what your efforts might be on this issue. My internship mentors @ax3lhttps://urldefense.com/v3/__https://github.com/ax3l__;!!HXCxUKc!11laLu1xkBe1K8qWr2IKPlNZ5TgyfZ8IU8XhPSl2YwXXVNwfB89Jrj9fP-4g6wCKfjW-uCi8Grl9xdLkBMNwuGbS$ and @atmyershttps://urldefense.com/v3/__https://github.com/atmyers__;!!HXCxUKc!11laLu1xkBe1K8qWr2IKPlNZ5TgyfZ8IU8XhPSl2YwXXVNwfB89Jrj9fP-4g6wCKfjW-uCi8Grl9xdLkBOppiZSU$ have brought this problem to my attention, but similarly don't want to duplicate effort.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/yt-project/yt/issues/4757*issuecomment-1906594225__;Iw!!HXCxUKc!11laLu1xkBe1K8qWr2IKPlNZ5TgyfZ8IU8XhPSl2YwXXVNwfB89Jrj9fP-4g6wCKfjW-uCi8Grl9xdLkBNGwiMFN$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AANTBH2P4VWSROCMPBIEYM3YP7ZAPAVCNFSM6AAAAABAO5AWKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBWGU4TIMRSGU__;!!HXCxUKc!11laLu1xkBe1K8qWr2IKPlNZ5TgyfZ8IU8XhPSl2YwXXVNwfB89Jrj9fP-4g6wCKfjW-uCi8Grl9xdLkBIzxvEJH$. You are receiving this because you were mentioned.Message ID: @.***>

henrynjones commented 7 months ago

@BenWibking Sounds great, thanks.