Zarr Writer Feature Type Parameters

Raster: Compression

Compression Method

This option sets the compression method: 

  • None
  • BLOSC
  • LZ4
  • LZMA
  • ZLIB
  • ZSTD
  • GZIP

Different algorithms will compress and decompress faster and smaller, depending on the type of data and environment. All of these algorithms will compress the data losslessly, so a compressed Zarr dataset will be identical to the original Zarr dataset.

BLOSC is the default compressor for the Zarr -Python library. It tends to be the fastest while only compromising a bit of compression ratio. It is also the most configurable compressor. For a more widely supported compressor, consider using LZ4 or LZMA.

Additional options can be set for compression levels.

Blosc

LZ4 Acceleration Factor

This option sets the desired compression level of the output dataset.

Value

Number greater than 0:

  • 1 – fastest, least-compressed value possible.
  • 2 – slowest but most-compressed option, with each step gaining about +3% speed

Maximum Value

65537

Default

1

LZMA Compression Preset

This option sets the desired compression level of the output dataset.

Value

Number between 0 and 9:

  • 0 – minimum amount of compression
  • 9 – slowest option; provides the maximum amount of compression

Default

6

ZLIB Compression Level

Value

Number between 0 and 9:

  • 1 – minimum amount of compression
  • 9 – slowest option; provides the maximum amount of compression

Default

6

ZSTD Compression Level

Value

Number between 0 and 9:

  • 0 – minimum amount of compression
  • 22 – slowest option; provides the maximum amount of compression

Default

13

GZIP Compression Level

Value

Number between 1 and 9:

  • 0 – minimum amount of compression
  • 9 – slowest option; provides the maximum amount of compression

Default

6

Advanced