Previous: The Cache in NetCDF-4 Next: Per-Variable Compression in NetCDF-4 Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Chunking Data with NetCDF-4

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

 

Set the cache size 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 User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Chunking Data with NetCDF-4