NetCDF  4.6.1
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
dvar.c File Reference

Functions for defining and inquiring about variables. More...

#include "ncdispatch.h"
#include "netcdf_f.h"

Go to the source code of this file.

Functions

size_t NC_atomictypelen (nc_type xtype)
 
char * NC_atomictypename (nc_type xtype)
 
int nc_def_var_chunking (int ncid, int varid, int storage, const size_t *chunksizesp)
 Define chunking parameters for a variable. More...
 
int nc_def_var_deflate (int ncid, int varid, int shuffle, int deflate, int deflate_level)
 Set the compression settings for a netCDF-4/HDF5 variable. More...
 
int nc_def_var_endian (int ncid, int varid, int endian)
 Define endianness of a variable. More...
 
int nc_def_var_fill (int ncid, int varid, int no_fill, const void *fill_value)
 Set the fill value for a variable. More...
 
int nc_def_var_filter (int ncid, int varid, unsigned int id, size_t nparams, const unsigned int *parms)
 Define a new variable filter. More...
 
int nc_def_var_fletcher32 (int ncid, int varid, int fletcher32)
 Set checksum for a var. More...
 
int nc_free_string (size_t len, char **data)
 Free string space allocated by the library. More...
 
int nc_get_var_chunk_cache (int ncid, int varid, size_t *sizep, size_t *nelemsp, float *preemptionp)
 Get the per-variable chunk cache settings from the HDF5 layer. More...
 
int NC_getshape (int ncid, int varid, int ndims, size_t *shape)
 
int NC_inq_recvar (int ncid, int varid, int *nrecdimsp, int *is_recdim)
 
int NC_is_recvar (int ncid, int varid, size_t *nrecs)
 
int nc_set_var_chunk_cache (int ncid, int varid, size_t size, size_t nelems, float preemption)
 Change the cache settings for a chunked variable. More...
 
int nctypelen (nc_type type)
 
Defining Variables

Use these functions to define variables.

int nc_def_var (int ncid, const char *name, nc_type xtype, int ndims, const int *dimidsp, int *varidp)
 Define a new variable. More...
 
Rename a Variable

Rename a variable.

int nc_rename_var (int ncid, int varid, const char *name)
 Rename a variable. More...
 

Detailed Description

Functions for defining and inquiring about variables.

Definition in file dvar.c.

Function Documentation

int nc_def_var_filter ( int  ncid,
int  varid,
unsigned int  id,
size_t  nparams,
const unsigned int *  parms 
)

Define a new variable filter.

Parameters
ncidFile and group ID.
varidVariable ID.
id
nparamsNumber of filter parameters.
parmsFilter parameters.
Returns
NC_NOERR No error.
NC_EBADID Bad ID.
Author
Dennis Heimbigner

Definition at line 1098 of file dvar.c.


Return to the Main Unidata NetCDF page.
Generated on Fri May 11 2018 21:22:26 for NetCDF. NetCDF is a Unidata library.