10 #include "netcdf_filter.h"
11 #include "ncdispatch.h"
12 #include "nc4internal.h"
63 int stat = NC_check_id(ncid, &ncp);
65 return ncp->dispatch->inq_varid(ncid, name, varidp);
125 int *ndimsp,
int *dimidsp,
int *nattsp)
128 int stat = NC_check_id(ncid, &ncp);
131 return ncp->dispatch->inq_var_all(ncid, varid, name, xtypep, ndimsp,
132 dimidsp, nattsp, NULL, NULL, NULL,
133 NULL, NULL, NULL, NULL, NULL, NULL,
158 return nc_inq_var(ncid, varid, name, NULL, NULL,
180 return nc_inq_var(ncid, varid, NULL, typep, NULL,
204 return nc_inq_var(ncid, varid, NULL, NULL, ndimsp, NULL, NULL);
227 return nc_inq_var(ncid, varid, NULL, NULL, NULL,
254 return nc_inq_var(ncid, varid, NULL, NULL, NULL, NULL,
299 unsigned int params[4];
303 stat = NC_check_id(ncid,&ncp);
308 stat = nc_inq_var_filter_info(ncid,varid,H5Z_FILTER_DEFLATE,&nparams,params);
311 case NC_NOERR: deflating = 1;
break;
324 default:
return stat;
326 if(deflatep) *deflatep = deflating;
331 if(deflate_levelp) *deflate_levelp = (int)params[0];
332 }
else if (deflate_levelp)
337 return ncp->dispatch->inq_var_all(
381 int stat = NC_check_id(ncid,&ncp);
384 return ncp->dispatch->inq_var_all(
469 int stat = NC_check_id(ncid, &ncp);
472 return ncp->dispatch->inq_var_all(ncid, varid, NULL, NULL, NULL, NULL,
473 NULL, NULL, NULL, NULL, NULL, storagep,
474 chunksizesp, NULL, NULL, NULL,
505 int stat = NC_check_id(ncid,&ncp);
510 return ncp->dispatch->inq_var_all(
555 int stat = NC_check_id(ncid,&ncp);
558 return ncp->dispatch->inq_var_all(
648 int stat = NC_check_id(ncid,&ncp);
651 return ncp->dispatch->inq_unlimdims(ncid, nunlimdimsp,
706 unsigned int params[4];
708 int stat = NC_check_id(ncid,&ncp);
713 stat = nc_inq_var_filter_info(ncid,varid,H5Z_FILTER_SZIP,&nparams,params);
733 if(options_maskp) *options_maskp = (int)params[0];
734 if(pixels_per_blockp) *pixels_per_blockp = (int)params[1];