Package ucar.nc2.ui.op
Class DatasetWriter.BeanChunker
- java.lang.Object
-
- ucar.nc2.ui.op.DatasetWriter.BeanChunker
-
- All Implemented Interfaces:
Nc4Chunking
- Enclosing class:
- DatasetWriter
public static class DatasetWriter.BeanChunker extends Object implements Nc4Chunking
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ucar.nc2.write.Nc4Chunking
Nc4Chunking.Strategy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]
computeChunking(Variable v)
Compute the chunk size for this Variable.int
getDeflateLevel(Variable v)
Get the deflation level.boolean
isChunked(Variable v)
Should this variable be chunked?boolean
isShuffle(Variable v)
Set true to turn shuffling on which may improve compression.
-
-
-
Method Detail
-
isChunked
public boolean isChunked(Variable v)
Description copied from interface:Nc4Chunking
Should this variable be chunked?- Specified by:
isChunked
in interfaceNc4Chunking
-
computeChunking
public long[] computeChunking(Variable v)
Description copied from interface:Nc4Chunking
Compute the chunk size for this Variable.- Specified by:
computeChunking
in interfaceNc4Chunking
-
getDeflateLevel
public int getDeflateLevel(Variable v)
Description copied from interface:Nc4Chunking
Get the deflation level. 0 corresponds to no compression and 9 to maximum compression.- Specified by:
getDeflateLevel
in interfaceNc4Chunking
-
isShuffle
public boolean isShuffle(Variable v)
Description copied from interface:Nc4Chunking
Set true to turn shuffling on which may improve compression. This option is ignored unless a non-zero deflation level is specified.- Specified by:
isShuffle
in interfaceNc4Chunking
-
-