Commit 4d85a03
Append to icechunk stores (#272)
* Initial attempt at appending
* Working on tests for generate chunk key function
* Linting
* Refactor gen virtual dataset method
* Fix spelling
* Linting
* Linting
* Linting
* Passing compression test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* linting
* Fix test failing due to incorrect dtype
* linting
* Linting
* Remove obsolete test file for appending
* Create netcdf4 files factor in conftest
* Linting
* Refactor to use combineable zarr arrays
* linting
* Implement no append dim test
* Add test for when append dim is not in dims
* Fix mypy errors
* type ignore import untyped zarr
* Use Union type for check_combineable_zarr_arrays arg
* Fix import
* Fix imports for get_codecs
* use new factory in test
* Remove need for dask in fixture
* Fix for when zarr is not installed
* Address test failures
* Add get_codecs file
* Add dask to upstream
* Remove dependency on dask and h5netcdf engine
* Remove obsolete comment
* Remove duplicate zarr array type check
* Move codecs module and type output
* Actually add codecs file
* Fix merge mistake
* Ignore import untyped
* Add tests for codecs
* Resolve mypy errors
* Fix test
* Import zarr in function
* Use existing importorskip function
* Modify comments
* Comment updates and spelling of combinable
* Revert change to check compatible encoding
* Ignore zarr untyped import errors
* Implement a manifest.utils module
* pass the array into resize_array
Co-authored-by: Tom Nicholas <tom@cworthy.org>
* Refactor resize_array
* Remove unnecessary zarr imports
* Add pinned version of icechunk as an optional dependency
* Add append_dim in docstring
* Kludgy solution to v2 v3 codecs difference
* Add normalize to v3 parameter
* Add more info to docstring
* Fix typing issues
* Add decorator for zarr python v3 test
* Fix mypy and ruff errors
* Only append if append_dim in dims
* Add example notebook
* Add a runtime
* Add failing test
* Fix multiple appends
* Fix test error message
* Add new cell to notebook to display original time chunk
* Upgrade icechunk to 1.0.0a5
* Upgrade icechunk in upstream.yml
* Updated notebook with kechunk comment an upgraded icechunk version
* Modify test so it fails without updated icechunk
* Update icechunk dependency
* Fix mypy errors
* update icechunk version in pyproject
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove obsolete comment
* Use icechunk 0.1.0a7
* Updated notebook
* Updated notebook
* print store
* Update notebook (#327)
Co-authored-by: Aimee Barciauskas <aimee@developmentseed.org>
* Add append to examples
* Add to releases.rst
* Revert change to .gitignore
* Update ci/upstream.yml
Co-authored-by: Tom Nicholas <tom@cworthy.org>
* Update pyproject.toml
Co-authored-by: Tom Nicholas <tom@cworthy.org>
* Update virtualizarr/tests/test_writers/test_icechunk.py
Co-authored-by: Tom Nicholas <tom@cworthy.org>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update virtualizarr/accessor.py
Co-authored-by: Tom Nicholas <tom@cworthy.org>
* Separate out multiple arrays test
---------
Co-authored-by: Tom Nicholas <tom@cworthy.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Matthew Iannucci <matthew@earthmover.io>1 parent 20dd9dc commit 4d85a03
File tree
15 files changed
+2412
-178
lines changed- ci
- docs
- examples/append
- virtualizarr
- manifests
- tests
- test_writers
- writers
15 files changed
+2412
-178
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
38 | 66 | | |
39 | 67 | | |
40 | 68 | | |
| |||
71 | 99 | | |
72 | 100 | | |
73 | 101 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments