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
IO fails with complex datatypes #748
Comments
This looks bad! I was pretty sure we had tested this with h5netcdf. I'll take a look later... what version of h5py are you using? |
|
OK, I can reproduce this. The issue seems to be that xarray uses the netCDF4 package as the default backend for reading netCDF4/HDF5 files, and netCDF4 seems to silently drop these variables with a compound dtype, even though allegedly it supports them. The work around is to use
|
excellent. thanks for looking into it, this work around is sufficient for my needs fyi. |
I add to this issue as it refers to general IO failures. Saving a Dataset that contains DataArray with complex data-type fails on all netCDF4 engines:
and
|
@alexamici Something else must have gone wrong here -- your example works for me:
Maybe you need to update to a newer version of h5py? (Just a guess) |
I reinstalled a bunch of stuff and I can confirm my example above works for me now using |
In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity |
i am exploring the use of xarray as a back-end for some objects in the scikit-rf project.
this, and other electrical engineering applications require support for complex data-types.
https://gist.github.com/613be985bcf0001ebd05
( i have xarray
0.7.0
)The text was updated successfully, but these errors were encountered: