-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Test failure with TestValidateAttrs.test_validating_attrs #2803
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
Comments
@shoyer - I'm surprised we had a test for this behavior. Based on Unidata/netcdf4-python#841, it seems we don't want this behavior to work. Can we just remove this test (or better yet, insure the ValueError is raised)? |
Yes, those both sound like good options to me. |
Sorry for posting on such an old thread. Are |
I remember being surprised by this: |
With the netcdf4 back end, I'm not able to save a 1D attr dataset. I can save my dataset with the h5netcdf backend |
Sorry for noise. It seems that 1D arrays are still supported. I still had a 2D array lingering in my codebase. |
This is due to setting multi-dimensional attributes being an error, as of the latest netCDF4-Python release: https://github.com/Unidata/netcdf4-python/blob/master/Changelog
E.g., as seen on Appveyor: https://ci.appveyor.com/project/shoyer/xray/builds/22834250/job/9q0ip6i3cchlbkw2
The text was updated successfully, but these errors were encountered: