Replies: 1 comment
-
|
The slowness is expected and fits with your array ordering intuition. HDF Error is not Xarray's fault; I'd look in to hdf5 logs somehow to find the source of the error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a large 4-D dataset in NetCDF4 file, created by NetCDF4 library in Fortran. I use level 1 compression in NetCDF creation, and it looks like this:
When I import the file into an xarray and plot 2-D lat/lon cross-sections for different depths and times, everything works fine:
But if I want to plot 2-D time/depth plots for fixed geographic coordinates, the execution gets extremely slow
and often fails with
RuntimeError: NetCDF: HDF error:I have experimented with different engine settings in open_dataarray as well as with the .load() applied
to X or X2d, but it didn't help. My Fortran experience tells me that the array ordering in memory is the key,
but I do not know enough of xarray internals. I would welcome any advise. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions