NetCDF  4.6.3
 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_check_nulls (int ncid, int varid, const size_t *start, size_t **count, ptrdiff_t **stride)
 
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 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...
 
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_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_fletcher32 (int ncid, int varid, int fletcher32)
 Set checksum for a var. More...
 
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_endian (int ncid, int varid, int endian)
 Define endianness of 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...
 
Rename a Variable

Rename a variable.

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

Use this functions to free resources associated with NC_STRING data.

int nc_free_string (size_t len, char **data)
 Free string space allocated by the library. More...
 
Variables Chunk Caches

Use these functions to change the variable chunk cache settings.

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 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...
 

Detailed Description

Functions for defining and inquiring about variables.

Note
The order of functions in this file affects the doxygen documentation.

Definition in file dvar.c.


Return to the Main Unidata NetCDF page.
Generated on Sat Apr 6 2019 08:19:00 for NetCDF. NetCDF is a Unidata library.