-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
467 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
".specloc": "specifications", | ||
"data_type": "FooFile", | ||
"namespace": "test_core", | ||
"object_id": "660f1c92-d141-40d2-995f-2bb46c87c017" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"metadata": { | ||
".zattrs": { | ||
"data_type": "FooFile", | ||
"namespace": "test_core", | ||
"object_id": "660f1c92-d141-40d2-995f-2bb46c87c017" | ||
}, | ||
".zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/.zattrs": { | ||
"data_type": "FooBucket", | ||
"namespace": "test_core", | ||
"object_id": "7c5adf36-8f84-4f63-a948-75f18dade974" | ||
}, | ||
"buckets/bucket1/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/.zattrs": { | ||
"attr1": "I am foo1", | ||
"attr3": 3.14, | ||
"data_type": "Foo", | ||
"namespace": "test_core", | ||
"object_id": "9b3a0668-f73c-4a00-b446-38888c16e551" | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/my_data/.zarray": { | ||
"chunks": [ | ||
5 | ||
], | ||
"compressor": { | ||
"blocksize": 0, | ||
"clevel": 5, | ||
"cname": "lz4", | ||
"id": "blosc", | ||
"shuffle": 1 | ||
}, | ||
"dtype": "<i8", | ||
"fill_value": 0, | ||
"filters": null, | ||
"order": "C", | ||
"shape": [ | ||
5 | ||
], | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/my_data/.zattrs": { | ||
"attr2": 17, | ||
"zarr_dtype": "int64" | ||
}, | ||
"links/.zgroup": { | ||
"zarr_format": 2 | ||
} | ||
}, | ||
"zarr_consolidated_format": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"data_type": "FooBucket", | ||
"namespace": "test_core", | ||
"object_id": "7c5adf36-8f84-4f63-a948-75f18dade974" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"attr1": "I am foo1", | ||
"attr3": 3.14, | ||
"data_type": "Foo", | ||
"namespace": "test_core", | ||
"object_id": "9b3a0668-f73c-4a00-b446-38888c16e551" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
20 changes: 20 additions & 0 deletions
20
file1.zarr/buckets/bucket1/foo_holder/foo1/my_data/.zarray
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"chunks": [ | ||
5 | ||
], | ||
"compressor": { | ||
"blocksize": 0, | ||
"clevel": 5, | ||
"cname": "lz4", | ||
"id": "blosc", | ||
"shuffle": 1 | ||
}, | ||
"dtype": "<i8", | ||
"fill_value": 0, | ||
"filters": null, | ||
"order": "C", | ||
"shape": [ | ||
5 | ||
], | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"attr2": 17, | ||
"zarr_dtype": "int64" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
30 changes: 30 additions & 0 deletions
30
file1.zarr/specifications/test_core/0.1.0/namespace/.zarray
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"chunks": [ | ||
1 | ||
], | ||
"compressor": null, | ||
"dtype": "|O", | ||
"fill_value": 0, | ||
"filters": [ | ||
{ | ||
"allow_nan": true, | ||
"check_circular": true, | ||
"encoding": "utf-8", | ||
"ensure_ascii": true, | ||
"id": "json2", | ||
"indent": null, | ||
"separators": [ | ||
",", | ||
":" | ||
], | ||
"skipkeys": false, | ||
"sort_keys": true, | ||
"strict": true | ||
} | ||
], | ||
"order": "C", | ||
"shape": [ | ||
1 | ||
], | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_dtype": "scalar" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
["{\"namespaces\":[{\"doc\":\"a test namespace\",\"schema\":[{\"source\":\"test\"}],\"name\":\"test_core\",\"version\":\"0.1.0\"}]}","|O",[1]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"chunks": [ | ||
1 | ||
], | ||
"compressor": null, | ||
"dtype": "|O", | ||
"fill_value": 0, | ||
"filters": [ | ||
{ | ||
"allow_nan": true, | ||
"check_circular": true, | ||
"encoding": "utf-8", | ||
"ensure_ascii": true, | ||
"id": "json2", | ||
"indent": null, | ||
"separators": [ | ||
",", | ||
":" | ||
], | ||
"skipkeys": false, | ||
"sort_keys": true, | ||
"strict": true | ||
} | ||
], | ||
"order": "C", | ||
"shape": [ | ||
1 | ||
], | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_dtype": "scalar" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
["{\"groups\":[{\"datasets\":[{\"dtype\":\"int\",\"doc\":\"an example dataset\",\"name\":\"my_data\",\"attributes\":[{\"doc\":\"an example integer attribute\",\"name\":\"attr2\",\"dtype\":\"int\"}]}],\"doc\":\"A test group specification with a data type\",\"data_type_def\":\"Foo\",\"attributes\":[{\"doc\":\"an example string attribute\",\"name\":\"attr1\",\"dtype\":\"text\"},{\"doc\":\"an example float attribute\",\"name\":\"attr3\",\"dtype\":\"float\"}]},{\"groups\":[{\"groups\":[{\"doc\":\"the Foos in this bucket\",\"quantity\":\"*\",\"data_type_inc\":\"Foo\"}],\"doc\":\"A subgroup for Foos\",\"name\":\"foo_holder\"}],\"doc\":\"A test group specification for a data type containing data type\",\"data_type_def\":\"FooBucket\"},{\"groups\":[{\"groups\":[{\"doc\":\"One or more FooBuckets\",\"quantity\":\"*\",\"data_type_inc\":\"FooBucket\"}],\"doc\":\"Holds the FooBuckets\",\"name\":\"buckets\"},{\"links\":[{\"doc\":\"Foo link\",\"name\":\"foo_link\",\"target_type\":\"Foo\",\"quantity\":\"?\"}],\"doc\":\"Foo link group\",\"name\":\"links\"}],\"datasets\":[{\"dtype\":\"int\",\"doc\":\"Foo data\",\"name\":\"foofile_data\",\"quantity\":\"?\"}],\"doc\":\"A file of Foos contained in FooBuckets\",\"data_type_def\":\"FooFile\",\"attributes\":[{\"doc\":\"Foo ref attr\",\"name\":\"foo_ref_attr\",\"required\":false,\"dtype\":{\"target_type\":\"Foo\",\"reftype\":\"object\"}}]}]}","|O",[1]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
".specloc": "specifications", | ||
"data_type": "FooFile", | ||
"foo_ref_attr": { | ||
"value": { | ||
"object_id": "2a36d892-ab46-4b0c-bd6b-31ce6533d071", | ||
"path": "/buckets/bucket2/foo_holder/foo2", | ||
"source": "file2.zarr", | ||
"source_object_id": "660f1c92-d141-40d2-995f-2bb46c87c017" | ||
}, | ||
"zarr_dtype": "object" | ||
}, | ||
"namespace": "test_core", | ||
"object_id": "660f1c92-d141-40d2-995f-2bb46c87c017", | ||
"zarr_link": [ | ||
{ | ||
"name": "foofile_data", | ||
"path": "/buckets/bucket1/foo_holder/foo1/my_data", | ||
"source": "file2.zarr" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
{ | ||
"metadata": { | ||
".zattrs": { | ||
"data_type": "FooFile", | ||
"foo_ref_attr": { | ||
"value": { | ||
"object_id": "2a36d892-ab46-4b0c-bd6b-31ce6533d071", | ||
"path": "/buckets/bucket2/foo_holder/foo2", | ||
"source": "file2.zarr", | ||
"source_object_id": "660f1c92-d141-40d2-995f-2bb46c87c017" | ||
}, | ||
"zarr_dtype": "object" | ||
}, | ||
"namespace": "test_core", | ||
"object_id": "660f1c92-d141-40d2-995f-2bb46c87c017", | ||
"zarr_link": [ | ||
{ | ||
"name": "foofile_data", | ||
"path": "/buckets/bucket1/foo_holder/foo1/my_data", | ||
"source": "file2.zarr" | ||
} | ||
] | ||
}, | ||
".zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/.zattrs": { | ||
"data_type": "FooBucket", | ||
"namespace": "test_core", | ||
"object_id": "7c5adf36-8f84-4f63-a948-75f18dade974" | ||
}, | ||
"buckets/bucket1/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/.zattrs": { | ||
"attr1": "I am foo1", | ||
"attr3": 3.14, | ||
"data_type": "Foo", | ||
"namespace": "test_core", | ||
"object_id": "9b3a0668-f73c-4a00-b446-38888c16e551" | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/my_data/.zarray": { | ||
"chunks": [ | ||
5 | ||
], | ||
"compressor": { | ||
"blocksize": 0, | ||
"clevel": 5, | ||
"cname": "lz4", | ||
"id": "blosc", | ||
"shuffle": 1 | ||
}, | ||
"dtype": "<i8", | ||
"fill_value": 0, | ||
"filters": null, | ||
"order": "C", | ||
"shape": [ | ||
5 | ||
], | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket1/foo_holder/foo1/my_data/.zattrs": { | ||
"attr2": 17, | ||
"zarr_dtype": "int64" | ||
}, | ||
"buckets/bucket2/.zattrs": { | ||
"data_type": "FooBucket", | ||
"namespace": "test_core", | ||
"object_id": "e60cc181-8b03-43d7-9c63-96a7c2b672e6" | ||
}, | ||
"buckets/bucket2/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket2/foo_holder/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"buckets/bucket2/foo_holder/foo2/.zattrs": { | ||
"attr1": "I am foo2", | ||
"attr3": 3.14, | ||
"data_type": "Foo", | ||
"namespace": "test_core", | ||
"object_id": "2a36d892-ab46-4b0c-bd6b-31ce6533d071", | ||
"zarr_link": [ | ||
{ | ||
"name": "my_data", | ||
"path": "/buckets/bucket1/foo_holder/foo1/my_data", | ||
"source": "file2.zarr" | ||
} | ||
] | ||
}, | ||
"buckets/bucket2/foo_holder/foo2/.zgroup": { | ||
"zarr_format": 2 | ||
}, | ||
"links/.zattrs": { | ||
"zarr_link": [ | ||
{ | ||
"name": "foo_link", | ||
"path": "/buckets/bucket2/foo_holder/foo2", | ||
"source": "file2.zarr" | ||
} | ||
] | ||
}, | ||
"links/.zgroup": { | ||
"zarr_format": 2 | ||
} | ||
}, | ||
"zarr_consolidated_format": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
Oops, something went wrong.