Skip to content

Commit cdfb3c3

Browse files
authored
Merge branch 'main' into perf/store-sync
2 parents 748657d + 1cb1cce commit cdfb3c3

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

changes/3464.doc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add documentation example for creating uncompressed arrays in the Compression section of the user guide.

docs/overrides/stylesheets/extra.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
color: white;
5353
}
5454

55-
/* Search box styling */
56-
.md-search__input {
55+
/* Search box styling in the header */
56+
.md-header .md-search__input {
5757
background-color: rgba(255, 255, 255, 0.15);
5858
border: 1px solid rgba(255, 255, 255, 0.2);
5959
color: white;
6060
}
6161

62-
.md-search__input::placeholder {
62+
.md-header .md-search__input::placeholder {
6363
color: rgba(255, 255, 255, 0.7);
6464
}
6565

docs/user-guide/arrays.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ print(z.info_complete())
224224
If you don't specify a compressor, by default Zarr uses the Zstandard
225225
compressor.
226226

227+
To create an array without any compression, set `compressors=None`:
228+
229+
```python exec="true" session="arrays" source="above" result="ansi"
230+
z_no_compress = zarr.create_array(store='data/example-uncompressed.zarr', shape=(10000, 10000), chunks=(1000, 1000), dtype='int32', compressors=None)
231+
print(f"Compressors: {z_no_compress.compressors}")
232+
```
233+
227234
In addition to Blosc and Zstandard, other compression libraries can also be used. For example,
228235
here is an array using Gzip compression, level 1:
229236

0 commit comments

Comments
 (0)