NetCDF  4.9.2
dvarinq.c File Reference

Functions for inquiring about variables. More...

#include "config.h"
#include "netcdf.h"
#include "netcdf_filter.h"
#include "ncdispatch.h"
#include "nc4internal.h"
Include dependency graph for dvarinq.c:

Go to the source code of this file.

Functions

Learning about Variables

Functions to learn about the variables in a file.

int nc_inq_unlimdims (int ncid, int *nunlimdimsp, int *unlimdimidsp)
 Return number and list of unlimited dimensions. More...
 
int nc_inq_var (int ncid, int varid, char *name, nc_type *xtypep, int *ndimsp, int *dimidsp, int *nattsp)
 Learn about a variable. More...
 
int nc_inq_var_chunking (int ncid, int varid, int *storagep, size_t *chunksizesp)
 Get the storage and (for chunked variables) the chunksizes of a variable. More...
 
int nc_inq_var_deflate (int ncid, int varid, int *shufflep, int *deflatep, int *deflate_levelp)
 Learn the shuffle and deflate settings for a variable. More...
 
int nc_inq_var_endian (int ncid, int varid, int *endianp)
 Find the endianness of a variable. More...
 
int nc_inq_var_fill (int ncid, int varid, int *no_fill, void *fill_valuep)
 Learn the fill mode of a variable. More...
 
int nc_inq_var_fletcher32 (int ncid, int varid, int *fletcher32p)
 Learn the checksum settings for a variable. More...
 
int nc_inq_var_quantize (int ncid, int varid, int *quantize_modep, int *nsdp)
 Learn whether quantization is on for a variable, and, if so, the NSD setting. More...
 
int nc_inq_var_szip (int ncid, int varid, int *options_maskp, int *pixels_per_blockp)
 Learn the szip settings of a variable. More...
 
int nc_inq_vardimid (int ncid, int varid, int *dimidsp)
 Learn the dimension IDs associated with a variable. More...
 
int nc_inq_varid (int ncid, const char *name, int *varidp)
 Find the ID of a variable, from the name. More...
 
int nc_inq_varname (int ncid, int varid, char *name)
 Learn the name of a variable. More...
 
int nc_inq_varnatts (int ncid, int varid, int *nattsp)
 Learn how many attributes are associated with a variable. More...
 
int nc_inq_varndims (int ncid, int varid, int *ndimsp)
 Learn how many dimensions are associated with a variable. More...
 
int nc_inq_vartype (int ncid, int varid, nc_type *typep)
 Learn the type of a variable. More...
 

Detailed Description

Functions for inquiring about variables.

Definition in file dvarinq.c.