Skip to content

Commit

Permalink
Update write.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Balinus authored Sep 13, 2024
1 parent f139643 commit fa90f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/UserGuide/write.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Save a dataset to Zarr format with compression:

````@example write
using Blosc
n = 7 # compression level
n = 7 # compression level, number between 0 (no compression) and 9 (max compression)
compression = Zarr.BloscCompressor(clevel=n)
savedataset(ds, path="ds.zarr", driver=:zarr, compressor=compression)
Expand All @@ -59,7 +59,7 @@ nothing # hide
Save a dataset to NetCDF format with compression:

````@example write
n = 7 # compression level
n = 7 # compression level, number between 0 (no compression) and 9 (max compression)
savedataset(ds, path="ds.zarr", driver=:zarr, compress=n)
nothing # hide
````
Expand Down

0 comments on commit fa90f4a

Please sign in to comment.