nc_inquire_ndimsΒΆ
nc_inquire_ndims returns the number of dimensions in a nc file.
- ndims = nc_inquire_ndims(ncid)
Return Value
If the function succeeds, the return value is the number of dimensions. If the function fails, the return value is -1.
Parameters
- ncid
Identifies the nc file.
See also
id-274444