10 #include "ncdispatch.h"
124 int stat = NC_check_id(ncid, &ncp);
127 return ncp->dispatch->def_dim(ncid, name, len, idp);
155 int stat = NC_check_id(ncid, &ncp);
158 return ncp->dispatch->inq_dimid(ncid,name,idp);
219 int stat = NC_check_id(ncid, &ncp);
222 return ncp->dispatch->inq_dim(ncid,dimid,name,lenp);
288 int stat = NC_check_id(ncid, &ncp);
291 return ncp->dispatch->rename_dim(ncid,dimid,name);
320 int stat = NC_check_id(ncid, &ncp);
324 return ncp->dispatch->inq(ncid,ndimsp,NULL,NULL,NULL);
353 int stat = NC_check_id(ncid, &ncp);
356 return ncp->dispatch->inq_unlimdim(ncid,unlimdimidp);
412 int stat = NC_check_id(ncid, &ncp);
416 return ncp->dispatch->inq_dim(ncid,dimid,name,NULL);
470 int stat = NC_check_id(ncid, &ncp);
474 return ncp->dispatch->inq_dim(ncid,dimid,NULL,lenp);
int nc_inq_ndims(int ncid, int *ndimsp)
Find the number of dimensions.
int nc_inq_dimlen(int ncid, int dimid, size_t *lenp)
Find the length of a dimension.
int nc_inq_dimname(int ncid, int dimid, char *name)
Find out the name of a dimension.
int nc_def_dim(int ncid, const char *name, size_t len, int *idp)
Define a new dimension.
int nc_rename_dim(int ncid, int dimid, const char *name)
Rename a dimension.
int nc_inq_dim(int ncid, int dimid, char *name, size_t *lenp)
Find the name and length of a dimension.
int nc_inq_unlimdim(int ncid, int *unlimdimidp)
Find the ID of the unlimited dimension.
int nc_inq_dimid(int ncid, const char *name, int *idp)
Find the ID of a dimension from the name.
#define NC_NOERR
No Error.