Skip to content

Commit 31eaa2c

Browse files
authored
Icechunk example (#708)
* Importing cubed should allow access to cubed.random * Add icechunk to doc requirements
1 parent 073b536 commit 31eaa2c

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

cubed/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
defaults=[{"spec": {"allowed_mem": "2GB", "reserved_mem": "100MB"}}],
1414
)
1515

16+
import cubed.random # noqa: F401
17+
1618
from .array.nan_functions import nanmean, nansum
1719
from .array.overlap import map_overlap
1820
from .array.pad import pad
@@ -38,6 +40,7 @@
3840
"nanmean",
3941
"nansum",
4042
"pad",
43+
"random",
4144
"rechunk",
4245
"store",
4346
"to_zarr",

docs/examples/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ basic-array-ops
1111
zarr
1212
xarray
1313
rechunking
14+
icechunk
1415
pangeo
1516
```

docs/requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
# cubed
2-
apache-beam
32
fsspec
4-
lithops[aws] >= 3.3.0
5-
modal
63
mypy_extensions # for rechunker
74
networkx != 2.8.3, != 2.8.4, != 2.8.5, != 2.8.6, != 2.8.7, != 2.8.8, != 3.0.*, != 3.1.*, != 3.2.*
85
numpy >= 1.22
96
pydot
107
pytest
118
pytest-cov
129
pytest-mock
13-
s3fs
1410
tenacity
1511
toolz
1612
tqdm
@@ -19,6 +15,7 @@ cubed-xarray
1915
xarray
2016
pooch
2117
netCDF4
18+
icechunk
2219

2320
# docs
2421
sphinx-book-theme

0 commit comments

Comments
 (0)