Skip to content

Commit bcc4993

Browse files
committed
Nit on readme demo.
1 parent 061f443 commit bcc4993

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ import xarray_sql as xql
2424
# keeps Dask's partition setup cheap before any chunks are read from GCS.
2525
ds = (
2626
xr.open_zarr('gs://gcp-public-data-arco-era5/ar/full_37-1h-0p25deg-chunk-1.zarr-v3',
27-
chunks=None,
27+
chunks=dict(time=1),
2828
storage_options={'token': 'anon'}) # Anonymous read from the public GCS bucket — no auth required.
2929
.sel(time='2020')
30-
.chunk({'time': 1})
3130
)
3231

3332
ctx = xql.XarrayContext()

0 commit comments

Comments
 (0)