.. highlightlang:: us .. _nc_dimid: nc_dimid ======== .. index:: nc_dimid .. us.tag nc_dimid ENGLISH NC_Dim :ref:`nc_dimid` returns the ID of a netCDF dimension when given the name of the dimension. .. function:: dimid = nc_dimid(ncid, ssName) .. us.return **Return Value** *dimid* is the ID of the dimension with the name *ssName*. .. us.params **Parameters** .. uparam:: ncid Identifies the netCDF file. .. uparam:: ssName *ssName* is the name of the dimension. .. seealso:: :ref:`overview-netcdf-files`, :ref:`nc_create` :sub:`id-1672061`