netcdf.inqGrpNameFull
Complete pathname of group
Syntax
groupName = netcdf.inqGrpNameFull(ncid)
Description
groupName = netcdf.inqGrpNameFull(ncid)
returns
the complete pathname of the group specified by ncid
.
Input Arguments
|
Identifier of NetCDF file, returned by |
Output Arguments
|
Character vector specifying complete path of group. The root group has the name |
Examples
Open the NetCDF sample dataset and retrieve the names of all groups.
ncid = netcdf.open('example.nc','NOWRITE'); gid = netcdf.inqNcid(ncid,'grid2'); fullName = netcdf.inqGrpNameFull(gid); netcdf.close(ncid);
References
This function corresponds to the nc_inq_grpname_full
function
in the netCDF library C API.