Skip to content

Commit 2cedc8e

Browse files
Formatting
1 parent d607b55 commit 2cedc8e

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

docs/source/reference/esm-catalog-spec.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -94,30 +94,32 @@ An assets object describes the columns in the CSV file relevant for opening the
9494
````{note}
9595
Zarr v3 is built on asynchronous operations, and requires `xarray_open_kwargs` to contain the following dictionary fragment:
9696
```python
97-
xarray_open_kwargs ={
98-
"storage_options" : {
99-
"remote_options" : {
100-
"async": true,
101-
...
102-
}
103-
},
97+
xarray_open_kwargs = {
98+
"storage_options" : {
99+
"remote_options" : {
100+
"async": true,
101+
...
102+
},
103+
...
104+
},
104105
...
105-
}
106+
}
106107
```
107108
108109
In contrast, Zarr v2 is synchronous and instead requires:
109110
110-
```python
111-
xarray_open_kwargs ={
111+
```python
112+
xarray_open_kwargs = {
112113
"storage_options" : {
113-
"remote_options" : {
114-
"async": false,
114+
"remote_options" : {
115+
"async": false,
116+
...
117+
},
115118
...
116-
}
117-
},
118-
...
119+
},
120+
...
119121
}
120-
```
122+
```
121123
````
122124

123125
If `zarr2` or `zarr3` is specified in the `format` field, the `async` flag will be set automatically. If you specify `zarr` as the format, you must set the `async` flag manually in the `xarray_open_kwargs`.

0 commit comments

Comments
 (0)