You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
$ gmt grdinfo -C eraint_uvz.nc -Q
grdinfo [WARNING]: No 3-D array in file eraint_uvz.nc. Selecting first 3-D slice in the 4-D array z
grdinfo [ERROR]: No 3rd-dimension coordinate vector found in eraint_uvz.nc
grdinfo [ERROR]: gmtapi_import_cube: Unable to examine cube eraint_uvz.nc.
[Session gmt (0)]: Error returned from GMT API: GMT_RUNTIME_ERROR (79)
[Session gmt (0)]: Error returned from GMT API: GMT_RUNTIME_ERROR (79)
Activity
PaulWessel commentedon Apr 18, 2022
True, that.
seisman commentedon Apr 22, 2022
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:
joa-quim commentedon Apr 22, 2022
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
HDFexplorerviewer say it's an "not recognizable format"PaulWessel commentedon Apr 22, 2022
I'll try to have a look on the weekend, but must also prepare a seminar for Wednesday in Southampton.
set correct dimension when finding 3- or 4-D array
set correct dimension when finding 3- or 4-D array (#6615)
seisman commentedon May 3, 2022
After PR #6615, the output is:
After PR #6620, the output is:
Can you please verify that the new output is correct?
PaulWessel commentedon May 3, 2022
Sure. ncdump -h is all we need:
You can see z, u, and v are all 4-D matrices.