Class Nc4ChunkingDefault

    • Constructor Detail

      • Nc4ChunkingDefault

        public Nc4ChunkingDefault()
      • Nc4ChunkingDefault

        public Nc4ChunkingDefault​(int deflateLevel,
                                  boolean shuffle)
    • Method Detail

      • getDefaultChunkSize

        public int getDefaultChunkSize()
      • setDefaultChunkSize

        public void setDefaultChunkSize​(int defaultChunkSize)
      • getMinVariableSize

        public int getMinVariableSize()
      • setMinVariableSize

        public void setMinVariableSize​(int minVariableSize)
      • getMinChunksize

        public int getMinChunksize()
      • setMinChunksize

        public void setMinChunksize​(int minChunksize)
      • isChunked

        public boolean isChunked​(Variable v)
        Description copied from interface: Nc4Chunking
        Should this variable be chunked?
      • computeChunking

        public long[] computeChunking​(Variable v)
        Description copied from interface: Nc4Chunking
        Compute the chunk size for this Variable.
      • computeUnlimitedChunking

        public int[] computeUnlimitedChunking​(List<Dimension> dims,
                                              int elemSize)
      • convertUnlimitedShape

        protected int[] convertUnlimitedShape​(List<Dimension> dims)
      • convertToLong

        protected long[] convertToLong​(int[] shape)