Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 1.52 KB

zarr.md

File metadata and controls

64 lines (38 loc) · 1.52 KB

zarr:, zarr2:, and zarr3: adapter URL schemes

  • Version: 1

This is an adapter URL scheme for Zarr arrays and groups.

Base resource kind

The base resource must refer to a directory data resource kind.

Syntax

adapter-sub-url =/ zarr-url
zarr-url        =  zarr-scheme [ ":" zarr-path ]
zarr-scheme     =  "zarr" / "zarr2" / "zarr3"
zarr-path       =  *( pchar / "/" )

The zarr2: and zarr3: schemes explicitly indicate the Zarr format version. For the zarr: scheme, the implementation must automatically detect the Zarr format version.

Resource kind

The resultant resource kind may be either array or array-group.

Examples

  • file:///path/to/node.zarr/|zarr3:

    Refers to the Zarr v3 array or group specified by the base URL.

  • file:///path/to/node.zarr/|zarr3

    Equivalent to the above.

  • file:///path/to/node.zarr/|zarr2:

    Refers to the Zarr v2 array or group specified by the base URL.

  • file:///path/to/node.zarr/|zarr2

    Equivalent to the above.

  • file:///path/to/node.zarr/|zarr:

    Refers to the Zarr array or group specified by the base URL, with format version auto-detection.

  • file:///path/to/node.zarr/|zarr

    Equivalent to the above.

Implementations