Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Aug 9, 2023
1 parent 634c53d commit 36bbe55
Showing 1 changed file with 22 additions and 48 deletions.
70 changes: 22 additions & 48 deletions notebooks/zarr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 1,
"id": "7a060f7d-9a0c-4763-98df-7dc82409c6ba",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -34,33 +34,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"id": "2b10a868-849b-4bd1-9a12-ba0ce81e57f5",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[ANS(device_ordinal=0),\n",
" Bitcomp(device_ordinal=0),\n",
" Cascaded(device_ordinal=0),\n",
" Gdeflate(device_ordinal=0),\n",
" LZ4(device_ordinal=0),\n",
" Snappy(device_ordinal=0)]"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"kvikio.zarr.nvcomp_compressors"
]
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 2,
"id": "c179c24a-766e-4e09-83c5-349868042576",
"metadata": {},
"outputs": [
Expand All @@ -69,10 +43,10 @@
"text/plain": [
"(<zarr.core.Array (10,) int64>,\n",
" NvCompBatchCodec(algorithm='lz4', options={}),\n",
" <kvikio.zarr.GDSStore at 0x7f628e964e80>)"
" <kvikio.zarr.GDSStore at 0x7fd42021ad10>)"
]
},
"execution_count": 27,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -92,7 +66,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand All @@ -101,7 +75,7 @@
"cupy.ndarray"
]
},
"execution_count": 28,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -121,7 +95,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 4,
"id": "8221742d-f15c-450a-9701-dc8c05326126",
"metadata": {},
"outputs": [
Expand All @@ -131,7 +105,7 @@
"array([1, 2, 3, 4, 5, 6, 7, 8])"
]
},
"execution_count": 29,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -142,7 +116,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 5,
"id": "f0c451c1-a240-4b26-a5ef-6e70a5bbeb55",
"metadata": {},
"outputs": [
Expand All @@ -152,7 +126,7 @@
"array([42, 43, 44, 45, 46, 47, 48, 49, 50, 51])"
]
},
"execution_count": 30,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -179,7 +153,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 6,
"id": "399f23f7-4475-496a-a537-a7163a35c888",
"metadata": {},
"outputs": [
Expand All @@ -191,7 +165,7 @@
" array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))"
]
},
"execution_count": 31,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -211,7 +185,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 7,
"id": "4b1f46b2",
"metadata": {},
"outputs": [
Expand All @@ -223,7 +197,7 @@
" array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))"
]
},
"execution_count": 32,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -245,7 +219,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 8,
"id": "d980361a-e132-4f29-ab13-cbceec5bbbb5",
"metadata": {},
"outputs": [
Expand All @@ -255,7 +229,7 @@
"(numpy.ndarray, numcodecs.lz4.LZ4, array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))"
]
},
"execution_count": 33,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -284,7 +258,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 9,
"id": "c9b2d56a",
"metadata": {},
"outputs": [
Expand All @@ -293,10 +267,10 @@
"text/plain": [
"(<zarr.core.Array (10,) int64>,\n",
" LZ4(acceleration=1),\n",
" <zarr.storage.DirectoryStore at 0x7f61c01ae590>)"
" <zarr.storage.DirectoryStore at 0x7fd351dff880>)"
]
},
"execution_count": 34,
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -325,7 +299,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 10,
"id": "ac3f30b1",
"metadata": {},
"outputs": [
Expand All @@ -337,7 +311,7 @@
" array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))"
]
},
"execution_count": 35,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -356,7 +330,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 11,
"id": "80682922-b7b0-4b08-b595-228c2b446a78",
"metadata": {},
"outputs": [],
Expand Down

0 comments on commit 36bbe55

Please sign in to comment.