Skip to content

Commit

Permalink
[Docs] correct module calls to match imports (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
callumrollo authored Oct 16, 2024
1 parent 071d46b commit 2013e76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/icechunk-python/xarray.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ from icechunk import IcechunkStore, StorageConfig
=== "S3 Storage"

```python
storage_config = icechunk.StorageConfig.s3_from_env(
storage_config = StorageConfig.s3_from_env(
bucket="icechunk-test",
prefix="xarray-demo"
)
store = icechunk.IcechunkStore.create(storage_config)
store = IcechunkStore.create(storage_config)
```

=== "Local Storage"

```python
storage_config = icechunk.StorageConfig.filesystem("./icechunk-xarray")
store = icechunk.IcechunkStore.create(storage_config)
storage_config = StorageConfig.filesystem("./icechunk-xarray")
store = IcechunkStore.create(storage_config)
```

## Open tutorial dataset from Xarray
Expand Down

0 comments on commit 2013e76

Please sign in to comment.