Package ucar.nc2.write
Class Nc4ChunkingStrategyGrib
- java.lang.Object
-
- ucar.nc2.write.Nc4ChunkingStrategy
-
- ucar.nc2.write.Nc4ChunkingDefault
-
- ucar.nc2.write.Nc4ChunkingStrategyGrib
-
- All Implemented Interfaces:
Nc4Chunking
public class Nc4ChunkingStrategyGrib extends Nc4ChunkingDefault
chunk on last 2 dimensions, like GRIB- Since:
- 11/26/12
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ucar.nc2.write.Nc4Chunking
Nc4Chunking.Strategy
-
-
Constructor Summary
Constructors Constructor Description Nc4ChunkingStrategyGrib(int deflateLevel, boolean shuffle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]
computeChunking(Variable v)
Compute the chunk size for this Variable.boolean
isChunked(Variable v)
Should this variable be chunked?-
Methods inherited from class ucar.nc2.write.Nc4ChunkingDefault
computeUnlimitedChunking, convertToLong, convertUnlimitedShape, getDefaultChunkSize, getMinChunksize, getMinVariableSize, setDefaultChunkSize, setMinChunksize, setMinVariableSize
-
Methods inherited from class ucar.nc2.write.Nc4ChunkingStrategy
computeChunkingFromAttribute, factory, getChunkAttribute, getDeflateLevel, isShuffle
-
-
-
-
Method Detail
-
isChunked
public boolean isChunked(Variable v)
Description copied from interface:Nc4Chunking
Should this variable be chunked?- Specified by:
isChunked
in interfaceNc4Chunking
- Overrides:
isChunked
in classNc4ChunkingDefault
-
computeChunking
public long[] computeChunking(Variable v)
Description copied from interface:Nc4Chunking
Compute the chunk size for this Variable.- Specified by:
computeChunking
in interfaceNc4Chunking
- Overrides:
computeChunking
in classNc4ChunkingDefault
-
-