Commit 50b39355 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

set min deflate size of data variables to 16.

parent 63700822
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
2017-03-14 Uwe Schulzweida 2017-03-14 Uwe Schulzweida
* set chunk size of time axis to 512 * set chunk size of time axis to 512
* set min deflate size of data variables to 16
* streamOpenAppend: set defmiss = true (Needed for NetCDF4) * streamOpenAppend: set defmiss = true (Needed for NetCDF4)
2017-03-08 Uwe Schulzweida 2017-03-08 Uwe Schulzweida
......
...@@ -350,7 +350,7 @@ int cdfDefVar(stream_t *streamptr, int varID) ...@@ -350,7 +350,7 @@ int cdfDefVar(stream_t *streamptr, int varID)
vlistInqVarDimorder(vlistID, varID, &dimorder); vlistInqVarDimorder(vlistID, varID, &dimorder);
size_t gridsize = (size_t)(gridInqSize(gridID)); size_t gridsize = (size_t)(gridInqSize(gridID));
bool lchunk = (gridsize > 1); bool lchunk = (gridsize >= 16);
int gridtype = gridInqType(gridID); int gridtype = gridInqType(gridID);
int gridindex = nc_grid_index(streamptr, gridID); int gridindex = nc_grid_index(streamptr, gridID);
if ( gridtype != GRID_TRAJECTORY ) if ( gridtype != GRID_TRAJECTORY )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment