You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
re: #2733
When addressing the above issue, I noticed that there was a disconnect
in NCZarr between nc_set_chunk_cache and nc_set_var_chunk cache.
Specifically, setting nc_set_chunk_cache had no impact on the per-variable cache parameters when nc_set_var_chunk_cache was not used.
So, modified the NCZarr code so that the per-variable cache parameters are set in this order (#1 is first choice):
1. The values set by nc_set_var_chunk_cache
2. The values set by nc_set_chunk_cache
3. The defaults set by configure.ac
SET(CHUNK_CACHE_NELEMS ${DEFAULT_CHUNKS_IN_CACHE}CACHESTRING"Default maximum number of elements in cache.")
376
+
SET(CHUNK_CACHE_PREEMPTION ${DEFAULT_CHUNK_CACHE_PREEMPTION}CACHESTRING"Default file chunk cache preemption policy for HDf5 files(a number between 0 and 1, inclusive.")
377
+
375
378
SET(NETCDF_LIB_NAME ""CACHESTRING"Default name of the netcdf library.")
376
379
SET(TEMP_LARGE "."CACHESTRING"Where to put large temp files if large file tests are run.")
377
380
SET(NCPROPERTIES_EXTRA ""CACHESTRING"Specify extra pairs for _NCProperties.")
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ This file contains a high-level description of this package's evolution. Release
7
7
8
8
## 4.9.3 - TBD
9
9
10
+
* Fix default parameters for caching of NCZarr. See [Github #????](https://github.com/Unidata/netcdf-c/pull/????).
10
11
* Introducing configure-time options to disable various filters, even if the required libraries are available on the system, in support of [GitHub #2712](https://github.com/Unidata/netcdf-c/pull/2712).
0 commit comments