nc_diminq_sizeΒΆ
nc_diminq_size returns the size of a dimension when given its ID.
- nSize = nc_diminq_size(ncid, dimid)
Return Value
nSize is the size of the dimension (number of data points). If an error occurs, this function returns -1.
Parameters
- ncid
Identifies the netCDF file.
- dimid
dimid is the ID of a dimension.
See also
id-660030