10 #include "ncdispatch.h" 127 int stat = NC_check_id(ncid, &ncp);
130 return ncp->dispatch->def_dim(ncid, name, len, idp);
157 int stat = NC_check_id(ncid, &ncp);
160 return ncp->dispatch->inq_dimid(ncid,name,idp);
221 int stat = NC_check_id(ncid, &ncp);
224 return ncp->dispatch->inq_dim(ncid,dimid,name,lenp);
284 int stat = NC_check_id(ncid, &ncp);
287 return ncp->dispatch->rename_dim(ncid,dimid,name);
315 int stat = NC_check_id(ncid, &ncp);
319 return ncp->dispatch->inq(ncid,ndimsp,NULL,NULL,NULL);
346 int stat = NC_check_id(ncid, &ncp);
349 return ncp->dispatch->inq_unlimdim(ncid,unlimdimidp);
405 int stat = NC_check_id(ncid, &ncp);
409 return ncp->dispatch->inq_dim(ncid,dimid,name,NULL);
462 int stat = NC_check_id(ncid, &ncp);
466 return ncp->dispatch->inq_dim(ncid,dimid,NULL,lenp);
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_inq_ndims(int ncid, int *ndimsp)
Find the number of dimensions.
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_dimlen(int ncid, int dimid, size_t *lenp)
Find the length of a dimension.
int nc_inq_dimid(int ncid, const char *name, int *idp)
Find the ID of a dimension from the name.
int nc_inq_unlimdim(int ncid, int *unlimdimidp)
Find the ID of the unlimited dimension.
#define NC_NOERR
No Error.