Package ucar.nc2.write
Class Nc4ChunkingStrategy
java.lang.Object
ucar.nc2.write.Nc4ChunkingStrategy
- All Implemented Interfaces:
Nc4Chunking
- Direct Known Subclasses:
Nc4ChunkingDefault
Abstract superclass for netcdf-4 chunking strategy.
- Since:
- 11/14/12
-
Nested Class Summary
Nested classes/interfaces inherited from interface ucar.nc2.write.Nc4Chunking
Nc4Chunking.Strategy -
Method Summary
Modifier and TypeMethodDescriptionstatic Nc4Chunkingfactory(Nc4Chunking.Strategy type, int deflateLevel, boolean shuffle) intGet the deflation level.booleanSet true to turn shuffling on which may improve compression.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ucar.nc2.write.Nc4Chunking
computeChunking, isChunked
-
Method Details
-
factory
- Parameters:
type- Strategy typedeflateLevel- 0 corresponds to no compression and 9 to maximum compression,shuffle- true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.- Returns:
- Nc4Chunking implementation
-
getDeflateLevel
Description copied from interface:Nc4ChunkingGet the deflation level. 0 corresponds to no compression and 9 to maximum compression.- Specified by:
getDeflateLevelin interfaceNc4Chunking
-
isShuffle
Description copied from interface:Nc4ChunkingSet true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.- Specified by:
isShufflein interfaceNc4Chunking
-