-
Notifications
You must be signed in to change notification settings - Fork 361
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
Rather than complain, do it? #6588
Comments
True, that. |
https://github.com/pydata/xarray-data/raw/master/eraint_uvz.nc This netcdf file was used in a PyGMT test added by @weiji14. I don't know much about this dataset, but it's likely not a grid cube. In GMT 6.3.0, GMT reports an error, so it looks reasonable to me:
In GMT dev (maybe after #6592), it crashes:
|
Apparently not an easy case. When I try to open it with Mirone But GDAL clearly say it's a cube (well, a multi cube file).
Though it resists being open with
and also my |
I'll try to have a look on the weekend, but must also prepare a seminar for Wednesday in Southampton. |
While we correctly found a higher-dimensioned array than 2, we forgot to update ndims once selecting it. Closes #6588.
* set correct dimension when finding 3- or 4-D array While we correctly found a higher-dimensioned array than 2, we forgot to update ndims once selecting it. Closes #6588. * One more place
After PR #6615, the output is:
After PR #6620, the output is:
Can you please verify that the new output is correct? |
Sure. ncdump -h is all we need:
You can see z, u, and v are all 4-D matrices. |
It it detects the cube, it can as well set -Q
The text was updated successfully, but these errors were encountered: