.. highlightlang:: us .. _nc_diminq_name: nc_diminq_name ============== .. index:: nc_diminq_name .. us.tag nc_diminq_name ENGLISH NC_Dim :ref:`nc_diminq_name` returns the name of a dimension when given its ID. .. function:: ssName = nc_diminq_name(ncid, dimid) .. us.return **Return Value** *ssName* is the name of the dimension with the ID *dimid*. If an error occurs, this function returns an empty string. .. us.params **Parameters** .. uparam:: ncid Identifies the netCDF file. .. uparam:: dimid *dimid* is the ID of a dimension. .. seealso:: :ref:`overview-netcdf-files`, :ref:`nc_create` :sub:`id-1542868`