Commit ad25833
Check if zarr store supports consolidated metadata (#10457)
* new blank whatsnew
* add test for store which explicitly does not support consolidated metadata
* check for consolidated metadata support
* WrapperStore now only imported and used if zarr v3
* use dedicated decorator
* use getattr in case property not defined
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* implement with_read_only
* change test to not expect warning if consolidated metadata not supported
* move store definition outside of test
* try setting Store=None when zarr-python v3 not installed
* remove Store type hint entirely to avoid import issues
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* try WrapperStore = object
* ensure WrapperStore is defined as something even if zarr isn't present at all
* release note
* correct RST syntax
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 0a4b378 commit ad25833
File tree
3 files changed
+56
-6
lines changed- doc
- xarray
- backends
- tests
3 files changed
+56
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1768 | 1768 | | |
1769 | 1769 | | |
1770 | 1770 | | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
1771 | 1776 | | |
1772 | 1777 | | |
1773 | 1778 | | |
| |||
1825 | 1830 | | |
1826 | 1831 | | |
1827 | 1832 | | |
| 1833 | + | |
1828 | 1834 | | |
1829 | 1835 | | |
1830 | 1836 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
| 136 | + | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| |||
2400 | 2405 | | |
2401 | 2406 | | |
2402 | 2407 | | |
2403 | | - | |
2404 | | - | |
2405 | | - | |
2406 | | - | |
2407 | | - | |
2408 | | - | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
2409 | 2415 | | |
2410 | 2416 | | |
2411 | 2417 | | |
| |||
3756 | 3762 | | |
3757 | 3763 | | |
3758 | 3764 | | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
| 3777 | + | |
| 3778 | + | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
| 3791 | + | |
| 3792 | + | |
| 3793 | + | |
| 3794 | + | |
| 3795 | + | |
| 3796 | + | |
| 3797 | + | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
3759 | 3801 | | |
3760 | 3802 | | |
3761 | 3803 | | |
| |||
0 commit comments