Loading...
Searching...
No Matches
dvar.c File Reference

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

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

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.
int | nc_def_var_chunking (int ncid, int varid, int storage, const size_t *chunksizesp)
| Define storage and, if chunked storage is used, chunking parameters for a variable.
int | nc_def_var_deflate (int ncid, int varid, int shuffle, int deflate, int deflate_level)
| Set the zlib compression and shuffle settings for a variable in an netCDF/HDF5 file.
int | nc_def_var_endian (int ncid, int varid, int endian)
| Define endianness of a variable.
int | nc_def_var_fill (int ncid, int varid, int no_fill, const void *fill_value)
| Set the fill value for a variable.
int | nc_def_var_fletcher32 (int ncid, int varid, int fletcher32)
| Set checksum for a var.
int | nc_def_var_quantize (int ncid, int varid, int quantize_mode, int nsd)
| Turn on quantization for a variable.
int | nc_def_var_szip (int ncid, int varid, int options_mask, int pixels_per_block)
| Set szip compression settings on a variable.
Rename a Variable
Rename a variable.
int | nc_rename_var (int ncid, int varid, const char *name)
| Rename a variable.
Free String Resources
Use these 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.
Variables Chunk Caches
Use these functions to change the variable chunk cache settings.
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.
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.

## Detailed Description

Functions for defining and inquiring about variables.

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

Author
  Dennis Heimbigner, Edward Hartnett

Definition in file dvar.c.