xarray 2025.10.0__tar.gz → 2025.11.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.10.0 → xarray-2025.11.0}/.github/workflows/benchmarks-last-release.yml +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/benchmarks.yml +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/ci-additional.yaml +1 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/ci.yaml +3 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/hypothesis.yaml +1 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/pypi-release.yaml +4 -4
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/upstream-dev-ci.yaml +1 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.pre-commit-config.yaml +10 -7
- {xarray-2025.10.0 → xarray-2025.11.0}/CLAUDE.md +12 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/HOW_TO_RELEASE.md +3 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/PKG-INFO +3 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/README.md +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/asv.conf.json +2 -2
- xarray-2025.11.0/asv_bench/benchmarks/coarsen.py +47 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/combine.py +16 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/install-upstream-wheels.sh +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-benchmark.yml +1 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/design_notes/flexible_indexes_notes.md +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/contribute/contributing.rst +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/installing.rst +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/roadmap.rst +0 -9
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/data-structures.rst +2 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/hierarchical-data.rst +2 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/io.rst +178 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/options.rst +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/terminology.rst +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/whats-new.rst +163 -17
- {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_encode_decode.py +2 -5
- {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_pandas_roundtrip.py +3 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/pyproject.toml +2 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/api.py +20 -10
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/h5netcdf_.py +52 -14
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/netCDF4_.py +26 -12
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/pydap_.py +20 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/scipy_.py +14 -5
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/writers.py +2 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/apply_ufunc.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/computation.py +5 -5
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/weighted.py +0 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/conventions.py +2 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/convert.py +4 -4
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/common.py +4 -12
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataarray.py +17 -16
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataset.py +64 -37
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/datatree.py +9 -8
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/datatree_mapping.py +11 -24
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/formatting.py +5 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/formatting_html.py +5 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/indexing.py +8 -4
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/options.py +4 -4
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/resample.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/treenode.py +6 -10
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/utils.py +42 -4
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/variable.py +25 -15
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/daskmanager.py +6 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/dtypes.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/parallelcompat.py +32 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/utils.py +106 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/utils.py +12 -17
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/chunks.py +2 -51
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/combine.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/concat.py +119 -20
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/merge.py +99 -8
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/testing/assertions.py +10 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/testing/strategies.py +58 -32
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/__init__.py +4 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_accessor_str.py +27 -27
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_assertions.py +13 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends.py +184 -11
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_api.py +25 -10
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_datatree.py +4 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_calendar_ops.py +4 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cftime_offsets.py +3 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cftimeindex.py +19 -19
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coarsen.py +2 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coding_times.py +2 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_computation.py +7 -10
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_concat.py +220 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_conventions.py +10 -7
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coordinate_transform.py +4 -4
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coordinates.py +3 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dask.py +15 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataarray.py +178 -64
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataset.py +106 -22
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_datatree.py +11 -7
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_datatree_mapping.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_distributed.py +5 -5
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_formatting_html.py +39 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_groupby.py +5 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_indexes.py +3 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_indexing.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_merge.py +93 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_namedarray.py +57 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_nd_point_index.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_options.py +10 -6
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_parallelcompat.py +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_plot.py +19 -16
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_range_index.py +4 -4
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_rolling.py +2 -2
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_units.py +3 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_utils.py +9 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_variable.py +62 -15
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_weighted.py +7 -6
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/PKG-INFO +3 -3
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/SOURCES.txt +1 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/requires.txt +1 -1
- {xarray-2025.10.0 → xarray-2025.11.0}/.binder/environment.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.codecov.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.git-blame-ignore-revs +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.git_archival.txt +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.gitattributes +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/FUNDING.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/config.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/dependabot.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/labeler.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/release.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/stale.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/configure-testpypi-version.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/label-prs.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/nightly-wheels.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.github/workflows/publish-test-results.yaml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.gitignore +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/.readthedocs.yaml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/CITATION.cff +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/CODE_OF_CONDUCT.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/CONTRIBUTING.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/CORE_TEAM_GUIDE.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/README_CI.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/accessors.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/alignment.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/coding.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/dataset.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/dataset_io.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/datatree.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/groupby.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/import.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/indexing.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/interp.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/merge.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/pandas.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/polyfit.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/reindexing.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/renaming.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/repr.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/rolling.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/asv_bench/benchmarks/unstacking.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/policy.yaml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/release_contributors.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/all-but-dask.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/all-but-numba.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/bare-min-and-scipy.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/bare-minimum.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/doc.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-3.14.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-windows-3.14.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment-windows.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/environment.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/ci/requirements/min-all-deps.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/conftest.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/design_notes/grouper_objects.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/design_notes/named_array_design_doc.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/Makefile +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/README.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/.gitignore +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/ci.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/dask-array.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/dataset-diagram.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_api.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_contribute.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_getting_started.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/index_user_guide.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/numfocus_logo.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/opendap-prism-tmax.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/style.css +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/monthly-means.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_static/view-docs.png +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/accessors.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/advanced.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/backends.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/coarsen.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/coordinates.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/dataarray.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/dataset.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/datatree.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/deprecated.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/encoding.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/exceptions.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/groupby.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/indexes.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/io.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/plotting.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/resample.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/rolling-exp.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/rolling.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/testing.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/top-level.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/tutorial.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/ufuncs.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api/weighted.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api-hidden.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/api.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/badge.json +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/combined.json +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/conf.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/contribute/developers-meeting.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/contribute/index.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/ROMS_ocean_model.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/_code/accessor_example.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/blank_template.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/monthly-means.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/multidimensional-coords.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/visualization_gallery.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/examples/weather-data.ipynb +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/README.txt +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_colorbar_center.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_control_colorbar.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery/plot_lines_from_2d.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/gallery.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/faq.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/help-diagram.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/howdoi.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/get-help/socials.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/index.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/quick-overview.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/getting-started-guide/why-xarray.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/index.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/chunked-arrays.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/duck-arrays-integration.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/extending-xarray.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/how-to-add-new-backend.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/how-to-create-custom-index.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/index.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/internal-design.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/interoperability.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/time-coding.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/internals/zarr-encoding-spec.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/combining.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/complex-numbers.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/computation.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/dask.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/duckarrays.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/ecosystem.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/groupby.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/index.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/indexing.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/interpolation.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/pandas.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/plotting.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/reshaping.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/testing.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/time-series.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/user-guide/weather-climate.rst +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/doc/videos.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/ANYTREE_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/DASK_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/ICOMOON_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/NUMPY_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/PANDAS_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/PYTHON_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/licenses/SEABORN_LICENSE +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/properties/README.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/properties/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/properties/conftest.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_index_manipulation.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/properties/test_properties.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/setup.cfg +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/setup.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/chunks.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/common.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/file_manager.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/locks.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/lru_cache.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/memory.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/netcdf3.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/plugins.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/store.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/backends/zarr.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coders.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/calendar_ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/cftime_offsets.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/cftimeindex.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/common.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/frequencies.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/strings.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/times.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/coding/variables.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/array_api_compat.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/dask_array_compat.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/dask_array_ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/npcompat.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/pdcompat.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/compat/toolzcompat.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/arithmetic.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/fit.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/nanops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/rolling.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/computation/rolling_exp.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/_aggregations.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/_typed_ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/accessor_dt.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/accessor_str.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/coordinate_transform.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/coordinates.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataset_utils.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dataset_variables.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/datatree_render.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/dtypes.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/duck_array_ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/extension_array.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/extensions.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/groupby.py +5 -5
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/indexes.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/missing.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/nputils.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/parallel.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/resample_cftime.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/core/types.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/groupers.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/indexes/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/indexes/nd_point_index.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/indexes/range_index.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/_aggregations.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/_array_api.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/_typing.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/core.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/namedarray/pycompat.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/accessor.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/dataarray_plot.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/dataset_plot.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/plot/facetgrid.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/py.typed +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/css/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/css/style.css +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/html/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/static/html/icons-svg-inline.html +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/structure/alignment.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/testing/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/CLAUDE.md +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/arrays.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/conftest.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/bears.nc +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example.grib +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example.ict +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example.uamiv +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example_1.nc +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/data/example_1.nc.gz +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/indexes.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/namespace.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_accessor_dt.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_array_api.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_chunks.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_common.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_file_manager.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_locks.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_backends_lru_cache.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cftimeindex_resample.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coding.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_coding_strings.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_combine.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_cupy.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataarray_typing.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dataset_typing.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_datatree_typing.yml +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_deprecation_helpers.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_dtypes.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_duck_array_ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_duck_array_wrapping.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_error_messages.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_extensions.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_formatting.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_hashable.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_interp.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_missing.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_nputils.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_pandas_to_xarray.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_plugins.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_print_versions.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_sparse.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_strategies.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_treenode.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_tutorial.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_typed_ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tests/test_ufuncs.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/tutorial.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/typing.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/ufuncs.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/__init__.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/deprecation_helpers.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/generate_aggregations.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/generate_ops.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray/util/print_versions.py +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/dependency_links.txt +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/entry_points.txt +0 -0
- {xarray-2025.10.0 → xarray-2025.11.0}/xarray.egg-info/top_level.txt +0 -0
|
@@ -22,6 +22,7 @@ jobs:
|
|
|
22
22
|
if: |
|
|
23
23
|
github.repository == 'pydata/xarray'
|
|
24
24
|
&& (github.event_name == 'push' || github.event_name == 'pull_request')
|
|
25
|
+
&& !contains(github.event.pull_request.labels.*.name, 'skip-ci')
|
|
25
26
|
outputs:
|
|
26
27
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
27
28
|
steps:
|
|
@@ -22,6 +22,7 @@ jobs:
|
|
|
22
22
|
if: |
|
|
23
23
|
github.repository == 'pydata/xarray'
|
|
24
24
|
&& (github.event_name == 'push' || github.event_name == 'pull_request')
|
|
25
|
+
&& !contains(github.event.pull_request.labels.*.name, 'skip-ci')
|
|
25
26
|
outputs:
|
|
26
27
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
27
28
|
steps:
|
|
@@ -167,7 +168,7 @@ jobs:
|
|
|
167
168
|
|
|
168
169
|
- name: Upload test results
|
|
169
170
|
if: always()
|
|
170
|
-
uses: actions/upload-artifact@
|
|
171
|
+
uses: actions/upload-artifact@v5
|
|
171
172
|
with:
|
|
172
173
|
name: Test results for ${{ runner.os }}-${{ matrix.python-version }} ${{ matrix.env }}
|
|
173
174
|
path: pytest.xml
|
|
@@ -189,7 +190,7 @@ jobs:
|
|
|
189
190
|
if: github.repository == 'pydata/xarray'
|
|
190
191
|
steps:
|
|
191
192
|
- name: Upload
|
|
192
|
-
uses: actions/upload-artifact@
|
|
193
|
+
uses: actions/upload-artifact@v5
|
|
193
194
|
with:
|
|
194
195
|
name: Event File
|
|
195
196
|
path: ${{ github.event_path }}
|
|
@@ -21,6 +21,7 @@ jobs:
|
|
|
21
21
|
if: |
|
|
22
22
|
github.repository == 'pydata/xarray'
|
|
23
23
|
&& (github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'schedule')
|
|
24
|
+
&& !contains(github.event.pull_request.labels.*.name, 'skip-ci')
|
|
24
25
|
outputs:
|
|
25
26
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
26
27
|
steps:
|
|
@@ -49,7 +49,7 @@ jobs:
|
|
|
49
49
|
else
|
|
50
50
|
echo "✅ Looks good"
|
|
51
51
|
fi
|
|
52
|
-
- uses: actions/upload-artifact@
|
|
52
|
+
- uses: actions/upload-artifact@v5
|
|
53
53
|
with:
|
|
54
54
|
name: releases
|
|
55
55
|
path: dist
|
|
@@ -62,7 +62,7 @@ jobs:
|
|
|
62
62
|
name: Install Python
|
|
63
63
|
with:
|
|
64
64
|
python-version: "3.12"
|
|
65
|
-
- uses: actions/download-artifact@
|
|
65
|
+
- uses: actions/download-artifact@v6
|
|
66
66
|
with:
|
|
67
67
|
name: releases
|
|
68
68
|
path: dist
|
|
@@ -89,7 +89,7 @@ jobs:
|
|
|
89
89
|
id-token: write
|
|
90
90
|
|
|
91
91
|
steps:
|
|
92
|
-
- uses: actions/download-artifact@
|
|
92
|
+
- uses: actions/download-artifact@v6
|
|
93
93
|
with:
|
|
94
94
|
name: releases
|
|
95
95
|
path: dist
|
|
@@ -112,7 +112,7 @@ jobs:
|
|
|
112
112
|
id-token: write
|
|
113
113
|
|
|
114
114
|
steps:
|
|
115
|
-
- uses: actions/download-artifact@
|
|
115
|
+
- uses: actions/download-artifact@v6
|
|
116
116
|
with:
|
|
117
117
|
name: releases
|
|
118
118
|
path: dist
|
|
@@ -25,6 +25,7 @@ jobs:
|
|
|
25
25
|
if: |
|
|
26
26
|
github.repository == 'pydata/xarray'
|
|
27
27
|
&& (github.event_name == 'push' || github.event_name == 'pull_request')
|
|
28
|
+
&& !contains(github.event.pull_request.labels.*.name, 'skip-ci')
|
|
28
29
|
outputs:
|
|
29
30
|
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
|
|
30
31
|
steps:
|
|
@@ -24,24 +24,25 @@ repos:
|
|
|
24
24
|
- id: rst-inline-touching-normal
|
|
25
25
|
- id: text-unicode-replacement-char
|
|
26
26
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
27
|
-
rev: v0.
|
|
27
|
+
rev: v0.14.3
|
|
28
28
|
hooks:
|
|
29
29
|
- id: ruff-check
|
|
30
30
|
args: ["--fix", "--show-fixes"]
|
|
31
31
|
- id: ruff-format
|
|
32
32
|
- repo: https://github.com/keewis/blackdoc
|
|
33
|
-
rev: v0.4.
|
|
33
|
+
rev: v0.4.5
|
|
34
34
|
hooks:
|
|
35
35
|
- id: blackdoc
|
|
36
36
|
exclude: "generate_aggregations.py"
|
|
37
|
-
|
|
37
|
+
# make sure this is the most recent version of black
|
|
38
|
+
additional_dependencies: ["black==25.9.0"]
|
|
38
39
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
39
40
|
rev: v3.6.2
|
|
40
41
|
hooks:
|
|
41
42
|
- id: prettier
|
|
42
|
-
args: [--cache-location=.prettier_cache/cache]
|
|
43
|
+
args: ["--cache-location=.prettier_cache/cache"]
|
|
43
44
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
44
|
-
rev: v1.
|
|
45
|
+
rev: v1.18.2
|
|
45
46
|
hooks:
|
|
46
47
|
- id: mypy
|
|
47
48
|
# Copied from setup.cfg
|
|
@@ -59,7 +60,7 @@ repos:
|
|
|
59
60
|
numpy,
|
|
60
61
|
]
|
|
61
62
|
- repo: https://github.com/citation-file-format/cff-converter-python
|
|
62
|
-
rev:
|
|
63
|
+
rev: 5295f87c0e261da61a7b919fc754e3a77edd98a7
|
|
63
64
|
hooks:
|
|
64
65
|
- id: validate-cff
|
|
65
66
|
- repo: https://github.com/ComPWA/taplo-pre-commit
|
|
@@ -67,12 +68,14 @@ repos:
|
|
|
67
68
|
hooks:
|
|
68
69
|
- id: taplo-format
|
|
69
70
|
args: ["--option", "array_auto_collapse=false"]
|
|
71
|
+
- id: taplo-lint
|
|
72
|
+
args: ["--no-schema"]
|
|
70
73
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
71
74
|
rev: v0.24.1
|
|
72
75
|
hooks:
|
|
73
76
|
- id: validate-pyproject
|
|
74
77
|
additional_dependencies: ["validate-pyproject-schema-store[all]"]
|
|
75
78
|
- repo: https://github.com/adhtruong/mirrors-typos
|
|
76
|
-
rev: v1.
|
|
79
|
+
rev: v1.39.0
|
|
77
80
|
hooks:
|
|
78
81
|
- id: typos
|
|
@@ -20,6 +20,18 @@ pre-commit run --all-files # Includes ruff and other checks
|
|
|
20
20
|
uv run dmypy run # Type checking with mypy
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
## Code Style Guidelines
|
|
24
|
+
|
|
25
|
+
### Import Organization
|
|
26
|
+
|
|
27
|
+
- **Always place imports at the top of the file** in the standard import section
|
|
28
|
+
- Never add imports inside functions or nested scopes unless there's a specific
|
|
29
|
+
reason (e.g., circular import avoidance, optional dependencies in TYPE_CHECKING)
|
|
30
|
+
- Group imports following PEP 8 conventions:
|
|
31
|
+
1. Standard library imports
|
|
32
|
+
2. Related third-party imports
|
|
33
|
+
3. Local application/library specific imports
|
|
34
|
+
|
|
23
35
|
## GitHub Interaction Guidelines
|
|
24
36
|
|
|
25
37
|
- **NEVER impersonate the user on GitHub**, always sign off with something like
|
|
@@ -78,7 +78,7 @@ upstream https://github.com/pydata/xarray (push)
|
|
|
78
78
|
~~~~~~~~~~~~
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
Breaking
|
|
81
|
+
Breaking Changes
|
|
82
82
|
~~~~~~~~~~~~~~~~
|
|
83
83
|
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ upstream https://github.com/pydata/xarray (push)
|
|
|
86
86
|
~~~~~~~~~~~~
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
Bug
|
|
89
|
+
Bug Fixes
|
|
90
90
|
~~~~~~~~~
|
|
91
91
|
|
|
92
92
|
|
|
@@ -109,7 +109,7 @@ upstream https://github.com/pydata/xarray (push)
|
|
|
109
109
|
|
|
110
110
|
(Note that repo branch restrictions prevent pushing to `main`, so you have to just-self-merge this.)
|
|
111
111
|
|
|
112
|
-
13.
|
|
112
|
+
13. Consider updating the version available on pyodide:
|
|
113
113
|
- Open the PyPI page for [Xarray downloads](https://pypi.org/project/xarray/#files)
|
|
114
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xarray
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.11.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
|
|
@@ -48,7 +48,7 @@ Provides-Extra: parallel
|
|
|
48
48
|
Requires-Dist: dask[complete]; extra == "parallel"
|
|
49
49
|
Provides-Extra: viz
|
|
50
50
|
Requires-Dist: cartopy>=0.23; extra == "viz"
|
|
51
|
-
Requires-Dist: matplotlib; extra == "viz"
|
|
51
|
+
Requires-Dist: matplotlib>=3.8; extra == "viz"
|
|
52
52
|
Requires-Dist: nc-time-axis; extra == "viz"
|
|
53
53
|
Requires-Dist: seaborn; extra == "viz"
|
|
54
54
|
Provides-Extra: types
|
|
@@ -82,7 +82,7 @@ Dynamic: license-file
|
|
|
82
82
|
[](https://pypi.python.org/pypi/xarray/)
|
|
83
83
|
[](https://pypistats.org/packages/xarray)
|
|
84
84
|
[](https://anaconda.org/anaconda/xarray)
|
|
85
|
-
[](https://doi.org/10.5281/zenodo.598201)
|
|
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
88
|
[](https://xarray.dev)
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](https://pypi.python.org/pypi/xarray/)
|
|
10
10
|
[](https://pypistats.org/packages/xarray)
|
|
11
11
|
[](https://anaconda.org/anaconda/xarray)
|
|
12
|
-
[](https://doi.org/10.5281/zenodo.598201)
|
|
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
15
|
[](https://xarray.dev)
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
// If missing or the empty string, the tool will be automatically
|
|
30
30
|
// determined by looking for tools on the PATH environment
|
|
31
31
|
// variable.
|
|
32
|
-
"environment_type": "
|
|
32
|
+
"environment_type": "rattler",
|
|
33
33
|
"conda_channels": ["conda-forge"],
|
|
34
34
|
|
|
35
35
|
// timeout in seconds for installing any dependencies in environment
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
// https://github.com/airspeed-velocity/asv/issues/1389#issuecomment-2076131185
|
|
77
77
|
"build_command": [
|
|
78
78
|
"python -m build",
|
|
79
|
-
"python -
|
|
79
|
+
"python -m pip wheel --no-deps --no-build-isolation --no-index -w {build_cache_dir} {build_dir}"
|
|
80
80
|
],
|
|
81
81
|
// Combinations of libraries/python versions can be excluded/included
|
|
82
82
|
// from the set to test. Each entry is a dictionary containing additional
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import numpy as np
|
|
2
|
+
|
|
3
|
+
import xarray as xr
|
|
4
|
+
|
|
5
|
+
from . import randn
|
|
6
|
+
|
|
7
|
+
# Sizes chosen to test padding optimization
|
|
8
|
+
nx_padded = 4003 # Not divisible by 10 - requires padding
|
|
9
|
+
ny_padded = 4007 # Not divisible by 10 - requires padding
|
|
10
|
+
|
|
11
|
+
nx_exact = 4000 # Divisible by 10 - no padding needed
|
|
12
|
+
ny_exact = 4000 # Divisible by 10 - no padding needed
|
|
13
|
+
|
|
14
|
+
window = 10
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class Coarsen:
|
|
18
|
+
def setup(self, *args, **kwargs):
|
|
19
|
+
# Case 1: Requires padding on both dimensions
|
|
20
|
+
self.da_padded = xr.DataArray(
|
|
21
|
+
randn((nx_padded, ny_padded)),
|
|
22
|
+
dims=("x", "y"),
|
|
23
|
+
coords={"x": np.arange(nx_padded), "y": np.arange(ny_padded)},
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
# Case 2: No padding required
|
|
27
|
+
self.da_exact = xr.DataArray(
|
|
28
|
+
randn((nx_exact, ny_exact)),
|
|
29
|
+
dims=("x", "y"),
|
|
30
|
+
coords={"x": np.arange(nx_exact), "y": np.arange(ny_exact)},
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
def time_coarsen_with_padding(self):
|
|
34
|
+
"""Coarsen 2D array where both dimensions require padding."""
|
|
35
|
+
self.da_padded.coarsen(x=window, y=window, boundary="pad").mean()
|
|
36
|
+
|
|
37
|
+
def time_coarsen_no_padding(self):
|
|
38
|
+
"""Coarsen 2D array where dimensions are exact multiples (no padding)."""
|
|
39
|
+
self.da_exact.coarsen(x=window, y=window, boundary="pad").mean()
|
|
40
|
+
|
|
41
|
+
def peakmem_coarsen_with_padding(self):
|
|
42
|
+
"""Peak memory for coarsening with padding on both dimensions."""
|
|
43
|
+
self.da_padded.coarsen(x=window, y=window, boundary="pad").mean()
|
|
44
|
+
|
|
45
|
+
def peakmem_coarsen_no_padding(self):
|
|
46
|
+
"""Peak memory for coarsening without padding."""
|
|
47
|
+
self.da_exact.coarsen(x=window, y=window, boundary="pad").mean()
|
|
@@ -5,6 +5,22 @@ import xarray as xr
|
|
|
5
5
|
from . import requires_dask
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
class Concat1d:
|
|
9
|
+
"""Benchmark concatenating large datasets"""
|
|
10
|
+
|
|
11
|
+
def setup(self) -> None:
|
|
12
|
+
self.data_arrays = [
|
|
13
|
+
xr.DataArray(data=np.zeros(4 * 1024 * 1024, dtype=np.int8), dims=["x"])
|
|
14
|
+
for _ in range(10)
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
def time_concat(self) -> None:
|
|
18
|
+
xr.concat(self.data_arrays, dim="x")
|
|
19
|
+
|
|
20
|
+
def peakmem_concat(self) -> None:
|
|
21
|
+
xr.concat(self.data_arrays, dim="x")
|
|
22
|
+
|
|
23
|
+
|
|
8
24
|
class Combine1d:
|
|
9
25
|
"""Benchmark concatenating and merging large datasets"""
|
|
10
26
|
|
|
@@ -38,7 +38,7 @@ python -m pip install \
|
|
|
38
38
|
pandas \
|
|
39
39
|
pyarrow
|
|
40
40
|
# manually install `pint`, `donfig`, and `crc32c` to pull in new dependencies
|
|
41
|
-
python -m pip install --upgrade pint donfig
|
|
41
|
+
python -m pip install --upgrade pint donfig google_crc32c
|
|
42
42
|
python -m pip install \
|
|
43
43
|
--no-deps \
|
|
44
44
|
--upgrade \
|
|
@@ -350,7 +350,7 @@ Indexes:
|
|
|
350
350
|
|
|
351
351
|
To keep the `repr` compact, we could:
|
|
352
352
|
|
|
353
|
-
- consolidate entries that map to the same index object, and have
|
|
353
|
+
- consolidate entries that map to the same index object, and have a short inline repr for `XarrayIndex` object
|
|
354
354
|
- collapse the index section by default in the HTML `repr`
|
|
355
355
|
- maybe omit all trivial indexes for 1D coordinates that match the dimension name
|
|
356
356
|
|
|
@@ -1051,7 +1051,7 @@ Then you can do::
|
|
|
1051
1051
|
|
|
1052
1052
|
git branch -D shiny-new-feature
|
|
1053
1053
|
|
|
1054
|
-
You need to use
|
|
1054
|
+
You need to use an upper-case ``-D`` because the branch was squashed into a
|
|
1055
1055
|
single commit before merging. Be careful with this because ``git`` won't warn
|
|
1056
1056
|
you if you accidentally delete an unmerged branch.
|
|
1057
1057
|
|
|
@@ -28,7 +28,7 @@ For netCDF and IO
|
|
|
28
28
|
- `netCDF4 <https://github.com/Unidata/netcdf4-python>`__: recommended if you
|
|
29
29
|
want to use xarray for reading or writing netCDF files
|
|
30
30
|
- `scipy <https://scipy.org>`__: used as a fallback for reading/writing netCDF3
|
|
31
|
-
- `pydap <https://
|
|
31
|
+
- `pydap <https://pydap.github.io/pydap/en/intro.html>`__: used as a fallback for accessing OPeNDAP
|
|
32
32
|
- `h5netcdf <https://github.com/h5netcdf/h5netcdf>`__: an alternative library for
|
|
33
33
|
reading and writing netCDF4 files that does not use the netCDF-C libraries
|
|
34
34
|
- `zarr <https://zarr.readthedocs.io>`__: for chunked, compressed, N-dimensional arrays.
|
|
@@ -168,10 +168,6 @@ third-party libraries.
|
|
|
168
168
|
Flexible storage
|
|
169
169
|
~~~~~~~~~~~~~~~~
|
|
170
170
|
|
|
171
|
-
.. note::
|
|
172
|
-
Work on flexible storage backends is currently underway. See
|
|
173
|
-
`GH Project #3 <https://github.com/pydata/xarray/projects/3>`__ for more detail.
|
|
174
|
-
|
|
175
171
|
The xarray backends module has grown in size and complexity. Much of
|
|
176
172
|
this growth has been "organic" and mostly to support incremental
|
|
177
173
|
additions to the supported backends. This has left us with a fragile
|
|
@@ -250,11 +246,6 @@ many applications and depends on pandas.
|
|
|
250
246
|
Engaging more users
|
|
251
247
|
-------------------
|
|
252
248
|
|
|
253
|
-
.. note::
|
|
254
|
-
Work on improving xarray’s documentation and user engagement is
|
|
255
|
-
currently underway. See `GH Project #4 <https://github.com/pydata/xarray/projects/4>`__
|
|
256
|
-
for more detail.
|
|
257
|
-
|
|
258
249
|
Like many open-source projects, the documentation of xarray has grown
|
|
259
250
|
together with the library's features. While we think that the xarray
|
|
260
251
|
documentation is comprehensive already, we acknowledge that the adoption
|
|
@@ -360,7 +360,7 @@ in the dictionary:
|
|
|
360
360
|
Where a pandas object is supplied as a value, the names of its indexes are used as dimension
|
|
361
361
|
names, and its data is aligned to any existing dimensions.
|
|
362
362
|
|
|
363
|
-
You can also create
|
|
363
|
+
You can also create a dataset from:
|
|
364
364
|
|
|
365
365
|
- A :py:class:`pandas.DataFrame` or ``pandas.Panel`` along its columns and items
|
|
366
366
|
respectively, by passing it into the :py:class:`~xarray.Dataset` directly
|
|
@@ -559,7 +559,7 @@ nested dict-like containers of both :py:class:`xarray.DataArray`\s and :py:class
|
|
|
559
559
|
A single datatree object is known as a "node", and its position relative to
|
|
560
560
|
other nodes is defined by two more key properties:
|
|
561
561
|
|
|
562
|
-
- ``children``:
|
|
562
|
+
- ``children``: A dictionary mapping from names to other :py:class:`~xarray.DataTree`
|
|
563
563
|
objects, known as its "child nodes".
|
|
564
564
|
- ``parent``: The single :py:class:`~xarray.DataTree` object whose children this datatree is a
|
|
565
565
|
member of, known as its "parent node".
|
|
@@ -426,7 +426,7 @@ We can use :py:meth:`xarray.DataTree.match` for this:
|
|
|
426
426
|
We can also subset trees by the contents of the nodes.
|
|
427
427
|
:py:meth:`xarray.DataTree.filter` retains only the nodes of a tree that meet a certain condition.
|
|
428
428
|
For example, we could recreate the Simpson's family tree with the ages of each individual, then filter for only the adults:
|
|
429
|
-
First
|
|
429
|
+
First let's recreate the tree but with an ``age`` data variable in every node:
|
|
430
430
|
|
|
431
431
|
.. jupyter-execute::
|
|
432
432
|
|
|
@@ -485,7 +485,7 @@ Operations and Methods on Trees
|
|
|
485
485
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
486
486
|
|
|
487
487
|
To show how applying operations across a whole tree at once can be useful,
|
|
488
|
-
let's first create
|
|
488
|
+
let's first create an example scientific dataset.
|
|
489
489
|
|
|
490
490
|
.. jupyter-execute::
|
|
491
491
|
|
|
@@ -112,6 +112,182 @@ You can learn more about using and developing backends in the
|
|
|
112
112
|
linkStyle default font-size:18pt,stroke-width:4
|
|
113
113
|
|
|
114
114
|
|
|
115
|
+
.. _io.backend_resolution:
|
|
116
|
+
|
|
117
|
+
Backend Selection
|
|
118
|
+
-----------------
|
|
119
|
+
|
|
120
|
+
When opening a file or URL without explicitly specifying the ``engine`` parameter,
|
|
121
|
+
xarray automatically selects an appropriate backend based on the file path or URL.
|
|
122
|
+
The backends are tried in order: **netcdf4 → h5netcdf → scipy → pydap → zarr**.
|
|
123
|
+
|
|
124
|
+
.. note::
|
|
125
|
+
You can customize the order in which netCDF backends are tried using the
|
|
126
|
+
``netcdf_engine_order`` option in :py:func:`~xarray.set_options`:
|
|
127
|
+
|
|
128
|
+
.. code-block:: python
|
|
129
|
+
|
|
130
|
+
# Prefer h5netcdf over netcdf4
|
|
131
|
+
xr.set_options(netcdf_engine_order=["h5netcdf", "netcdf4", "scipy"])
|
|
132
|
+
|
|
133
|
+
See :ref:`options` for more details on configuration options.
|
|
134
|
+
|
|
135
|
+
The following tables show which backend will be selected for different types of URLs and files.
|
|
136
|
+
|
|
137
|
+
.. important::
|
|
138
|
+
✅ means the backend will **guess it can open** the URL or file based on its path, extension,
|
|
139
|
+
or magic number, but this doesn't guarantee success. For example, not all Zarr stores are
|
|
140
|
+
xarray-compatible.
|
|
141
|
+
|
|
142
|
+
❌ means the backend will not attempt to open it.
|
|
143
|
+
|
|
144
|
+
Remote URL Resolution
|
|
145
|
+
~~~~~~~~~~~~~~~~~~~~~
|
|
146
|
+
|
|
147
|
+
.. list-table::
|
|
148
|
+
:header-rows: 1
|
|
149
|
+
:widths: 50 10 10 10 10 10
|
|
150
|
+
|
|
151
|
+
* - URL
|
|
152
|
+
- :ref:`netcdf4 <io.netcdf>`
|
|
153
|
+
- :ref:`h5netcdf <io.hdf5>`
|
|
154
|
+
- :ref:`scipy <io.netcdf>`
|
|
155
|
+
- :ref:`pydap <io.opendap>`
|
|
156
|
+
- :ref:`zarr <io.zarr>`
|
|
157
|
+
* - ``https://example.com/store.zarr``
|
|
158
|
+
- ❌
|
|
159
|
+
- ❌
|
|
160
|
+
- ❌
|
|
161
|
+
- ❌
|
|
162
|
+
- ✅
|
|
163
|
+
* - ``https://example.com/data.nc``
|
|
164
|
+
- ✅
|
|
165
|
+
- ✅
|
|
166
|
+
- ❌
|
|
167
|
+
- ❌
|
|
168
|
+
- ❌
|
|
169
|
+
* - ``http://example.com/data.nc?var=temp``
|
|
170
|
+
- ✅
|
|
171
|
+
- ❌
|
|
172
|
+
- ❌
|
|
173
|
+
- ❌
|
|
174
|
+
- ❌
|
|
175
|
+
* - ``http://example.com/dap4/data.nc?var=x``
|
|
176
|
+
- ✅
|
|
177
|
+
- ❌
|
|
178
|
+
- ❌
|
|
179
|
+
- ✅
|
|
180
|
+
- ❌
|
|
181
|
+
* - ``dap2://opendap.nasa.gov/dataset``
|
|
182
|
+
- ❌
|
|
183
|
+
- ❌
|
|
184
|
+
- ❌
|
|
185
|
+
- ✅
|
|
186
|
+
- ❌
|
|
187
|
+
* - ``https://example.com/DAP4/data``
|
|
188
|
+
- ❌
|
|
189
|
+
- ❌
|
|
190
|
+
- ❌
|
|
191
|
+
- ✅
|
|
192
|
+
- ❌
|
|
193
|
+
* - ``http://test.opendap.org/dap4/file.nc4``
|
|
194
|
+
- ✅
|
|
195
|
+
- ✅
|
|
196
|
+
- ❌
|
|
197
|
+
- ✅
|
|
198
|
+
- ❌
|
|
199
|
+
* - ``https://example.com/DAP4/data.nc``
|
|
200
|
+
- ✅
|
|
201
|
+
- ✅
|
|
202
|
+
- ❌
|
|
203
|
+
- ✅
|
|
204
|
+
- ❌
|
|
205
|
+
|
|
206
|
+
Local File Resolution
|
|
207
|
+
~~~~~~~~~~~~~~~~~~~~~
|
|
208
|
+
|
|
209
|
+
For local files, backends first try to read the file's **magic number** (first few bytes).
|
|
210
|
+
If the magic number **cannot be read** (e.g., file doesn't exist, no permissions), they fall
|
|
211
|
+
back to checking the file **extension**. If the magic number is readable but invalid, the
|
|
212
|
+
backend returns False (does not fall back to extension).
|
|
213
|
+
|
|
214
|
+
.. list-table::
|
|
215
|
+
:header-rows: 1
|
|
216
|
+
:widths: 40 20 10 10 10 10
|
|
217
|
+
|
|
218
|
+
* - File Path
|
|
219
|
+
- Magic Number
|
|
220
|
+
- :ref:`netcdf4 <io.netcdf>`
|
|
221
|
+
- :ref:`h5netcdf <io.hdf5>`
|
|
222
|
+
- :ref:`scipy <io.netcdf>`
|
|
223
|
+
- :ref:`zarr <io.zarr>`
|
|
224
|
+
* - ``/path/to/file.nc``
|
|
225
|
+
- ``CDF\x01`` (netCDF3)
|
|
226
|
+
- ✅
|
|
227
|
+
- ❌
|
|
228
|
+
- ✅
|
|
229
|
+
- ❌
|
|
230
|
+
* - ``/path/to/file.nc4``
|
|
231
|
+
- ``\x89HDF\r\n\x1a\n`` (HDF5/netCDF4)
|
|
232
|
+
- ✅
|
|
233
|
+
- ✅
|
|
234
|
+
- ❌
|
|
235
|
+
- ❌
|
|
236
|
+
* - ``/path/to/file.nc.gz``
|
|
237
|
+
- ``\x1f\x8b`` + ``CDF`` inside
|
|
238
|
+
- ❌
|
|
239
|
+
- ❌
|
|
240
|
+
- ✅
|
|
241
|
+
- ❌
|
|
242
|
+
* - ``/path/to/store.zarr/``
|
|
243
|
+
- (directory)
|
|
244
|
+
- ❌
|
|
245
|
+
- ❌
|
|
246
|
+
- ❌
|
|
247
|
+
- ✅
|
|
248
|
+
* - ``/path/to/file.nc``
|
|
249
|
+
- *(no magic number)*
|
|
250
|
+
- ✅
|
|
251
|
+
- ✅
|
|
252
|
+
- ✅
|
|
253
|
+
- ❌
|
|
254
|
+
* - ``/path/to/file.xyz``
|
|
255
|
+
- ``CDF\x01`` (netCDF3)
|
|
256
|
+
- ✅
|
|
257
|
+
- ❌
|
|
258
|
+
- ✅
|
|
259
|
+
- ❌
|
|
260
|
+
* - ``/path/to/file.xyz``
|
|
261
|
+
- ``\x89HDF\r\n\x1a\n`` (HDF5/netCDF4)
|
|
262
|
+
- ✅
|
|
263
|
+
- ✅
|
|
264
|
+
- ❌
|
|
265
|
+
- ❌
|
|
266
|
+
* - ``/path/to/file.xyz``
|
|
267
|
+
- *(no magic number)*
|
|
268
|
+
- ❌
|
|
269
|
+
- ❌
|
|
270
|
+
- ❌
|
|
271
|
+
- ❌
|
|
272
|
+
|
|
273
|
+
.. note::
|
|
274
|
+
Remote URLs ending in ``.nc`` are **ambiguous**:
|
|
275
|
+
|
|
276
|
+
- They could be netCDF files stored on a remote HTTP server (readable by ``netcdf4`` or ``h5netcdf``)
|
|
277
|
+
- They could be OPeNDAP/DAP endpoints (readable by ``netcdf4`` with DAP support or ``pydap``)
|
|
278
|
+
|
|
279
|
+
These interpretations are fundamentally incompatible. If xarray's automatic
|
|
280
|
+
selection chooses the wrong backend, you must explicitly specify the ``engine`` parameter:
|
|
281
|
+
|
|
282
|
+
.. code-block:: python
|
|
283
|
+
|
|
284
|
+
# Force interpretation as a DAP endpoint
|
|
285
|
+
ds = xr.open_dataset("http://example.com/data.nc", engine="pydap")
|
|
286
|
+
|
|
287
|
+
# Force interpretation as a remote netCDF file
|
|
288
|
+
ds = xr.open_dataset("https://example.com/data.nc", engine="netcdf4")
|
|
289
|
+
|
|
290
|
+
|
|
115
291
|
.. _io.netcdf:
|
|
116
292
|
|
|
117
293
|
netCDF
|
|
@@ -1213,6 +1389,8 @@ See for example : `ncdata usage examples`_
|
|
|
1213
1389
|
.. _Ncdata: https://ncdata.readthedocs.io/en/latest/index.html
|
|
1214
1390
|
.. _ncdata usage examples: https://github.com/pp-mo/ncdata/tree/v0.1.2?tab=readme-ov-file#correct-a-miscoded-attribute-in-iris-input
|
|
1215
1391
|
|
|
1392
|
+
.. _io.opendap:
|
|
1393
|
+
|
|
1216
1394
|
OPeNDAP
|
|
1217
1395
|
-------
|
|
1218
1396
|
|