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

FieldRead timeslice issues #61

Open
rokuingh opened this issue Aug 22, 2022 · 1 comment
Open

FieldRead timeslice issues #61

rokuingh opened this issue Aug 22, 2022 · 1 comment
Assignees
Labels
bug Something isn't working ESMPy I/O Anything in the ESMF related to I/O who: unknown

Comments

@rokuingh
Copy link
Contributor

An ESMPy user found some issues with the timeslice parameter to FieldRead. He sent a reproducer, and used xarray to validate the results. The IO related concerns here are:

  • there is no bounds check on timeslice, it fills extra memory with zeros

  • the timeslice seems to be returned incorrectly

  • there is no way to return a timeslice that does not start with time=0 (e.g. 2-4 or just time 5)

The reproducer can be run with:

mpirun -n 4 python vtu2ugrid.py

timeslicereproducer.tar.zip

@rokuingh
Copy link
Contributor Author

@Chrismarsh @billsacks

@rsdunlapiv rsdunlapiv added the bug Something isn't working label Sep 8, 2022
@theurich theurich added I/O Anything in the ESMF related to I/O ESMPy labels Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ESMPy I/O Anything in the ESMF related to I/O who: unknown
Projects
None yet
Development

No branches or pull requests

5 participants