netcdf.setChunkCache(size, nelems, preemption)
| Parameter | Description |
|---|---|
| size | Cache size in bytes. |
| nelems | Number of cache elements. |
| preemption | Preemption policy value between 0 and 1. |
| Parameter | Description |
|---|---|
| none | This function does not return a value. |
netcdf.setChunkCache changes the default chunk cache settings for later operations.
Existing open variables may keep their current cache settings.
[cacheSize, nelems, preemption] = netcdf.getChunkCache();
netcdf.setChunkCache(cacheSize, nelems, preemption);
[cacheSize2, nelems2, preemption2] = netcdf.getChunkCache()
| Version | Description |
|---|---|
| 2.0.0 | initial version |