Skip to content

Commit 29d9fb8

Browse files
committed
added new updates to io.rst
1 parent 678d4e9 commit 29d9fb8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/user-guide/io.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,16 +1020,17 @@ The following example shows opening a combined references generated from a ``.hd
10201020
10211021
storage_options = {
10221022
"target_protocol": "file",
1023-
"remote_protocol": "s3", # assuming you're working with a file in AWS
10241023
}
10251024
1026-
ds = xr.open_dataset(
1025+
# add **remote_protocol** key in ``storage_options`` if you're accessing a file in the cloud
1026+
1027+
ds1 = xr.open_dataset(
10271028
"./combined.json",
10281029
engine="kerchunk",
10291030
storage_options=storage_options,
10301031
)
10311032
1032-
ds
1033+
ds1
10331034
10341035
.. note::
10351036

0 commit comments

Comments
 (0)