xarray 2025.1.1__tar.gz → 2025.3.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.1.1 → xarray-2025.3.0}/.github/workflows/ci-additional.yaml +6 -6
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/ci.yaml +24 -11
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/pypi-release.yaml +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/upstream-dev-ci.yaml +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/.gitignore +5 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.pre-commit-config.yaml +9 -3
- {xarray-2025.1.1/xarray.egg-info → xarray-2025.3.0}/PKG-INFO +21 -17
- {xarray-2025.1.1 → xarray-2025.3.0}/README.md +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/minimum_versions.py +2 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/all-but-dask.yml +2 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/all-but-numba.yml +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/bare-minimum.yml +2 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/doc.yml +1 -1
- xarray-2025.1.1/ci/requirements/environment-3.13.yml → xarray-2025.3.0/ci/requirements/environment-3.14.yml +14 -2
- xarray-2025.1.1/ci/requirements/environment-windows-3.13.yml → xarray-2025.3.0/ci/requirements/environment-windows-3.14.yml +15 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/environment-windows.yml +15 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/environment.yml +14 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/requirements/min-all-deps.yml +2 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/conftest.py +19 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/api-hidden.rst +51 -49
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/api.rst +87 -25
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/contributing.rst +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/ecosystem.rst +1 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/faq.rst +13 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/chunked-arrays.rst +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/index.rst +1 -0
- xarray-2025.3.0/doc/internals/time-coding.rst +537 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/zarr-encoding-spec.rst +1 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/data-structures.rst +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/io.rst +9 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/pandas.rst +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/reshaping.rst +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/terminology.rst +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/time-series.rst +33 -14
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/weather-climate.rst +24 -20
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/whats-new.rst +229 -12
- {xarray-2025.1.1 → xarray-2025.3.0}/pyproject.toml +116 -44
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/__init__.py +9 -7
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/api.py +52 -29
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/h5netcdf_.py +40 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/zarr.py +77 -47
- xarray-2025.3.0/xarray/coders.py +8 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/calendar_ops.py +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/cftime_offsets.py +246 -62
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/cftimeindex.py +66 -28
- xarray-2025.3.0/xarray/coding/common.py +136 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/frequencies.py +4 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/times.py +428 -146
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/variables.py +85 -144
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/dask_array_ops.py +14 -39
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/pdcompat.py +7 -9
- xarray-2025.1.1/xarray/core/computation.py → xarray-2025.3.0/xarray/computation/apply_ufunc.py +9 -998
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/arithmetic.py +4 -3
- xarray-2025.3.0/xarray/computation/computation.py +1030 -0
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/nanops.py +1 -1
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/ops.py +7 -5
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/rolling.py +4 -3
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/rolling_exp.py +2 -2
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/computation}/weighted.py +4 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/conventions.py +42 -13
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/_typed_ops.py +2 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/accessor_str.py +1 -1
- xarray-2025.3.0/xarray/core/chunk.py +147 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/common.py +41 -18
- xarray-2025.3.0/xarray/core/coordinate_transform.py +84 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/coordinates.py +45 -9
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/dataarray.py +40 -28
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/dataset.py +52 -351
- xarray-2025.3.0/xarray/core/dataset_utils.py +91 -0
- xarray-2025.3.0/xarray/core/dataset_variables.py +68 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree.py +113 -24
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree_io.py +8 -7
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree_mapping.py +26 -8
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/datatree_render.py +3 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/dtypes.py +4 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/duck_array_ops.py +59 -34
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/formatting.py +9 -14
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/formatting_html.py +1 -4
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/groupby.py +79 -22
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/indexes.py +138 -10
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/indexing.py +154 -4
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/missing.py +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/nputils.py +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/parallel.py +3 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/resample.py +23 -7
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/resample_cftime.py +3 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/treenode.py +3 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/types.py +11 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/utils.py +67 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/variable.py +22 -80
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/groupers.py +11 -8
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/indexes/__init__.py +5 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/core.py +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/pycompat.py +11 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/dataarray_plot.py +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/dataset_plot.py +1 -1
- xarray-2025.3.0/xarray/static/html/__init__.py +0 -0
- xarray-2025.3.0/xarray/structure/__init__.py +0 -0
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/alignment.py +1 -1
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/combine.py +21 -11
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/concat.py +5 -5
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/structure}/merge.py +29 -6
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/testing/assertions.py +4 -4
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/testing/strategies.py +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/__init__.py +68 -18
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/arrays.py +7 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/conftest.py +26 -21
- xarray-2025.3.0/xarray/tests/namespace.py +5 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_accessor_dt.py +12 -17
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_array_api.py +2 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends.py +464 -429
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_datatree.py +282 -88
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cftime_offsets.py +54 -46
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cftimeindex.py +95 -57
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cftimeindex_resample.py +16 -8
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coarsen.py +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coding_times.py +527 -245
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_combine.py +15 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_computation.py +29 -6
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_concat.py +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_conventions.py +34 -12
- xarray-2025.3.0/xarray/tests/test_coordinate_transform.py +218 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coordinates.py +25 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dataarray.py +27 -10
- xarray-2025.3.0/xarray/tests/test_dataarray_typing.yml +190 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dataset.py +65 -24
- xarray-2025.3.0/xarray/tests/test_dataset_typing.yml +190 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_datatree.py +77 -18
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_datatree_mapping.py +25 -2
- xarray-2025.3.0/xarray/tests/test_datatree_typing.yml +190 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_distributed.py +51 -22
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_duck_array_ops.py +91 -48
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_groupby.py +19 -17
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_indexing.py +13 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_interp.py +13 -12
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_merge.py +3 -2
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_missing.py +21 -11
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_namedarray.py +7 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_plot.py +5 -4
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_plugins.py +3 -3
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_rolling.py +1 -1
- xarray-2025.3.0/xarray/tests/test_tutorial.py +45 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_variable.py +145 -160
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_weighted.py +1 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tutorial.py +139 -0
- xarray-2025.3.0/xarray/util/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/generate_ops.py +2 -1
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/print_versions.py +2 -2
- {xarray-2025.1.1 → xarray-2025.3.0/xarray.egg-info}/PKG-INFO +21 -17
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/SOURCES.txt +33 -18
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/requires.txt +17 -15
- xarray-2025.1.1/xarray/coders.py +0 -10
- xarray-2025.1.1/xarray/tests/test_tutorial.py +0 -30
- {xarray-2025.1.1 → xarray-2025.3.0}/.binder/environment.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.codecov.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.git-blame-ignore-revs +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.git_archival.txt +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.gitattributes +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/FUNDING.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/config.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/dependabot.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/release.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/stale.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/benchmarks-last-release.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/benchmarks.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/configure-testpypi-version.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/hypothesis.yaml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/nightly-wheels.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.github/workflows/publish-test-results.yaml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/.readthedocs.yaml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/CITATION.cff +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/CODE_OF_CONDUCT.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/CONTRIBUTING.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/CORE_TEAM_GUIDE.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/DATATREE_MIGRATION_GUIDE.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/HOW_TO_RELEASE.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/asv.conf.json +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/README_CI.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/accessors.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/alignment.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/coding.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/combine.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/dataarray_missing.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/dataset.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/dataset_io.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/datatree.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/groupby.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/import.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/indexing.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/interp.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/merge.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/pandas.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/polyfit.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/reindexing.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/renaming.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/repr.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/rolling.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/asv_bench/benchmarks/unstacking.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/install-upstream-wheels.sh +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/ci/release_contributors.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/design_notes/flexible_indexes_notes.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/design_notes/grouper_objects.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/design_notes/named_array_design_doc.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/Makefile +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/README.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/.gitignore +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/advanced_selection_interpolation.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/ci.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/dask-array.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/dataset-diagram.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_api.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_contribute.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_getting_started.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/index_user_guide.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/numfocus_logo.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/opendap-prism-tmax.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/style.css +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/monthly-means.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/toy-weather-data.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/thumbnails/visualization_gallery.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_static/view-docs.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor_callable.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/_templates/autosummary/accessor_method.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/combined.json +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/conf.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/developers-meeting.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/ROMS_ocean_model.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/_code/accessor_example.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/area_weighted_temperature.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/blank_template.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/monthly-means.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/monthly_means_output.png +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/multidimensional-coords.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/visualization_gallery.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/examples/weather-data.ipynb +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/README.txt +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_colorbar_center.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_control_colorbar.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery/plot_lines_from_2d.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/gallery.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/index.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/installing.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/quick-overview.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/getting-started-guide/why-xarray.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/help-diagram.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/howdoi.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/index.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/duck-arrays-integration.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/extending-xarray.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/how-to-add-new-backend.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/how-to-create-custom-index.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/internal-design.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/internals/interoperability.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/roadmap.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/tutorials-and-videos.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/combining.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/computation.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/dask.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/duckarrays.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/groupby.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/hierarchical-data.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/index.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/indexing.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/interpolation.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/options.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/plotting.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/user-guide/testing.rst +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/doc/videos.yml +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/ANYTREE_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/DASK_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/ICOMOON_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/NUMPY_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/PANDAS_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/PYTHON_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/SCIKIT_LEARN_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/licenses/SEABORN_LICENSE +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/properties/README.md +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/properties/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/properties/conftest.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_encode_decode.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_index_manipulation.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_pandas_roundtrip.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/properties/test_properties.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/setup.cfg +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/setup.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/common.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/file_manager.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/locks.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/lru_cache.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/memory.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/netCDF4_.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/netcdf3.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/plugins.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/pydap_.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/scipy_.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/backends/store.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/coding/strings.py +0 -0
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/__init__.py +0 -0
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/array_api_compat.py +0 -0
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/dask_array_compat.py +0 -0
- {xarray-2025.1.1/xarray/core → xarray-2025.3.0/xarray/compat}/npcompat.py +0 -0
- {xarray-2025.1.1/xarray/namedarray → xarray-2025.3.0/xarray/computation}/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/convert.py +0 -0
- {xarray-2025.1.1/xarray/static → xarray-2025.3.0/xarray/core}/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/_aggregations.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/accessor_dt.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/extension_array.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/extensions.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/core/options.py +0 -0
- {xarray-2025.1.1/xarray/static/css → xarray-2025.3.0/xarray/namedarray}/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/_aggregations.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/_array_api.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/_typing.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/daskmanager.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/dtypes.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/parallelcompat.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/namedarray/utils.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/accessor.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/facetgrid.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/plot/utils.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/py.typed +0 -0
- {xarray-2025.1.1/xarray/static/html → xarray-2025.3.0/xarray/static}/__init__.py +0 -0
- {xarray-2025.1.1/xarray/util → xarray-2025.3.0/xarray/static/css}/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/static/css/style.css +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/static/html/icons-svg-inline.html +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/testing/__init__.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/bears.nc +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example.grib +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example.ict +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example.uamiv +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example_1.nc +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/data/example_1.nc.gz +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_accessor_str.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_assertions.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_api.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_common.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_file_manager.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_locks.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_backends_lru_cache.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_calendar_ops.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coding.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_coding_strings.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_cupy.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dask.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_deprecation_helpers.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_dtypes.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_duck_array_wrapping.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_error_messages.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_extensions.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_formatting.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_formatting_html.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_hashable.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_indexes.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_nputils.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_options.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_parallelcompat.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_print_versions.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_sparse.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_strategies.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_treenode.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_typed_ops.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_ufuncs.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_units.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/tests/test_utils.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/ufuncs.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/deprecation_helpers.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray/util/generate_aggregations.py +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/dependency_links.txt +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/entry_points.txt +0 -0
- {xarray-2025.1.1 → xarray-2025.3.0}/xarray.egg-info/top_level.txt +0 -0
|
@@ -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.15" --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.
|
|
126
|
+
uses: codecov/codecov-action@v5.4.0
|
|
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.15" --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.
|
|
177
|
+
uses: codecov/codecov-action@v5.4.0
|
|
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.
|
|
233
|
+
uses: codecov/codecov-action@v5.4.0
|
|
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.
|
|
289
|
+
uses: codecov/codecov-action@v5.4.0
|
|
290
290
|
with:
|
|
291
291
|
file: pyright_report/cobertura.xml
|
|
292
292
|
flags: pyright39
|
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
47
47
|
matrix:
|
|
48
48
|
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
|
|
49
49
|
# Bookend python versions
|
|
50
|
-
python-version: ["3.10", "3.
|
|
50
|
+
python-version: ["3.10", "3.13"]
|
|
51
51
|
env: [""]
|
|
52
52
|
include:
|
|
53
53
|
# Minimum python version:
|
|
@@ -59,14 +59,23 @@ jobs:
|
|
|
59
59
|
os: ubuntu-latest
|
|
60
60
|
# Latest python version:
|
|
61
61
|
- env: "all-but-numba"
|
|
62
|
-
python-version: "3.
|
|
62
|
+
python-version: "3.13"
|
|
63
63
|
os: ubuntu-latest
|
|
64
64
|
- env: "all-but-dask"
|
|
65
|
-
|
|
66
|
-
python-version: "3.11"
|
|
65
|
+
python-version: "3.12"
|
|
67
66
|
os: ubuntu-latest
|
|
68
67
|
- env: "flaky"
|
|
69
|
-
python-version: "3.
|
|
68
|
+
python-version: "3.13"
|
|
69
|
+
os: ubuntu-latest
|
|
70
|
+
# The mypy tests must be executed using only 1 process in order to guarantee
|
|
71
|
+
# predictable mypy output messages for comparison to expectations.
|
|
72
|
+
- env: "mypy"
|
|
73
|
+
python-version: "3.10"
|
|
74
|
+
numprocesses: 1
|
|
75
|
+
os: ubuntu-latest
|
|
76
|
+
- env: "mypy"
|
|
77
|
+
python-version: "3.13"
|
|
78
|
+
numprocesses: 1
|
|
70
79
|
os: ubuntu-latest
|
|
71
80
|
steps:
|
|
72
81
|
- uses: actions/checkout@v4
|
|
@@ -78,10 +87,10 @@ jobs:
|
|
|
78
87
|
|
|
79
88
|
if [[ ${{ matrix.os }} == windows* ]] ;
|
|
80
89
|
then
|
|
81
|
-
if [[ ${{ matrix.python-version }} != "3.
|
|
90
|
+
if [[ ${{ matrix.python-version }} != "3.14" ]]; then
|
|
82
91
|
echo "CONDA_ENV_FILE=ci/requirements/environment-windows.yml" >> $GITHUB_ENV
|
|
83
92
|
else
|
|
84
|
-
echo "CONDA_ENV_FILE=ci/requirements/environment-windows-3.
|
|
93
|
+
echo "CONDA_ENV_FILE=ci/requirements/environment-windows-3.14.yml" >> $GITHUB_ENV
|
|
85
94
|
fi
|
|
86
95
|
elif [[ "${{ matrix.env }}" != "" ]] ;
|
|
87
96
|
then
|
|
@@ -89,6 +98,10 @@ jobs:
|
|
|
89
98
|
then
|
|
90
99
|
echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
|
|
91
100
|
echo "PYTEST_ADDOPTS=-m 'flaky or network' --run-flaky --run-network-tests -W default" >> $GITHUB_ENV
|
|
101
|
+
elif [[ "${{ matrix.env }}" == "mypy" ]] ;
|
|
102
|
+
then
|
|
103
|
+
echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
|
|
104
|
+
echo "PYTEST_ADDOPTS=-n 1 -m 'mypy' --run-mypy -W default" >> $GITHUB_ENV
|
|
92
105
|
else
|
|
93
106
|
echo "CONDA_ENV_FILE=ci/requirements/${{ matrix.env }}.yml" >> $GITHUB_ENV
|
|
94
107
|
fi
|
|
@@ -98,10 +111,10 @@ jobs:
|
|
|
98
111
|
echo "PYTEST_ADDOPTS=-W default" >> $GITHUB_ENV
|
|
99
112
|
fi
|
|
100
113
|
else
|
|
101
|
-
if [[ ${{ matrix.python-version }} != "3.
|
|
114
|
+
if [[ ${{ matrix.python-version }} != "3.14" ]]; then
|
|
102
115
|
echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
|
|
103
116
|
else
|
|
104
|
-
echo "CONDA_ENV_FILE=ci/requirements/environment-3.
|
|
117
|
+
echo "CONDA_ENV_FILE=ci/requirements/environment-3.14.yml" >> $GITHUB_ENV
|
|
105
118
|
fi
|
|
106
119
|
fi
|
|
107
120
|
|
|
@@ -145,7 +158,7 @@ jobs:
|
|
|
145
158
|
save-always: true
|
|
146
159
|
|
|
147
160
|
- name: Run tests
|
|
148
|
-
run: python -m pytest -n 4
|
|
161
|
+
run: python -m pytest -n ${{ matrix.numprocesses || 4 }}
|
|
149
162
|
--timeout 180
|
|
150
163
|
--cov=xarray
|
|
151
164
|
--cov-report=xml
|
|
@@ -159,7 +172,7 @@ jobs:
|
|
|
159
172
|
path: pytest.xml
|
|
160
173
|
|
|
161
174
|
- name: Upload code coverage to Codecov
|
|
162
|
-
uses: codecov/codecov-action@v5.
|
|
175
|
+
uses: codecov/codecov-action@v5.4.0
|
|
163
176
|
env:
|
|
164
177
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
165
178
|
with:
|
|
@@ -88,7 +88,7 @@ jobs:
|
|
|
88
88
|
path: dist
|
|
89
89
|
- name: Publish package to TestPyPI
|
|
90
90
|
if: github.event_name == 'push'
|
|
91
|
-
uses: pypa/gh-action-pypi-publish@v1.12.
|
|
91
|
+
uses: pypa/gh-action-pypi-publish@v1.12.4
|
|
92
92
|
with:
|
|
93
93
|
repository_url: https://test.pypi.org/legacy/
|
|
94
94
|
verbose: true
|
|
@@ -110,6 +110,6 @@ jobs:
|
|
|
110
110
|
name: releases
|
|
111
111
|
path: dist
|
|
112
112
|
- name: Publish package to PyPI
|
|
113
|
-
uses: pypa/gh-action-pypi-publish@v1.12.
|
|
113
|
+
uses: pypa/gh-action-pypi-publish@v1.12.4
|
|
114
114
|
with:
|
|
115
115
|
verbose: true
|
|
@@ -140,7 +140,7 @@ jobs:
|
|
|
140
140
|
run: |
|
|
141
141
|
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
|
|
142
142
|
- name: Upload mypy coverage to Codecov
|
|
143
|
-
uses: codecov/codecov-action@v5.
|
|
143
|
+
uses: codecov/codecov-action@v5.4.0
|
|
144
144
|
with:
|
|
145
145
|
file: mypy_report/cobertura.xml
|
|
146
146
|
flags: mypy
|
|
@@ -81,3 +81,8 @@ doc/team-panel.txt
|
|
|
81
81
|
doc/external-examples-gallery.txt
|
|
82
82
|
doc/notebooks-examples-gallery.txt
|
|
83
83
|
doc/videos-gallery.txt
|
|
84
|
+
|
|
85
|
+
# Until we support this properly, excluding from gitignore. (adding it to
|
|
86
|
+
# gitignore to make it _easier_ to work with `uv`, not as an indication that I
|
|
87
|
+
# think we shouldn't...)
|
|
88
|
+
uv.lock
|
|
@@ -25,7 +25,7 @@ repos:
|
|
|
25
25
|
- id: text-unicode-replacement-char
|
|
26
26
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
27
27
|
# Ruff version.
|
|
28
|
-
rev: v0.
|
|
28
|
+
rev: v0.9.9
|
|
29
29
|
hooks:
|
|
30
30
|
- id: ruff-format
|
|
31
31
|
- id: ruff
|
|
@@ -37,12 +37,12 @@ repos:
|
|
|
37
37
|
exclude: "generate_aggregations.py"
|
|
38
38
|
additional_dependencies: ["black==24.8.0"]
|
|
39
39
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
40
|
-
rev: v3.
|
|
40
|
+
rev: v3.5.3
|
|
41
41
|
hooks:
|
|
42
42
|
- id: prettier
|
|
43
43
|
args: [--cache-location=.prettier_cache/cache]
|
|
44
44
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
45
|
-
rev: v1.
|
|
45
|
+
rev: v1.15.0
|
|
46
46
|
hooks:
|
|
47
47
|
- id: mypy
|
|
48
48
|
# Copied from setup.cfg
|
|
@@ -73,3 +73,9 @@ repos:
|
|
|
73
73
|
hooks:
|
|
74
74
|
- id: validate-pyproject
|
|
75
75
|
additional_dependencies: ["validate-pyproject-schema-store[all]"]
|
|
76
|
+
- repo: https://github.com/crate-ci/typos
|
|
77
|
+
rev: dictgen-v0.3.1
|
|
78
|
+
hooks:
|
|
79
|
+
- id: typos
|
|
80
|
+
# https://github.com/crate-ci/typos/issues/347
|
|
81
|
+
pass_filenames: false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: xarray
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.3.0
|
|
4
4
|
Summary: N-D labeled arrays and datasets in Python
|
|
5
5
|
Author-email: xarray Developers <xarray@googlegroups.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
22
|
Classifier: Topic :: Scientific/Engineering
|
|
22
23
|
Requires-Python: >=3.10
|
|
23
24
|
Description-Content-Type: text/markdown
|
|
@@ -34,20 +35,6 @@ Requires-Dist: flox; extra == "accel"
|
|
|
34
35
|
Requires-Dist: opt_einsum; extra == "accel"
|
|
35
36
|
Provides-Extra: complete
|
|
36
37
|
Requires-Dist: xarray[accel,etc,io,parallel,viz]; extra == "complete"
|
|
37
|
-
Provides-Extra: dev
|
|
38
|
-
Requires-Dist: hypothesis; extra == "dev"
|
|
39
|
-
Requires-Dist: jinja2; extra == "dev"
|
|
40
|
-
Requires-Dist: mypy; extra == "dev"
|
|
41
|
-
Requires-Dist: pre-commit; extra == "dev"
|
|
42
|
-
Requires-Dist: pytest; extra == "dev"
|
|
43
|
-
Requires-Dist: pytest-cov; extra == "dev"
|
|
44
|
-
Requires-Dist: pytest-env; extra == "dev"
|
|
45
|
-
Requires-Dist: pytest-xdist; extra == "dev"
|
|
46
|
-
Requires-Dist: pytest-timeout; extra == "dev"
|
|
47
|
-
Requires-Dist: ruff>=0.8.0; extra == "dev"
|
|
48
|
-
Requires-Dist: sphinx; extra == "dev"
|
|
49
|
-
Requires-Dist: sphinx_autosummary_accessors; extra == "dev"
|
|
50
|
-
Requires-Dist: xarray[complete]; extra == "dev"
|
|
51
38
|
Provides-Extra: io
|
|
52
39
|
Requires-Dist: netCDF4; extra == "io"
|
|
53
40
|
Requires-Dist: h5netcdf; extra == "io"
|
|
@@ -66,13 +53,30 @@ Requires-Dist: cartopy; extra == "viz"
|
|
|
66
53
|
Requires-Dist: matplotlib; extra == "viz"
|
|
67
54
|
Requires-Dist: nc-time-axis; extra == "viz"
|
|
68
55
|
Requires-Dist: seaborn; extra == "viz"
|
|
56
|
+
Provides-Extra: types
|
|
57
|
+
Requires-Dist: pandas-stubs; extra == "types"
|
|
58
|
+
Requires-Dist: types-PyYAML; extra == "types"
|
|
59
|
+
Requires-Dist: types-Pygments; extra == "types"
|
|
60
|
+
Requires-Dist: types-colorama; extra == "types"
|
|
61
|
+
Requires-Dist: types-decorator; extra == "types"
|
|
62
|
+
Requires-Dist: types-defusedxml; extra == "types"
|
|
63
|
+
Requires-Dist: types-docutils; extra == "types"
|
|
64
|
+
Requires-Dist: types-networkx; extra == "types"
|
|
65
|
+
Requires-Dist: types-pexpect; extra == "types"
|
|
66
|
+
Requires-Dist: types-psutil; extra == "types"
|
|
67
|
+
Requires-Dist: types-pycurl; extra == "types"
|
|
68
|
+
Requires-Dist: types-openpyxl; extra == "types"
|
|
69
|
+
Requires-Dist: types-python-dateutil; extra == "types"
|
|
70
|
+
Requires-Dist: types-pytz; extra == "types"
|
|
71
|
+
Requires-Dist: types-setuptools; extra == "types"
|
|
72
|
+
Dynamic: license-file
|
|
69
73
|
|
|
70
74
|
# xarray: N-D labeled arrays and datasets
|
|
71
75
|
|
|
72
76
|
[](https://github.com/pydata/xarray/actions?query=workflow%3ACI)
|
|
73
77
|
[](https://codecov.io/gh/pydata/xarray)
|
|
74
78
|
[](https://docs.xarray.dev/)
|
|
75
|
-
[](https://
|
|
79
|
+
[](https://asv-runner.github.io/asv-collection/xarray/)
|
|
76
80
|
[](https://github.com/python/black)
|
|
77
81
|
[](http://mypy-lang.org/)
|
|
78
82
|
[](https://pypi.python.org/pypi/xarray/)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.com/pydata/xarray/actions?query=workflow%3ACI)
|
|
4
4
|
[](https://codecov.io/gh/pydata/xarray)
|
|
5
5
|
[](https://docs.xarray.dev/)
|
|
6
|
-
[](https://
|
|
6
|
+
[](https://asv-runner.github.io/asv-collection/xarray/)
|
|
7
7
|
[](https://github.com/python/black)
|
|
8
8
|
[](http://mypy-lang.org/)
|
|
9
9
|
[](https://pypi.python.org/pypi/xarray/)
|
|
@@ -12,7 +12,6 @@ dependencies:
|
|
|
12
12
|
- cartopy
|
|
13
13
|
- cftime
|
|
14
14
|
- dask-core
|
|
15
|
-
- dask-expr # dask raises a deprecation warning without this, breaking doctests
|
|
16
15
|
- distributed
|
|
17
16
|
- flox
|
|
18
17
|
- fsspec
|
|
@@ -44,8 +43,9 @@ dependencies:
|
|
|
44
43
|
- pytest
|
|
45
44
|
- pytest-cov
|
|
46
45
|
- pytest-env
|
|
47
|
-
- pytest-
|
|
46
|
+
- pytest-mypy-plugins
|
|
48
47
|
- pytest-timeout
|
|
48
|
+
- pytest-xdist
|
|
49
49
|
- rasterio
|
|
50
50
|
- scipy
|
|
51
51
|
- seaborn
|
|
@@ -10,7 +10,6 @@ dependencies:
|
|
|
10
10
|
- cfgrib
|
|
11
11
|
- kerchunk
|
|
12
12
|
- dask-core>=2022.1
|
|
13
|
-
- dask-expr
|
|
14
13
|
- hypothesis>=6.75.8
|
|
15
14
|
- h5netcdf>=0.13
|
|
16
15
|
- ipykernel
|
|
@@ -31,6 +30,7 @@ dependencies:
|
|
|
31
30
|
- pre-commit
|
|
32
31
|
- pyarrow
|
|
33
32
|
- pyproj
|
|
33
|
+
- rich # for Zarr tree()
|
|
34
34
|
- scipy!=1.10.0
|
|
35
35
|
- seaborn
|
|
36
36
|
- setuptools
|
|
@@ -10,7 +10,6 @@ dependencies:
|
|
|
10
10
|
- cartopy
|
|
11
11
|
- cftime
|
|
12
12
|
- dask-core
|
|
13
|
-
- dask-expr
|
|
14
13
|
- distributed
|
|
15
14
|
- flox
|
|
16
15
|
- fsspec
|
|
@@ -30,22 +29,35 @@ dependencies:
|
|
|
30
29
|
- opt_einsum
|
|
31
30
|
- packaging
|
|
32
31
|
- pandas
|
|
32
|
+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
|
|
33
33
|
# - pint>=0.22
|
|
34
34
|
- pip
|
|
35
35
|
- pooch
|
|
36
36
|
- pre-commit
|
|
37
|
+
- pyarrow # pandas raises a deprecation warning without this, breaking doctests
|
|
37
38
|
- pydap
|
|
38
39
|
- pytest
|
|
39
40
|
- pytest-cov
|
|
40
41
|
- pytest-env
|
|
41
|
-
- pytest-
|
|
42
|
+
- pytest-mypy-plugins
|
|
42
43
|
- pytest-timeout
|
|
44
|
+
- pytest-xdist
|
|
43
45
|
- rasterio
|
|
44
46
|
- scipy
|
|
45
47
|
- seaborn
|
|
46
48
|
# - sparse
|
|
47
49
|
- toolz
|
|
50
|
+
- types-colorama
|
|
51
|
+
- types-docutils
|
|
52
|
+
- types-psutil
|
|
53
|
+
- types-Pygments
|
|
54
|
+
- types-python-dateutil
|
|
55
|
+
- types-pytz
|
|
56
|
+
- types-PyYAML
|
|
57
|
+
- types-setuptools
|
|
48
58
|
- typing_extensions
|
|
49
59
|
- zarr
|
|
50
60
|
- pip:
|
|
51
61
|
- jax # no way to get cpu-only jaxlib from conda if gpu is present
|
|
62
|
+
- types-defusedxml
|
|
63
|
+
- types-pexpect
|
|
@@ -8,7 +8,6 @@ dependencies:
|
|
|
8
8
|
- cartopy
|
|
9
9
|
- cftime
|
|
10
10
|
- dask-core
|
|
11
|
-
- dask-expr
|
|
12
11
|
- distributed
|
|
13
12
|
- flox
|
|
14
13
|
- fsspec
|
|
@@ -26,19 +25,33 @@ dependencies:
|
|
|
26
25
|
- numpy
|
|
27
26
|
- packaging
|
|
28
27
|
- pandas
|
|
28
|
+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
|
|
29
29
|
# - pint>=0.22
|
|
30
30
|
- pip
|
|
31
31
|
- pre-commit
|
|
32
|
+
- pyarrow # importing dask.dataframe raises an ImportError without this
|
|
32
33
|
- pydap
|
|
33
34
|
- pytest
|
|
34
35
|
- pytest-cov
|
|
35
36
|
- pytest-env
|
|
36
|
-
- pytest-
|
|
37
|
+
- pytest-mypy-plugins
|
|
37
38
|
- pytest-timeout
|
|
39
|
+
- pytest-xdist
|
|
38
40
|
- rasterio
|
|
39
41
|
- scipy
|
|
40
42
|
- seaborn
|
|
41
43
|
# - sparse
|
|
42
44
|
- toolz
|
|
45
|
+
- types-colorama
|
|
46
|
+
- types-docutils
|
|
47
|
+
- types-psutil
|
|
48
|
+
- types-Pygments
|
|
49
|
+
- types-python-dateutil
|
|
50
|
+
- types-pytz
|
|
51
|
+
- types-PyYAML
|
|
52
|
+
- types-setuptools
|
|
43
53
|
- typing_extensions
|
|
44
54
|
- zarr
|
|
55
|
+
- pip:
|
|
56
|
+
- types-defusedxml
|
|
57
|
+
- types-pexpect
|
|
@@ -8,7 +8,6 @@ dependencies:
|
|
|
8
8
|
- cartopy
|
|
9
9
|
- cftime
|
|
10
10
|
- dask-core
|
|
11
|
-
- dask-expr
|
|
12
11
|
- distributed
|
|
13
12
|
- flox
|
|
14
13
|
- fsspec
|
|
@@ -26,19 +25,33 @@ dependencies:
|
|
|
26
25
|
- numpy
|
|
27
26
|
- packaging
|
|
28
27
|
- pandas
|
|
28
|
+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
|
|
29
29
|
# - pint>=0.22
|
|
30
30
|
- pip
|
|
31
31
|
- pre-commit
|
|
32
|
+
- pyarrow # importing dask.dataframe raises an ImportError without this
|
|
32
33
|
- pydap
|
|
33
34
|
- pytest
|
|
34
35
|
- pytest-cov
|
|
35
36
|
- pytest-env
|
|
36
|
-
- pytest-
|
|
37
|
+
- pytest-mypy-plugins
|
|
37
38
|
- pytest-timeout
|
|
39
|
+
- pytest-xdist
|
|
38
40
|
- rasterio
|
|
39
41
|
- scipy
|
|
40
42
|
- seaborn
|
|
41
43
|
- sparse
|
|
42
44
|
- toolz
|
|
45
|
+
- types-colorama
|
|
46
|
+
- types-docutils
|
|
47
|
+
- types-psutil
|
|
48
|
+
- types-Pygments
|
|
49
|
+
- types-python-dateutil
|
|
50
|
+
- types-pytz
|
|
51
|
+
- types-PyYAML
|
|
52
|
+
- types-setuptools
|
|
43
53
|
- typing_extensions
|
|
44
54
|
- zarr
|
|
55
|
+
- pip:
|
|
56
|
+
- types-defusedxml
|
|
57
|
+
- types-pexpect
|
|
@@ -10,7 +10,6 @@ dependencies:
|
|
|
10
10
|
- cartopy
|
|
11
11
|
- cftime
|
|
12
12
|
- dask-core
|
|
13
|
-
- dask-expr # dask raises a deprecation warning without this, breaking doctests
|
|
14
13
|
- distributed
|
|
15
14
|
- flox
|
|
16
15
|
- fsspec
|
|
@@ -30,6 +29,7 @@ dependencies:
|
|
|
30
29
|
- opt_einsum
|
|
31
30
|
- packaging
|
|
32
31
|
- pandas
|
|
32
|
+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
|
|
33
33
|
# - pint>=0.22
|
|
34
34
|
- pip
|
|
35
35
|
- pooch
|
|
@@ -40,14 +40,26 @@ dependencies:
|
|
|
40
40
|
- pytest
|
|
41
41
|
- pytest-cov
|
|
42
42
|
- pytest-env
|
|
43
|
-
- pytest-
|
|
43
|
+
- pytest-mypy-plugins
|
|
44
44
|
- pytest-timeout
|
|
45
|
+
- pytest-xdist
|
|
45
46
|
- rasterio
|
|
46
47
|
- scipy
|
|
47
48
|
- seaborn
|
|
48
49
|
- sparse
|
|
49
50
|
- toolz
|
|
51
|
+
- types-colorama
|
|
52
|
+
- types-docutils
|
|
53
|
+
- types-psutil
|
|
54
|
+
- types-Pygments
|
|
55
|
+
- types-python-dateutil
|
|
56
|
+
- types-pytz
|
|
57
|
+
- types-PyYAML
|
|
58
|
+
- types-setuptools
|
|
59
|
+
- types-openpyxl
|
|
50
60
|
- typing_extensions
|
|
51
61
|
- zarr
|
|
52
62
|
- pip:
|
|
53
63
|
- jax # no way to get cpu-only jaxlib from conda if gpu is present
|
|
64
|
+
- types-defusedxml
|
|
65
|
+
- types-pexpect
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
def pytest_addoption(parser):
|
|
6
|
+
def pytest_addoption(parser: pytest.Parser):
|
|
7
7
|
"""Add command-line flags for pytest."""
|
|
8
8
|
parser.addoption("--run-flaky", action="store_true", help="runs flaky tests")
|
|
9
9
|
parser.addoption(
|
|
@@ -11,6 +11,7 @@ def pytest_addoption(parser):
|
|
|
11
11
|
action="store_true",
|
|
12
12
|
help="runs tests requiring a network connection",
|
|
13
13
|
)
|
|
14
|
+
parser.addoption("--run-mypy", action="store_true", help="runs mypy tests")
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
def pytest_runtest_setup(item):
|
|
@@ -21,6 +22,23 @@ def pytest_runtest_setup(item):
|
|
|
21
22
|
pytest.skip(
|
|
22
23
|
"set --run-network-tests to run test requiring an internet connection"
|
|
23
24
|
)
|
|
25
|
+
if any("mypy" in m.name for m in item.own_markers) and not item.config.getoption(
|
|
26
|
+
"--run-mypy"
|
|
27
|
+
):
|
|
28
|
+
pytest.skip("set --run-mypy option to run mypy tests")
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# See https://docs.pytest.org/en/stable/example/markers.html#automatically-adding-markers-based-on-test-names
|
|
32
|
+
def pytest_collection_modifyitems(items):
|
|
33
|
+
for item in items:
|
|
34
|
+
if "mypy" in item.nodeid:
|
|
35
|
+
# IMPORTANT: mypy type annotation tests leverage the pytest-mypy-plugins
|
|
36
|
+
# plugin, and are thus written in test_*.yml files. As such, there are
|
|
37
|
+
# no explicit test functions on which we can apply a pytest.mark.mypy
|
|
38
|
+
# decorator. Therefore, we mark them via this name-based, automatic
|
|
39
|
+
# marking approach, meaning that each test case must contain "mypy" in the
|
|
40
|
+
# name.
|
|
41
|
+
item.add_marker(pytest.mark.mypy)
|
|
24
42
|
|
|
25
43
|
|
|
26
44
|
@pytest.fixture(autouse=True)
|