|
ocssw
V2022
|
#include <netcdf.h>#include <stdlib.h>#include <stdint.h>#include <math.h>#include <stdio.h>#include <nc4utils.h>Go to the source code of this file.
Macros | |
| #define | DEFAULT_CHUNK_SIZE 1000 |
| #define | NEW_CACHE_SIZE 16000000 |
| #define | NEW_CACHE_NELEMS 2003 |
| #define | NEW_CACHE_PREEMPTION .75 |
Functions | |
| void | nc_init_chunk_cache () |
| void | nc_init_compress (int32_t nc_id, int32_t var_id, int32_t *dimids, int32_t rank, size_t *chunksize, int deflate_level) |
| int | check_chunksizes (size_t type_len, int32_t ndims, const size_t *chunksizes) |
Macro Definition Documentation
◆ DEFAULT_CHUNK_SIZE
| #define DEFAULT_CHUNK_SIZE 1000 |
Definition at line 8 of file nc_init_compress.c.
◆ NEW_CACHE_NELEMS
| #define NEW_CACHE_NELEMS 2003 |
Definition at line 11 of file nc_init_compress.c.
◆ NEW_CACHE_PREEMPTION
| #define NEW_CACHE_PREEMPTION .75 |
Definition at line 12 of file nc_init_compress.c.
◆ NEW_CACHE_SIZE
| #define NEW_CACHE_SIZE 16000000 |
Definition at line 10 of file nc_init_compress.c.
Function Documentation
◆ check_chunksizes()
| int check_chunksizes | ( | size_t | type_len, |
| int32_t | ndims, | ||
| const size_t * | chunksizes | ||
| ) |
Definition at line 88 of file nc_init_compress.c.
◆ nc_init_chunk_cache()
| void nc_init_chunk_cache | ( | ) |
init the netCDF reading cache sizes to something reasonable
Definition at line 14 of file nc_init_compress.c.
◆ nc_init_compress()
| void nc_init_compress | ( | int32_t | nc_id, |
| int32_t | var_id, | ||
| int32_t * | dimids, | ||
| int32_t | rank, | ||
| size_t * | chunksize, | ||
| int | deflate_level | ||
| ) |
nc_init_compress
R. Healy 9/26/2016
- Parameters
-
[in]
Definition at line 37 of file nc_init_compress.c.


