Skip to content

Commit

Permalink
do less
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarusA committed Sep 10, 2024
1 parent 500fb14 commit bd54221
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 @@ -89,7 +89,7 @@ using YAXArrays, Zarr, FillArrays
create the `Zeros` array

````@ansi write
a = YAXArray(Zeros(Union{Missing, Float32}, 20, 10, 5))
a = YAXArray(Zeros(Union{Missing, Float32}, 5, 4, 5))
````

Now, save to disk with
Expand Down Expand Up @@ -143,7 +143,7 @@ ds_array = ds_open["skeleton"]
and then we simply update values by indexing them where necessary

````@example write
ds_array[:,:,1] = rand(Float32, 20, 10) # this will update values directly into disk!
ds_array[:,:,1] = rand(Float32, 5, 4) # this will update values directly into disk!
````

we can verify is this working by loading again directly from disk
Expand Down

0 comments on commit bd54221

Please sign in to comment.