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

14.5 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 2011 Unidata NetCDF Workshop > Chunking and Deflating Data with NetCDF-4