Package ucar.nc2
Class FileWriter.ChunkingIndex
- java.lang.Object
-
- ucar.ma2.Index
-
- ucar.nc2.FileWriter.ChunkingIndex
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- FileWriter
public static class FileWriter.ChunkingIndex extends ucar.ma2.IndexDeprecated.use FileWriter2.ChunkingIndex
-
-
Constructor Summary
Constructors Constructor Description ChunkingIndex(int[] shape)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int[]computeChunkShape(long maxChunkElems)Deprecated.Computes the shape of the largest possible contiguous chunk, starting atIndex.getCurrentCounter()and withnumElems <= maxChunkElems.
-
-
-
Method Detail
-
computeChunkShape
public int[] computeChunkShape(long maxChunkElems)
Deprecated.Computes the shape of the largest possible contiguous chunk, starting atIndex.getCurrentCounter()and withnumElems <= maxChunkElems.- Parameters:
maxChunkElems- the maximum number of elements in the chunk shape. The actual element count of the shape returned is likely to be different, and can be found withIndex.computeSize(int[]).- Returns:
- the shape of the largest possible contiguous chunk.
-
-