Skip to content

ESMPy fails when creating a Grid for a high-resolution dataset #263

Closed Answered by billsacks
JSAnandEOS asked this question in ESMPy
Discussion options

You must be logged in to vote

Thanks for reporting this. I was able to reproduce it. The problem arises because the memory used to represent your grid slightly exceeds the 32-bit integer limit (20000 * 15000 * 8 bytes = 2.4 billion, exceeding the 32-bit limit of ~ 2.1 billion). If you were able to clip your grid just a bit more, you could avoid this issue.

If you're comfortable installing ESMPy from source (https://earthsystemmodeling.org/esmpy_doc/release/latest/html/install.html#installing-esmpy-from-source), you can patch the code with this fix that I have just submitted:

#267

We will try to get this fix into the upcoming ESMF 8.7 release.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@billsacks
Comment options

Answer selected by JSAnandEOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESMPy
Labels
who: University Originates from university or academic community source: discussions
2 participants