Current behavior: 1) for a 1D variable an empty array is returned 2) for multi-dim variables an opaque exception is raised. 3) for numpy arrays, an empty array is always returned Two potential solutions: 1) PR #1197: always return an exception with a more informative error message 2) PR #1198: always silently return an empty array (as numpy does) Which one do you prefer?