All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ucar.nc2.write.Nc4ChunkingStrategyNone Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 1998-2018 John Caron and University Corporation for Atmospheric Research/Unidata
 * See LICENSE for license information.
 */

package ucar.nc2.write;

import ucar.nc2.Variable;

/** No chunking is done, except for unlimited variables. */
public class Nc4ChunkingStrategyNone extends Nc4ChunkingDefault {
  @Override
  public boolean isChunked(Variable v) {
    return v.isUnlimited();
  }

  @Override
  public int getDeflateLevel(Variable v) {
    return 0;
  }

  @Override
  public boolean isShuffle(Variable v) {
    return false;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy