xarray 2025.9.0__tar.gz → 2025.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/ISSUE_TEMPLATE/bugreport.yml +28 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/ci-additional.yaml +7 -7
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/ci.yaml +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/label-prs.yml +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/nightly-wheels.yml +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/pypi-release.yaml +4 -4
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/upstream-dev-ci.yaml +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/.gitignore +1 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.readthedocs.yaml +2 -1
- xarray-2025.10.0/CLAUDE.md +32 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/HOW_TO_RELEASE.md +2 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/PKG-INFO +4 -3
- {xarray-2025.9.0 → xarray-2025.10.0}/README.md +1 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/release_contributors.py +27 -4
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/environment.yml +1 -1
- xarray-2025.10.0/doc/badge.json +8 -0
- xarray-2025.10.0/doc/internals/zarr-encoding-spec.rst +186 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/io.rst +2 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/whats-new.rst +134 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/pyproject.toml +6 -25
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/__init__.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/api.py +50 -830
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/chunks.py +55 -49
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/common.py +18 -6
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/file_manager.py +158 -49
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/h5netcdf_.py +8 -5
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/locks.py +17 -17
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/netCDF4_.py +75 -13
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/plugins.py +17 -4
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/scipy_.py +41 -15
- xarray-2025.10.0/xarray/backends/writers.py +1034 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/zarr.py +8 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/common.py +2 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/times.py +6 -3
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/variables.py +4 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/apply_ufunc.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/_aggregations.py +0 -16
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/accessor_dt.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/accessor_str.py +2 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/common.py +21 -3
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/coordinates.py +4 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/dataarray.py +7 -4
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/dataset.py +36 -25
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/datatree.py +219 -39
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/dtypes.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/extension_array.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/formatting.py +11 -8
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/formatting_html.py +136 -120
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/groupby.py +8 -5
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/indexing.py +6 -6
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/options.py +13 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/treenode.py +4 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/types.py +15 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/utils.py +38 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/variable.py +4 -4
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/groupers.py +0 -7
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/_aggregations.py +0 -4
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/dtypes.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/static/css/style.css +40 -5
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/structure/alignment.py +0 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/structure/combine.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/structure/merge.py +30 -13
- xarray-2025.10.0/xarray/tests/CLAUDE.md +132 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/__init__.py +4 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/arrays.py +3 -3
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_assertions.py +5 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends.py +252 -115
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends_api.py +53 -21
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends_chunks.py +8 -6
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends_datatree.py +167 -111
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends_file_manager.py +28 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_coarsen.py +4 -4
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_coding_times.py +23 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_combine.py +37 -19
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_computation.py +3 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_coordinates.py +6 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_dask.py +25 -17
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_dataarray.py +56 -8
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_dataarray_typing.yml +4 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_dataset.py +69 -3
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_dataset_typing.yml +3 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_datatree.py +92 -5
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_datatree_typing.yml +4 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_distributed.py +7 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_duck_array_ops.py +7 -6
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_formatting.py +5 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_formatting_html.py +108 -226
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_groupby.py +238 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_indexing.py +35 -23
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_merge.py +270 -6
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_namedarray.py +3 -3
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_options.py +15 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_parallelcompat.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_plugins.py +3 -2
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_sparse.py +15 -12
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_ufuncs.py +20 -19
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_units.py +61 -65
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_utils.py +8 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_variable.py +54 -51
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_weighted.py +38 -22
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/util/generate_aggregations.py +1 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray.egg-info/PKG-INFO +4 -3
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray.egg-info/SOURCES.txt +3 -1
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray.egg-info/requires.txt +2 -2
- xarray-2025.9.0/CLAUDE.md +0 -21
- xarray-2025.9.0/doc/internals/zarr-encoding-spec.rst +0 -126
- xarray-2025.9.0/xarray/core/datatree_io.py +0 -241
- {xarray-2025.9.0 → xarray-2025.10.0}/.binder/environment.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.codecov.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.git-blame-ignore-revs +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.git_archival.txt +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.gitattributes +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/FUNDING.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/config.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/dependabot.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/labeler.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/release.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/stale.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/benchmarks-last-release.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/benchmarks.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/configure-testpypi-version.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/hypothesis.yaml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.github/workflows/publish-test-results.yaml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/.pre-commit-config.yaml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/CITATION.cff +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/CODE_OF_CONDUCT.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/CONTRIBUTING.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/CORE_TEAM_GUIDE.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/asv.conf.json +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/README_CI.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/accessors.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/alignment.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/coding.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/combine.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/dataset.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/dataset_io.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/datatree.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/groupby.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/import.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/indexing.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/interp.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/merge.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/pandas.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/polyfit.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/reindexing.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/renaming.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/repr.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/rolling.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/asv_bench/benchmarks/unstacking.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/install-upstream-wheels.sh +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/policy.yaml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/all-but-dask.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/all-but-numba.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/bare-min-and-scipy.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/bare-minimum.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/doc.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/environment-3.14.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/environment-benchmark.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/environment-windows-3.14.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/environment-windows.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/ci/requirements/min-all-deps.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/conftest.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/design_notes/flexible_indexes_notes.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/design_notes/grouper_objects.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/design_notes/named_array_design_doc.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/Makefile +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/README.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/.gitignore +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/ci.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/dask-array.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/dataset-diagram.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/index_api.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/index_contribute.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/index_getting_started.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/index_user_guide.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/numfocus_logo.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/opendap-prism-tmax.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/style.css +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/thumbnails/monthly-means.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_static/view-docs.png +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_templates/autosummary/accessor.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/accessors.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/advanced.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/backends.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/coarsen.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/coordinates.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/dataarray.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/dataset.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/datatree.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/deprecated.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/encoding.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/exceptions.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/groupby.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/indexes.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/io.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/plotting.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/resample.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/rolling-exp.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/rolling.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/testing.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/top-level.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/tutorial.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/ufuncs.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api/weighted.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api-hidden.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/api.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/combined.json +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/conf.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/contribute/contributing.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/contribute/developers-meeting.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/contribute/index.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/ROMS_ocean_model.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/_code/accessor_example.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/blank_template.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/monthly-means.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/multidimensional-coords.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/visualization_gallery.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/examples/weather-data.ipynb +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/gallery/README.txt +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/gallery/plot_colorbar_center.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/gallery/plot_control_colorbar.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/gallery/plot_lines_from_2d.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/gallery.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/gallery.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/get-help/faq.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/get-help/help-diagram.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/get-help/howdoi.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/get-help/socials.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/getting-started-guide/index.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/getting-started-guide/installing.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/getting-started-guide/quick-overview.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/getting-started-guide/why-xarray.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/index.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/chunked-arrays.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/duck-arrays-integration.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/extending-xarray.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/how-to-add-new-backend.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/how-to-create-custom-index.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/index.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/internal-design.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/interoperability.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/internals/time-coding.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/roadmap.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/combining.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/complex-numbers.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/computation.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/dask.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/data-structures.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/duckarrays.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/ecosystem.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/groupby.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/hierarchical-data.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/index.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/indexing.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/interpolation.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/options.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/pandas.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/plotting.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/reshaping.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/terminology.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/testing.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/time-series.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/user-guide/weather-climate.rst +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/doc/videos.yml +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/ANYTREE_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/DASK_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/ICOMOON_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/NUMPY_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/PANDAS_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/PYTHON_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/licenses/SEABORN_LICENSE +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/properties/README.md +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/properties/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/properties/conftest.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/properties/test_encode_decode.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/properties/test_index_manipulation.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/properties/test_pandas_roundtrip.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/properties/test_properties.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/setup.cfg +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/setup.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/lru_cache.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/memory.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/netcdf3.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/pydap_.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/backends/store.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coders.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/calendar_ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/cftime_offsets.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/cftimeindex.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/frequencies.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/coding/strings.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/compat/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/compat/array_api_compat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/compat/dask_array_compat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/compat/dask_array_ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/compat/npcompat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/compat/pdcompat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/compat/toolzcompat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/arithmetic.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/computation.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/fit.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/nanops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/rolling.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/rolling_exp.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/computation/weighted.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/conventions.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/convert.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/_typed_ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/coordinate_transform.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/dataset_utils.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/dataset_variables.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/datatree_mapping.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/datatree_render.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/duck_array_ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/extensions.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/indexes.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/missing.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/nputils.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/parallel.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/resample.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/core/resample_cftime.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/indexes/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/indexes/nd_point_index.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/indexes/range_index.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/_array_api.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/_typing.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/core.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/daskmanager.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/parallelcompat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/pycompat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/namedarray/utils.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/plot/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/plot/accessor.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/plot/dataarray_plot.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/plot/dataset_plot.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/plot/facetgrid.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/plot/utils.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/py.typed +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/static/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/static/css/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/static/html/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/static/html/icons-svg-inline.html +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/structure/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/structure/chunks.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/structure/concat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/testing/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/testing/assertions.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/testing/strategies.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/conftest.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/data/bears.nc +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/data/example.grib +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/data/example.ict +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/data/example.uamiv +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/data/example_1.nc +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/data/example_1.nc.gz +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/indexes.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/namespace.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_accessor_dt.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_accessor_str.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_array_api.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends_common.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends_locks.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_backends_lru_cache.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_calendar_ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_cftime_offsets.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_cftimeindex.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_cftimeindex_resample.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_coding.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_coding_strings.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_concat.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_conventions.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_coordinate_transform.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_cupy.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_datatree_mapping.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_deprecation_helpers.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_dtypes.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_duck_array_wrapping.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_error_messages.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_extensions.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_hashable.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_indexes.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_interp.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_missing.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_nd_point_index.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_nputils.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_pandas_to_xarray.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_plot.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_print_versions.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_range_index.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_rolling.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_strategies.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_treenode.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_tutorial.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tests/test_typed_ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/tutorial.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/typing.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/ufuncs.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/util/__init__.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/util/deprecation_helpers.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/util/generate_ops.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray/util/print_versions.py +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray.egg-info/dependency_links.txt +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray.egg-info/entry_points.txt +0 -0
- {xarray-2025.9.0 → xarray-2025.10.0}/xarray.egg-info/top_level.txt +0 -0
|
@@ -26,8 +26,35 @@ body:
|
|
|
26
26
|
attributes:
|
|
27
27
|
label: Minimal Complete Verifiable Example
|
|
28
28
|
description: |
|
|
29
|
-
Minimal, self-contained copy-pastable example that demonstrates the issue.
|
|
29
|
+
Minimal, self-contained copy-pastable example that demonstrates the issue.
|
|
30
|
+
|
|
31
|
+
Consider listing additional or specific dependencies in [inline script metadata](https://packaging.python.org/en/latest/specifications/inline-script-metadata/#example)
|
|
32
|
+
so that calling `uv run issue.py` shows the issue when copied into `issue.py`. (not strictly required)
|
|
33
|
+
|
|
34
|
+
This will be automatically formatted into code, so no need for markdown backticks.
|
|
30
35
|
render: Python
|
|
36
|
+
value: |
|
|
37
|
+
# /// script
|
|
38
|
+
# requires-python = ">=3.11"
|
|
39
|
+
# dependencies = [
|
|
40
|
+
# "xarray[complete]@git+https://github.com/pydata/xarray.git@main",
|
|
41
|
+
# ]
|
|
42
|
+
# ///
|
|
43
|
+
#
|
|
44
|
+
# This script automatically imports the development branch of xarray to check for issues.
|
|
45
|
+
# Please delete this header if you have _not_ tested this script with `uv run`!
|
|
46
|
+
|
|
47
|
+
import xarray as xr
|
|
48
|
+
xr.show_versions()
|
|
49
|
+
# your reproducer code ...
|
|
50
|
+
|
|
51
|
+
- type: textarea
|
|
52
|
+
id: reproduce
|
|
53
|
+
attributes:
|
|
54
|
+
label: Steps to reproduce
|
|
55
|
+
description:
|
|
56
|
+
validations:
|
|
57
|
+
required: false
|
|
31
58
|
|
|
32
59
|
- type: checkboxes
|
|
33
60
|
id: mvce-checkboxes
|
|
@@ -116,14 +116,14 @@ jobs:
|
|
|
116
116
|
python xarray/util/print_versions.py
|
|
117
117
|
- name: Install mypy
|
|
118
118
|
run: |
|
|
119
|
-
python -m pip install "mypy==1.
|
|
119
|
+
python -m pip install "mypy==1.18.1" --force-reinstall
|
|
120
120
|
|
|
121
121
|
- name: Run mypy
|
|
122
122
|
run: |
|
|
123
123
|
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
124
124
|
|
|
125
125
|
- name: Upload mypy coverage to Codecov
|
|
126
|
-
uses: codecov/codecov-action@v5.5.
|
|
126
|
+
uses: codecov/codecov-action@v5.5.1
|
|
127
127
|
with:
|
|
128
128
|
file: mypy_report/cobertura.xml
|
|
129
129
|
flags: mypy
|
|
@@ -167,14 +167,14 @@ jobs:
|
|
|
167
167
|
python xarray/util/print_versions.py
|
|
168
168
|
- name: Install mypy
|
|
169
169
|
run: |
|
|
170
|
-
python -m pip install "mypy==1.
|
|
170
|
+
python -m pip install "mypy==1.18.1" --force-reinstall
|
|
171
171
|
|
|
172
172
|
- name: Run mypy
|
|
173
173
|
run: |
|
|
174
174
|
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
175
175
|
|
|
176
176
|
- name: Upload mypy coverage to Codecov
|
|
177
|
-
uses: codecov/codecov-action@v5.5.
|
|
177
|
+
uses: codecov/codecov-action@v5.5.1
|
|
178
178
|
with:
|
|
179
179
|
file: mypy_report/cobertura.xml
|
|
180
180
|
flags: mypy-min
|
|
@@ -230,7 +230,7 @@ jobs:
|
|
|
230
230
|
python -m pyright xarray/
|
|
231
231
|
|
|
232
232
|
- name: Upload pyright coverage to Codecov
|
|
233
|
-
uses: codecov/codecov-action@v5.5.
|
|
233
|
+
uses: codecov/codecov-action@v5.5.1
|
|
234
234
|
with:
|
|
235
235
|
file: pyright_report/cobertura.xml
|
|
236
236
|
flags: pyright
|
|
@@ -286,7 +286,7 @@ jobs:
|
|
|
286
286
|
python -m pyright xarray/
|
|
287
287
|
|
|
288
288
|
- name: Upload pyright coverage to Codecov
|
|
289
|
-
uses: codecov/codecov-action@v5.5.
|
|
289
|
+
uses: codecov/codecov-action@v5.5.1
|
|
290
290
|
with:
|
|
291
291
|
file: pyright_report/cobertura.xml
|
|
292
292
|
flags: pyright39
|
|
@@ -311,7 +311,7 @@ jobs:
|
|
|
311
311
|
with:
|
|
312
312
|
fetch-depth: 0 # Fetch all history for all branches and tags.
|
|
313
313
|
|
|
314
|
-
- uses: actions/setup-python@
|
|
314
|
+
- uses: actions/setup-python@v6
|
|
315
315
|
with:
|
|
316
316
|
python-version: "3.x"
|
|
317
317
|
|
|
@@ -23,7 +23,7 @@ jobs:
|
|
|
23
23
|
- uses: actions/checkout@v5
|
|
24
24
|
with:
|
|
25
25
|
fetch-depth: 0
|
|
26
|
-
- uses: actions/setup-python@
|
|
26
|
+
- uses: actions/setup-python@v6
|
|
27
27
|
name: Install Python
|
|
28
28
|
with:
|
|
29
29
|
python-version: "3.12"
|
|
@@ -58,7 +58,7 @@ jobs:
|
|
|
58
58
|
needs: build-artifacts
|
|
59
59
|
runs-on: ubuntu-latest
|
|
60
60
|
steps:
|
|
61
|
-
- uses: actions/setup-python@
|
|
61
|
+
- uses: actions/setup-python@v6
|
|
62
62
|
name: Install Python
|
|
63
63
|
with:
|
|
64
64
|
python-version: "3.12"
|
|
@@ -95,7 +95,7 @@ jobs:
|
|
|
95
95
|
path: dist
|
|
96
96
|
- name: Publish package to TestPyPI
|
|
97
97
|
if: github.event_name == 'push'
|
|
98
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
98
|
+
uses: pypa/gh-action-pypi-publish@v1.13.0
|
|
99
99
|
with:
|
|
100
100
|
repository_url: https://test.pypi.org/legacy/
|
|
101
101
|
verbose: true
|
|
@@ -117,6 +117,6 @@ jobs:
|
|
|
117
117
|
name: releases
|
|
118
118
|
path: dist
|
|
119
119
|
- name: Publish package to PyPI
|
|
120
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
120
|
+
uses: pypa/gh-action-pypi-publish@v1.13.0
|
|
121
121
|
with:
|
|
122
122
|
verbose: true
|
|
@@ -138,7 +138,7 @@ jobs:
|
|
|
138
138
|
run: |
|
|
139
139
|
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
140
140
|
- name: Upload mypy coverage to Codecov
|
|
141
|
-
uses: codecov/codecov-action@v5.5.
|
|
141
|
+
uses: codecov/codecov-action@v5.5.1
|
|
142
142
|
with:
|
|
143
143
|
file: mypy_report/cobertura.xml
|
|
144
144
|
flags: mypy
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# xarray development setup
|
|
2
|
+
|
|
3
|
+
## Setup
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
uv sync
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Run tests
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
uv run pytest xarray -n auto # All tests in parallel
|
|
13
|
+
uv run pytest xarray/tests/test_dataarray.py # Specific file
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Linting & type checking
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pre-commit run --all-files # Includes ruff and other checks
|
|
20
|
+
uv run dmypy run # Type checking with mypy
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## GitHub Interaction Guidelines
|
|
24
|
+
|
|
25
|
+
- **NEVER impersonate the user on GitHub**, always sign off with something like
|
|
26
|
+
"[This is Claude Code on behalf of Jane Doe]"
|
|
27
|
+
- Never create issues nor pull requests on the xarray GitHub repository unless
|
|
28
|
+
explicitly instructed
|
|
29
|
+
- Never post "update" messages, progress reports, or explanatory comments on
|
|
30
|
+
GitHub issues/PRs unless specifically instructed
|
|
31
|
+
- When creating commits, always include a co-authorship trailer:
|
|
32
|
+
`Co-authored-by: Claude <noreply@anthropic.com>`
|
|
@@ -111,11 +111,11 @@ upstream https://github.com/pydata/xarray (push)
|
|
|
111
111
|
|
|
112
112
|
13. Update the version available on pyodide:
|
|
113
113
|
- Open the PyPI page for [Xarray downloads](https://pypi.org/project/xarray/#files)
|
|
114
|
-
- Edit [`
|
|
114
|
+
- Edit [`packages/xarray/meta.yaml`](https://github.com/pyodide/pyodide-recipes/blob/main/packages/xarray/meta.yaml) to update the
|
|
115
115
|
- version number
|
|
116
116
|
- link to the wheel (under "Built Distribution" on the PyPI page)
|
|
117
117
|
- SHA256 hash (Click "Show Hashes" next to the link to the wheel)
|
|
118
|
-
- Open a pull request to pyodide
|
|
118
|
+
- Open a pull request to pyodide-recipes
|
|
119
119
|
|
|
120
120
|
14. Issue the release announcement to mailing lists & Twitter (X). For bug fix releases, I
|
|
121
121
|
usually only email xarray@googlegroups.com. For major/feature releases, I will email a broader
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xarray
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.10.0
|
|
4
4
|
Summary: N-D labeled arrays and datasets in Python
|
|
5
5
|
Author-email: xarray Developers <xarray@googlegroups.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -28,10 +28,9 @@ Provides-Extra: accel
|
|
|
28
28
|
Requires-Dist: scipy>=1.13; extra == "accel"
|
|
29
29
|
Requires-Dist: bottleneck; extra == "accel"
|
|
30
30
|
Requires-Dist: numbagg>=0.8; extra == "accel"
|
|
31
|
-
Requires-Dist: numba>=0.
|
|
31
|
+
Requires-Dist: numba>=0.62; extra == "accel"
|
|
32
32
|
Requires-Dist: flox>=0.9; extra == "accel"
|
|
33
33
|
Requires-Dist: opt_einsum; extra == "accel"
|
|
34
|
-
Requires-Dist: numpy<2.3; extra == "accel"
|
|
35
34
|
Provides-Extra: complete
|
|
36
35
|
Requires-Dist: xarray[accel,etc,io,parallel,viz]; extra == "complete"
|
|
37
36
|
Provides-Extra: io
|
|
@@ -68,6 +67,7 @@ Requires-Dist: types-pycurl; extra == "types"
|
|
|
68
67
|
Requires-Dist: types-openpyxl; extra == "types"
|
|
69
68
|
Requires-Dist: types-python-dateutil; extra == "types"
|
|
70
69
|
Requires-Dist: types-pytz; extra == "types"
|
|
70
|
+
Requires-Dist: types-requests; extra == "types"
|
|
71
71
|
Requires-Dist: types-setuptools; extra == "types"
|
|
72
72
|
Dynamic: license-file
|
|
73
73
|
|
|
@@ -85,6 +85,7 @@ Dynamic: license-file
|
|
|
85
85
|
[](https://doi.org/10.5281/zenodo.11183201)
|
|
86
86
|
[](https://mybinder.org/v2/gh/pydata/xarray/main?urlpath=lab/tree/doc/examples/weather-data.ipynb)
|
|
87
87
|
[](https://x.com/xarray_dev)
|
|
88
|
+
[](https://xarray.dev)
|
|
88
89
|
|
|
89
90
|
**xarray** (pronounced "ex-array", formerly known as **xray**) is an open source project and Python
|
|
90
91
|
package that makes working with labelled multi-dimensional arrays
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
[](https://doi.org/10.5281/zenodo.11183201)
|
|
13
13
|
[](https://mybinder.org/v2/gh/pydata/xarray/main?urlpath=lab/tree/doc/examples/weather-data.ipynb)
|
|
14
14
|
[](https://x.com/xarray_dev)
|
|
15
|
+
[](https://xarray.dev)
|
|
15
16
|
|
|
16
17
|
**xarray** (pronounced "ex-array", formerly known as **xray**) is an open source project and Python
|
|
17
18
|
package that makes working with labelled multi-dimensional arrays
|
|
@@ -7,6 +7,32 @@ from tlz.itertoolz import last, unique
|
|
|
7
7
|
co_author_re = re.compile(r"Co-authored-by: (?P<name>[^<]+?) <(?P<email>.+)>")
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
ignored = [
|
|
11
|
+
{"name": "dependabot[bot]"},
|
|
12
|
+
{"name": "pre-commit-ci[bot]"},
|
|
13
|
+
{
|
|
14
|
+
"name": "Claude",
|
|
15
|
+
"email": [
|
|
16
|
+
"noreply@anthropic.com",
|
|
17
|
+
"claude@anthropic.com",
|
|
18
|
+
"no-reply@anthropic.com",
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def is_ignored(name, email):
|
|
25
|
+
# linear search, for now
|
|
26
|
+
for ignore in ignored:
|
|
27
|
+
if ignore["name"] != name:
|
|
28
|
+
continue
|
|
29
|
+
ignored_email = ignore.get("email")
|
|
30
|
+
if ignored_email is None or email in ignored_email:
|
|
31
|
+
return True
|
|
32
|
+
|
|
33
|
+
return False
|
|
34
|
+
|
|
35
|
+
|
|
10
36
|
def main():
|
|
11
37
|
repo = git.Repo(".")
|
|
12
38
|
|
|
@@ -22,11 +48,8 @@ def main():
|
|
|
22
48
|
|
|
23
49
|
# deduplicate and ignore
|
|
24
50
|
# TODO: extract ignores from .github/release.yml
|
|
25
|
-
ignored = ["dependabot", "pre-commit-ci"]
|
|
26
51
|
unique_contributors = unique(
|
|
27
|
-
|
|
28
|
-
for contributor in contributors.values()
|
|
29
|
-
if contributor.removesuffix("[bot]") not in ignored
|
|
52
|
+
name for email, name in contributors.items() if not is_ignored(name, email)
|
|
30
53
|
)
|
|
31
54
|
|
|
32
55
|
sorted_ = sorted(unique_contributors)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "",
|
|
3
|
+
"message": "xarray",
|
|
4
|
+
"logoSvg": "<svg xml:space=\"preserve\" style=\"max-height: 500px\" viewBox=\"24 57.6 553.2 493.2\" y=\"0px\" x=\"0px\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" id=\"Layer_1\" version=\"1.1\" width=\"553.2\" height=\"493.2\"><style type=\"text/css\">.st0{fill:#216C89;}.st1{fill:#4993AA;}.st2{fill:#0F4565;}.st3{fill:#6BE8E8;}.st4{fill:#9DEEF4;}.st5{fill:#4ACFDD;}.st6{fill:#E38017;}.st7{fill:#16AFB5;}</style><g><g><polygon points=\"266.62,546.18 356.1,454.54 356.1,271.27 266.62,362.9\" class=\"st0\"/><polygon points=\"356.1,271.45 114.48,271.45 25,362.9 266.62,362.9\" class=\"st1\"/><rect height=\"183.27\" width=\"241.62\" class=\"st2\" y=\"362.9\" x=\"25\"/></g><g><polygon points=\"266.62,328.73 356.1,237.1 356.1,53.82 266.62,145.46\" class=\"st3\"/><polygon points=\"356.1,54 114.48,54 25,145.46 266.62,145.46\" class=\"st4\"/><rect height=\"183.27\" width=\"241.62\" class=\"st5\" y=\"145.46\" x=\"25\"/></g><polygon points=\"467.47,452.33 374.48,546.18 374.48,362.9 467.47,269.05\" class=\"st6\"/><polygon points=\"575,452.33 482.01,546.18 482.01,362.9 575,269.05\" class=\"st7\"/></g></svg>",
|
|
5
|
+
"logoWidth": 14,
|
|
6
|
+
"labelColor": "#4a4a4a",
|
|
7
|
+
"color": "#0e4666"
|
|
8
|
+
}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
.. currentmodule:: xarray
|
|
2
|
+
|
|
3
|
+
.. _zarr_encoding:
|
|
4
|
+
|
|
5
|
+
Zarr Encoding Specification
|
|
6
|
+
============================
|
|
7
|
+
|
|
8
|
+
In implementing support for the `Zarr <https://zarr.dev>`_ storage
|
|
9
|
+
format, Xarray developers made some *ad hoc* choices about how to store
|
|
10
|
+
NetCDF data in Zarr.
|
|
11
|
+
Future versions of the Zarr spec will likely include a more formal convention
|
|
12
|
+
for the storage of the NetCDF data model in Zarr; see
|
|
13
|
+
`Zarr spec repo <https://github.com/zarr-developers/zarr-specs>`_ for ongoing
|
|
14
|
+
discussion.
|
|
15
|
+
|
|
16
|
+
First, Xarray can only read and write Zarr groups. There is currently no support
|
|
17
|
+
for reading / writing individual Zarr arrays. Zarr groups are mapped to
|
|
18
|
+
Xarray ``Dataset`` objects.
|
|
19
|
+
|
|
20
|
+
Second, from Xarray's point of view, the key difference between
|
|
21
|
+
NetCDF and Zarr is that all NetCDF arrays have *dimension names* while Zarr
|
|
22
|
+
arrays do not. In Zarr v2, Xarray uses an ad-hoc convention to encode and decode
|
|
23
|
+
the name of each array's dimensions. However, starting with Zarr v3, the
|
|
24
|
+
``dimension_names`` attribute provides a formal convention for storing the
|
|
25
|
+
NetCDF data model in Zarr.
|
|
26
|
+
|
|
27
|
+
Dimension Encoding in Zarr Formats
|
|
28
|
+
-----------------------------------
|
|
29
|
+
|
|
30
|
+
Xarray encodes array dimensions differently depending on the Zarr format version:
|
|
31
|
+
|
|
32
|
+
**Zarr V2 Format:**
|
|
33
|
+
Xarray uses a special Zarr array attribute: ``_ARRAY_DIMENSIONS``. The value of this
|
|
34
|
+
attribute is a list of dimension names (strings), for example ``["time", "lon", "lat"]``.
|
|
35
|
+
When writing data to Zarr V2, Xarray sets this attribute on all variables based on the
|
|
36
|
+
variable dimensions. This attribute is visible when accessing arrays directly with
|
|
37
|
+
zarr-python.
|
|
38
|
+
|
|
39
|
+
**Zarr V3 Format:**
|
|
40
|
+
Xarray uses the native ``dimension_names`` field in the array metadata. This is part
|
|
41
|
+
of the official Zarr V3 specification and is not stored as a regular attribute.
|
|
42
|
+
When accessing arrays with zarr-python, this information is available in the array's
|
|
43
|
+
metadata but not in the attributes dictionary.
|
|
44
|
+
|
|
45
|
+
When reading a Zarr group, Xarray looks for dimension information in the appropriate
|
|
46
|
+
location based on the format version, raising an error if it can't be found. The
|
|
47
|
+
dimension information is used to define the variable dimension names and then
|
|
48
|
+
(for Zarr V2) removed from the attributes dictionary returned to the user.
|
|
49
|
+
|
|
50
|
+
CF Conventions
|
|
51
|
+
--------------
|
|
52
|
+
|
|
53
|
+
Xarray uses its standard CF encoding/decoding functionality for handling metadata
|
|
54
|
+
(see :py:func:`decode_cf`). This includes encoding concepts such as dimensions and
|
|
55
|
+
coordinates. The ``coordinates`` attribute, which lists coordinate variables
|
|
56
|
+
(e.g., ``"yc xc"`` for spatial coordinates), is one part of the broader CF conventions
|
|
57
|
+
used to describe metadata in NetCDF and Zarr.
|
|
58
|
+
|
|
59
|
+
Compatibility and Reading
|
|
60
|
+
-------------------------
|
|
61
|
+
|
|
62
|
+
Because of these encoding choices, Xarray cannot read arbitrary Zarr arrays, but only
|
|
63
|
+
Zarr data with valid dimension metadata. Xarray supports:
|
|
64
|
+
|
|
65
|
+
- Zarr V2 arrays with ``_ARRAY_DIMENSIONS`` attributes
|
|
66
|
+
- Zarr V3 arrays with ``dimension_names`` metadata
|
|
67
|
+
- `NCZarr <https://docs.unidata.ucar.edu/nug/current/nczarr_head.html>`_ format
|
|
68
|
+
(dimension names are defined in the ``.zarray`` file)
|
|
69
|
+
|
|
70
|
+
After decoding the dimension information and assigning the variable dimensions,
|
|
71
|
+
Xarray proceeds to [optionally] decode each variable using its standard CF decoding
|
|
72
|
+
machinery used for NetCDF data.
|
|
73
|
+
|
|
74
|
+
Finally, it's worth noting that Xarray writes (and attempts to read)
|
|
75
|
+
"consolidated metadata" by default (the ``.zmetadata`` file), which is another
|
|
76
|
+
non-standard Zarr extension, albeit one implemented upstream in Zarr-Python.
|
|
77
|
+
You do not need to write consolidated metadata to make Zarr stores readable in
|
|
78
|
+
Xarray, but because Xarray can open these stores much faster, users will see a
|
|
79
|
+
warning about poor performance when reading non-consolidated stores unless they
|
|
80
|
+
explicitly set ``consolidated=False``. See :ref:`io.zarr.consolidated_metadata`
|
|
81
|
+
for more details.
|
|
82
|
+
|
|
83
|
+
Examples: Zarr Format Differences
|
|
84
|
+
----------------------------------
|
|
85
|
+
|
|
86
|
+
The following examples demonstrate how dimension and coordinate encoding differs
|
|
87
|
+
between Zarr format versions. We'll use the same tutorial dataset but write it
|
|
88
|
+
in different formats to show what users will see when accessing the files directly
|
|
89
|
+
with zarr-python.
|
|
90
|
+
|
|
91
|
+
**Example 1: Zarr V2 Format**
|
|
92
|
+
|
|
93
|
+
.. jupyter-execute::
|
|
94
|
+
|
|
95
|
+
import os
|
|
96
|
+
import xarray as xr
|
|
97
|
+
import zarr
|
|
98
|
+
|
|
99
|
+
# Load tutorial dataset and write as Zarr V2
|
|
100
|
+
ds = xr.tutorial.load_dataset("rasm")
|
|
101
|
+
ds.to_zarr("rasm_v2.zarr", mode="w", consolidated=False, zarr_format=2)
|
|
102
|
+
|
|
103
|
+
# Open with zarr-python and examine attributes
|
|
104
|
+
zgroup = zarr.open("rasm_v2.zarr")
|
|
105
|
+
print("Zarr V2 - Tair attributes:")
|
|
106
|
+
tair_attrs = dict(zgroup["Tair"].attrs)
|
|
107
|
+
for key, value in tair_attrs.items():
|
|
108
|
+
print(f" '{key}': {repr(value)}")
|
|
109
|
+
|
|
110
|
+
.. jupyter-execute::
|
|
111
|
+
:hide-code:
|
|
112
|
+
|
|
113
|
+
import shutil
|
|
114
|
+
shutil.rmtree("rasm_v2.zarr")
|
|
115
|
+
|
|
116
|
+
**Example 2: Zarr V3 Format**
|
|
117
|
+
|
|
118
|
+
.. jupyter-execute::
|
|
119
|
+
|
|
120
|
+
# Write the same dataset as Zarr V3
|
|
121
|
+
ds.to_zarr("rasm_v3.zarr", mode="w", consolidated=False, zarr_format=3)
|
|
122
|
+
|
|
123
|
+
# Open with zarr-python and examine attributes
|
|
124
|
+
zgroup = zarr.open("rasm_v3.zarr")
|
|
125
|
+
print("Zarr V3 - Tair attributes:")
|
|
126
|
+
tair_attrs = dict(zgroup["Tair"].attrs)
|
|
127
|
+
for key, value in tair_attrs.items():
|
|
128
|
+
print(f" '{key}': {repr(value)}")
|
|
129
|
+
|
|
130
|
+
# For Zarr V3, dimension information is in metadata
|
|
131
|
+
tair_array = zgroup["Tair"]
|
|
132
|
+
print(f"\nZarr V3 - dimension_names in metadata: {tair_array.metadata.dimension_names}")
|
|
133
|
+
|
|
134
|
+
.. jupyter-execute::
|
|
135
|
+
:hide-code:
|
|
136
|
+
|
|
137
|
+
import shutil
|
|
138
|
+
shutil.rmtree("rasm_v3.zarr")
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
Chunk Key Encoding
|
|
142
|
+
------------------
|
|
143
|
+
|
|
144
|
+
When writing data to Zarr stores, Xarray supports customizing how chunk keys are encoded
|
|
145
|
+
through the ``chunk_key_encoding`` parameter in the variable's encoding dictionary. This
|
|
146
|
+
is particularly useful when working with Zarr V2 arrays and you need to control the
|
|
147
|
+
dimension separator in chunk keys.
|
|
148
|
+
|
|
149
|
+
For example, to specify a custom separator for chunk keys:
|
|
150
|
+
|
|
151
|
+
.. jupyter-execute::
|
|
152
|
+
|
|
153
|
+
import xarray as xr
|
|
154
|
+
import numpy as np
|
|
155
|
+
from zarr.core.chunk_key_encodings import V2ChunkKeyEncoding
|
|
156
|
+
|
|
157
|
+
# Create a custom chunk key encoding with "/" as separator
|
|
158
|
+
enc = V2ChunkKeyEncoding(separator="/").to_dict()
|
|
159
|
+
|
|
160
|
+
# Create and write a dataset with custom chunk key encoding
|
|
161
|
+
arr = np.ones((42, 100))
|
|
162
|
+
ds = xr.DataArray(arr, name="var1").to_dataset()
|
|
163
|
+
ds.to_zarr(
|
|
164
|
+
"example.zarr",
|
|
165
|
+
zarr_format=2,
|
|
166
|
+
mode="w",
|
|
167
|
+
encoding={"var1": {"chunks": (42, 50), "chunk_key_encoding": enc}},
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
The ``chunk_key_encoding`` option accepts a dictionary that specifies the encoding
|
|
171
|
+
configuration. For Zarr V2 arrays, you can use the ``V2ChunkKeyEncoding`` class from
|
|
172
|
+
``zarr.core.chunk_key_encodings`` to generate this configuration. This is particularly
|
|
173
|
+
useful when you need to ensure compatibility with specific Zarr V2 storage layouts or
|
|
174
|
+
when working with tools that expect a particular chunk key format.
|
|
175
|
+
|
|
176
|
+
.. note::
|
|
177
|
+
The ``chunk_key_encoding`` option is only relevant when writing to Zarr stores.
|
|
178
|
+
When reading Zarr arrays, Xarray automatically detects and uses the appropriate
|
|
179
|
+
chunk key encoding based on the store's format and configuration.
|
|
180
|
+
|
|
181
|
+
.. jupyter-execute::
|
|
182
|
+
:hide-code:
|
|
183
|
+
|
|
184
|
+
import shutil
|
|
185
|
+
|
|
186
|
+
shutil.rmtree("example.zarr")
|
|
@@ -591,8 +591,8 @@ The library ``h5netcdf`` allows writing some dtypes that aren't
|
|
|
591
591
|
allowed in netCDF4 (see
|
|
592
592
|
`h5netcdf documentation <https://github.com/h5netcdf/h5netcdf#invalid-netcdf-files>`_).
|
|
593
593
|
This feature is available through :py:meth:`DataArray.to_netcdf` and
|
|
594
|
-
:py:meth:`Dataset.to_netcdf` when used with ``engine="h5netcdf"
|
|
595
|
-
|
|
594
|
+
:py:meth:`Dataset.to_netcdf` when used with ``engine="h5netcdf"``, only if
|
|
595
|
+
``invalid_netcdf=True`` is explicitly set.
|
|
596
596
|
|
|
597
597
|
.. warning::
|
|
598
598
|
|