saalfeldlab / n5-zarr

Zarr filesystem backend for N5
BSD 2-Clause "Simplified" License
12 stars 14 forks source link

Zarr v2 raw compressing encoding not accepted by tensorstore #51

Open mkitti opened 4 weeks ago

mkitti commented 4 weeks ago

The Zarr v2 specification states the the following about the filters field:

filters A list of JSON objects providing codec configurations, or null if no filters are to be applied. Each codec configuration object MUST contain a "id" key identifying the codec to be used.

n5-zarr encodes "raw compression" as [] rather than null. Tensorstore only accepts null when there are no filters.