mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
more var changes to libhdf5 from libsrc4
This commit is contained in:
parent
192a9b1b9e
commit
e1eeb309a1
@ -1472,7 +1472,7 @@ attach_dimscales(NC_GRP_INFO_T *grp)
|
||||
|
||||
/* Find dataset ID for dimension */
|
||||
if (dim1->coord_var)
|
||||
dim_datasetid = dim1->coord_var->hdf_datasetid;
|
||||
dim_datasetid = ((NC_HDF5_VAR_INFO_T *)(dim1->coord_var->format_var_info))->hdf_datasetid;
|
||||
else
|
||||
dim_datasetid = hdf5_dim1->hdf_dimscaleid;
|
||||
if(!(dim_datasetid > 0))
|
||||
|
Loading…
Reference in New Issue
Block a user