Previous: The Cache in NetCDF-4 Next: Per-Variable Compression in NetCDF-4 Table of contents Frames 2012 Unidata NetCDF Workshop > Chunking and Deflating Data with NetCDF-4

19.4 Setting the Cache in NetCDF-4
Set the cache for a variable with the nc_var_set_cache function.

 


/* Use this to set the HDF5 data cache for a variable. */
EXTERNL int
nc_var_set_cache(int ncid, int varid, size_t cache_size);

/* Use this to get the HDF5 data cache for a variable. */
EXTERNL int
nc_var_get_cache(int ncid, int varid, size_t *cache_sizep);

 


Previous: The Cache in NetCDF-4 Next: Per-Variable Compression in NetCDF-4 Table of contents Frames 2012 Unidata NetCDF Workshop > Chunking and Deflating Data with NetCDF-4