Zarr.NET  0.6.1
Zarr reader and writer in .NET
Loading...
Searching...
No Matches
ZarrNET.ZarrV2ArrayDocument Class Referencesealed

Raw deserialization of a .zarray file (Zarr v2). Maps array metadata — shape, chunks, dtype, compression. More...

Static Public Member Functions

static ZarrV2ArrayDocument Parse (string json)
 
static ZarrV2ArrayDocument Parse (byte[] utf8Json)
 

Properties

int ZarrFormat [get]
 
long[] Shape = Array.Empty<long>() [get]
 
int[] Chunks = Array.Empty<int>() [get]
 
string Dtype = string.Empty [get]
 Numpy-style dtype string, e.g. "&lt;u2" (little-endian uint16), "&gt;f4" (big-endian float32).
 
ZarrV2CompressorDocumentCompressor [get]
 Compressor configuration. Null means no compression. Example: { "id": "gzip", "level": 5 }.
 
JsonElement? FillValue [get]
 
string Order = "C" [get]
 Array order: "C" (row-major) or "F" (column-major). Almost always "C".
 
JsonElement? Filters [get]
 
string? DimensionSeparator [get]
 

Detailed Description

Raw deserialization of a .zarray file (Zarr v2). Maps array metadata — shape, chunks, dtype, compression.

Property Documentation

◆ Chunks

int [] ZarrNET.ZarrV2ArrayDocument.Chunks = Array.Empty<int>()
get
23{ get; init; } = Array.Empty<int>();

◆ Compressor

ZarrV2CompressorDocument? ZarrNET.ZarrV2ArrayDocument.Compressor
get

Compressor configuration. Null means no compression. Example: { "id": "gzip", "level": 5 }.

36{ get; init; }

◆ DimensionSeparator

string? ZarrNET.ZarrV2ArrayDocument.DimensionSeparator
get
51{ get; init; }

◆ Dtype

string ZarrNET.ZarrV2ArrayDocument.Dtype = string.Empty
get

Numpy-style dtype string, e.g. "&lt;u2" (little-endian uint16), "&gt;f4" (big-endian float32).

29{ get; init; } = string.Empty;

◆ FillValue

JsonElement? ZarrNET.ZarrV2ArrayDocument.FillValue
get
39{ get; init; }

◆ Filters

JsonElement? ZarrNET.ZarrV2ArrayDocument.Filters
get
48{ get; init; }

◆ Order

string ZarrNET.ZarrV2ArrayDocument.Order = "C"
get

Array order: "C" (row-major) or "F" (column-major). Almost always "C".

45{ get; init; } = "C";

◆ Shape

long [] ZarrNET.ZarrV2ArrayDocument.Shape = Array.Empty<long>()
get
20{ get; init; } = Array.Empty<long>();

◆ ZarrFormat

int ZarrNET.ZarrV2ArrayDocument.ZarrFormat
get
17{ get; init; }

The documentation for this class was generated from the following file: