Package ucar.nc2.write
Interface Nc4Chunking
-
- All Known Implementing Classes:
Nc4ChunkingDefault
,Nc4ChunkingStrategy
,Nc4ChunkingStrategyGrib
,Nc4ChunkingStrategyNone
public interface Nc4Chunking
Interface for strategies deciding how to chunk netcdf-4 variables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Nc4Chunking.Strategy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long[]
computeChunking(Variable.Builder<?> vb)
Compute the chunk size for this Variable.long[]
getChunking(Variable v)
int
getDeflateLevel(Variable.Builder<?> vb)
Get the deflation level.boolean
isChunked(Variable v)
Should this variable be chunked?boolean
isChunked(Variable.Builder<?> vb)
boolean
isShuffle(Variable.Builder<?> vb)
Set true to turn shuffling on which may improve compression.
-
-
-
Method Detail
-
isChunked
boolean isChunked(Variable v)
Should this variable be chunked?
-
isChunked
boolean isChunked(Variable.Builder<?> vb)
-
getChunking
long[] getChunking(Variable v)
-
computeChunking
long[] computeChunking(Variable.Builder<?> vb)
Compute the chunk size for this Variable.
-
getDeflateLevel
int getDeflateLevel(Variable.Builder<?> vb)
Get the deflation level. 0 corresponds to no compression and 9 to maximum compression.
-
isShuffle
boolean isShuffle(Variable.Builder<?> vb)
Set true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.
-
-