xarray 2025.7.0__tar.gz → 2025.7.1__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.
Files changed (411) hide show
  1. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/benchmarks.yml +2 -2
  2. {xarray-2025.7.0 → xarray-2025.7.1}/.pre-commit-config.yaml +6 -6
  3. {xarray-2025.7.0 → xarray-2025.7.1}/HOW_TO_RELEASE.md +6 -6
  4. {xarray-2025.7.0/xarray.egg-info → xarray-2025.7.1}/PKG-INFO +1 -1
  5. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/asv.conf.json +1 -1
  6. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/README_CI.md +2 -0
  7. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/repr.py +28 -0
  8. xarray-2025.7.1/ci/requirements/environment-benchmark.yml +23 -0
  9. {xarray-2025.7.0 → xarray-2025.7.1}/design_notes/flexible_indexes_notes.md +11 -9
  10. {xarray-2025.7.0 → xarray-2025.7.1}/design_notes/grouper_objects.md +5 -3
  11. {xarray-2025.7.0 → xarray-2025.7.1}/design_notes/named_array_design_doc.md +90 -97
  12. {xarray-2025.7.0 → xarray-2025.7.1}/doc/api-hidden.rst +0 -16
  13. {xarray-2025.7.0 → xarray-2025.7.1}/doc/api.rst +59 -20
  14. {xarray-2025.7.0 → xarray-2025.7.1}/doc/contribute/contributing.rst +2 -0
  15. {xarray-2025.7.0 → xarray-2025.7.1}/doc/whats-new.rst +46 -0
  16. {xarray-2025.7.0 → xarray-2025.7.1}/pyproject.toml +6 -0
  17. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/api.py +62 -7
  18. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/common.py +3 -4
  19. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/store.py +15 -2
  20. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/zarr.py +9 -0
  21. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/variables.py +3 -7
  22. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/apply_ufunc.py +7 -2
  23. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/rolling.py +1 -1
  24. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/accessor_str.py +4 -3
  25. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/coordinate_transform.py +4 -3
  26. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/dataarray.py +1 -1
  27. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/dataset.py +15 -1
  28. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/formatting.py +22 -11
  29. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/indexes.py +9 -6
  30. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/indexing.py +72 -145
  31. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/resample_cftime.py +10 -16
  32. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/treenode.py +1 -1
  33. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/variable.py +8 -2
  34. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/groupers.py +9 -11
  35. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/indexes/__init__.py +3 -0
  36. xarray-2025.7.1/xarray/indexes/nd_point_index.py +398 -0
  37. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/plot/facetgrid.py +1 -1
  38. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/plot/utils.py +5 -4
  39. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/structure/merge.py +1 -1
  40. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/__init__.py +14 -0
  41. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends.py +71 -2
  42. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends_api.py +36 -0
  43. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_coding.py +2 -2
  44. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_coordinate_transform.py +11 -0
  45. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_dask.py +3 -2
  46. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_formatting.py +43 -0
  47. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_groupby.py +1 -1
  48. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_indexes.py +51 -0
  49. xarray-2025.7.1/xarray/tests/test_nd_point_index.py +183 -0
  50. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_units.py +2 -4
  51. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/util/print_versions.py +1 -1
  52. {xarray-2025.7.0 → xarray-2025.7.1/xarray.egg-info}/PKG-INFO +1 -1
  53. {xarray-2025.7.0 → xarray-2025.7.1}/xarray.egg-info/SOURCES.txt +3 -0
  54. {xarray-2025.7.0 → xarray-2025.7.1}/.binder/environment.yml +0 -0
  55. {xarray-2025.7.0 → xarray-2025.7.1}/.codecov.yml +0 -0
  56. {xarray-2025.7.0 → xarray-2025.7.1}/.git-blame-ignore-revs +0 -0
  57. {xarray-2025.7.0 → xarray-2025.7.1}/.git_archival.txt +0 -0
  58. {xarray-2025.7.0 → xarray-2025.7.1}/.gitattributes +0 -0
  59. {xarray-2025.7.0 → xarray-2025.7.1}/.github/FUNDING.yml +0 -0
  60. {xarray-2025.7.0 → xarray-2025.7.1}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
  61. {xarray-2025.7.0 → xarray-2025.7.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  62. {xarray-2025.7.0 → xarray-2025.7.1}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
  63. {xarray-2025.7.0 → xarray-2025.7.1}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
  64. {xarray-2025.7.0 → xarray-2025.7.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  65. {xarray-2025.7.0 → xarray-2025.7.1}/.github/config.yml +0 -0
  66. {xarray-2025.7.0 → xarray-2025.7.1}/.github/dependabot.yml +0 -0
  67. {xarray-2025.7.0 → xarray-2025.7.1}/.github/labeler.yml +0 -0
  68. {xarray-2025.7.0 → xarray-2025.7.1}/.github/release.yml +0 -0
  69. {xarray-2025.7.0 → xarray-2025.7.1}/.github/stale.yml +0 -0
  70. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/benchmarks-last-release.yml +0 -0
  71. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/ci-additional.yaml +0 -0
  72. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/ci.yaml +0 -0
  73. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/configure-testpypi-version.py +0 -0
  74. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/hypothesis.yaml +0 -0
  75. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/label-prs.yml +0 -0
  76. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/nightly-wheels.yml +0 -0
  77. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/publish-test-results.yaml +0 -0
  78. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/pypi-release.yaml +0 -0
  79. {xarray-2025.7.0 → xarray-2025.7.1}/.github/workflows/upstream-dev-ci.yaml +0 -0
  80. {xarray-2025.7.0 → xarray-2025.7.1}/.gitignore +0 -0
  81. {xarray-2025.7.0 → xarray-2025.7.1}/.readthedocs.yaml +0 -0
  82. {xarray-2025.7.0 → xarray-2025.7.1}/CITATION.cff +0 -0
  83. {xarray-2025.7.0 → xarray-2025.7.1}/CODE_OF_CONDUCT.md +0 -0
  84. {xarray-2025.7.0 → xarray-2025.7.1}/CONTRIBUTING.md +0 -0
  85. {xarray-2025.7.0 → xarray-2025.7.1}/CORE_TEAM_GUIDE.md +0 -0
  86. {xarray-2025.7.0 → xarray-2025.7.1}/DATATREE_MIGRATION_GUIDE.md +0 -0
  87. {xarray-2025.7.0 → xarray-2025.7.1}/LICENSE +0 -0
  88. {xarray-2025.7.0 → xarray-2025.7.1}/README.md +0 -0
  89. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/__init__.py +0 -0
  90. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/accessors.py +0 -0
  91. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/alignment.py +0 -0
  92. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/coding.py +0 -0
  93. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/combine.py +0 -0
  94. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/dataarray_missing.py +0 -0
  95. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/dataset.py +0 -0
  96. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/dataset_io.py +0 -0
  97. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/datatree.py +0 -0
  98. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/groupby.py +0 -0
  99. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/import.py +0 -0
  100. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/indexing.py +0 -0
  101. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/interp.py +0 -0
  102. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/merge.py +0 -0
  103. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/pandas.py +0 -0
  104. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/polyfit.py +0 -0
  105. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/reindexing.py +0 -0
  106. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/renaming.py +0 -0
  107. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/rolling.py +0 -0
  108. {xarray-2025.7.0 → xarray-2025.7.1}/asv_bench/benchmarks/unstacking.py +0 -0
  109. {xarray-2025.7.0 → xarray-2025.7.1}/ci/install-upstream-wheels.sh +0 -0
  110. {xarray-2025.7.0 → xarray-2025.7.1}/ci/minimum_versions.py +0 -0
  111. {xarray-2025.7.0 → xarray-2025.7.1}/ci/release_contributors.py +0 -0
  112. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/all-but-dask.yml +0 -0
  113. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/all-but-numba.yml +0 -0
  114. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/bare-min-and-scipy.yml +0 -0
  115. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/bare-minimum.yml +0 -0
  116. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/doc.yml +0 -0
  117. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/environment-3.14.yml +0 -0
  118. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/environment-windows-3.14.yml +0 -0
  119. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/environment-windows.yml +0 -0
  120. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/environment.yml +0 -0
  121. {xarray-2025.7.0 → xarray-2025.7.1}/ci/requirements/min-all-deps.yml +0 -0
  122. {xarray-2025.7.0 → xarray-2025.7.1}/conftest.py +0 -0
  123. {xarray-2025.7.0 → xarray-2025.7.1}/doc/Makefile +0 -0
  124. {xarray-2025.7.0 → xarray-2025.7.1}/doc/README.rst +0 -0
  125. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/.gitignore +0 -0
  126. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/advanced_selection_interpolation.svg +0 -0
  127. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/ci.png +0 -0
  128. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/dask-array.svg +0 -0
  129. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/dataset-diagram.png +0 -0
  130. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/index_api.svg +0 -0
  131. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/index_contribute.svg +0 -0
  132. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/index_getting_started.svg +0 -0
  133. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/index_user_guide.svg +0 -0
  134. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
  135. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
  136. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
  137. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
  138. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
  139. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
  140. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/numfocus_logo.png +0 -0
  141. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/opendap-prism-tmax.png +0 -0
  142. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/style.css +0 -0
  143. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
  144. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
  145. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
  146. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/thumbnails/monthly-means.png +0 -0
  147. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
  148. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/thumbnails/toy-weather-data.png +0 -0
  149. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/thumbnails/visualization_gallery.png +0 -0
  150. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_static/view-docs.png +0 -0
  151. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_templates/autosummary/accessor.rst +0 -0
  152. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
  153. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_templates/autosummary/accessor_callable.rst +0 -0
  154. {xarray-2025.7.0 → xarray-2025.7.1}/doc/_templates/autosummary/accessor_method.rst +0 -0
  155. {xarray-2025.7.0 → xarray-2025.7.1}/doc/combined.json +0 -0
  156. {xarray-2025.7.0 → xarray-2025.7.1}/doc/conf.py +0 -0
  157. {xarray-2025.7.0 → xarray-2025.7.1}/doc/contribute/developers-meeting.rst +0 -0
  158. {xarray-2025.7.0 → xarray-2025.7.1}/doc/contribute/index.rst +0 -0
  159. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
  160. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/ROMS_ocean_model.ipynb +0 -0
  161. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/_code/accessor_example.py +0 -0
  162. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
  163. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/area_weighted_temperature.ipynb +0 -0
  164. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/blank_template.ipynb +0 -0
  165. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/monthly-means.ipynb +0 -0
  166. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/multidimensional-coords.ipynb +0 -0
  167. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/visualization_gallery.ipynb +0 -0
  168. {xarray-2025.7.0 → xarray-2025.7.1}/doc/examples/weather-data.ipynb +0 -0
  169. {xarray-2025.7.0 → xarray-2025.7.1}/doc/gallery/README.txt +0 -0
  170. {xarray-2025.7.0 → xarray-2025.7.1}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
  171. {xarray-2025.7.0 → xarray-2025.7.1}/doc/gallery/plot_colorbar_center.py +0 -0
  172. {xarray-2025.7.0 → xarray-2025.7.1}/doc/gallery/plot_control_colorbar.py +0 -0
  173. {xarray-2025.7.0 → xarray-2025.7.1}/doc/gallery/plot_lines_from_2d.py +0 -0
  174. {xarray-2025.7.0 → xarray-2025.7.1}/doc/gallery.rst +0 -0
  175. {xarray-2025.7.0 → xarray-2025.7.1}/doc/gallery.yml +0 -0
  176. {xarray-2025.7.0 → xarray-2025.7.1}/doc/get-help/faq.rst +0 -0
  177. {xarray-2025.7.0 → xarray-2025.7.1}/doc/get-help/help-diagram.rst +0 -0
  178. {xarray-2025.7.0 → xarray-2025.7.1}/doc/get-help/howdoi.rst +0 -0
  179. {xarray-2025.7.0 → xarray-2025.7.1}/doc/get-help/socials.rst +0 -0
  180. {xarray-2025.7.0 → xarray-2025.7.1}/doc/getting-started-guide/index.rst +0 -0
  181. {xarray-2025.7.0 → xarray-2025.7.1}/doc/getting-started-guide/installing.rst +0 -0
  182. {xarray-2025.7.0 → xarray-2025.7.1}/doc/getting-started-guide/quick-overview.rst +0 -0
  183. {xarray-2025.7.0 → xarray-2025.7.1}/doc/getting-started-guide/tutorials-and-videos.rst +0 -0
  184. {xarray-2025.7.0 → xarray-2025.7.1}/doc/getting-started-guide/why-xarray.rst +0 -0
  185. {xarray-2025.7.0 → xarray-2025.7.1}/doc/index.rst +0 -0
  186. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/chunked-arrays.rst +0 -0
  187. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/duck-arrays-integration.rst +0 -0
  188. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/extending-xarray.rst +0 -0
  189. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/how-to-add-new-backend.rst +0 -0
  190. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/how-to-create-custom-index.rst +0 -0
  191. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/index.rst +0 -0
  192. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/internal-design.rst +0 -0
  193. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/interoperability.rst +0 -0
  194. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/time-coding.rst +0 -0
  195. {xarray-2025.7.0 → xarray-2025.7.1}/doc/internals/zarr-encoding-spec.rst +0 -0
  196. {xarray-2025.7.0 → xarray-2025.7.1}/doc/roadmap.rst +0 -0
  197. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/combining.rst +0 -0
  198. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/complex-numbers.rst +0 -0
  199. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/computation.rst +0 -0
  200. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/dask.rst +0 -0
  201. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/data-structures.rst +0 -0
  202. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/duckarrays.rst +0 -0
  203. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/ecosystem.rst +0 -0
  204. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/groupby.rst +0 -0
  205. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/hierarchical-data.rst +0 -0
  206. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/index.rst +0 -0
  207. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/indexing.rst +0 -0
  208. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/interpolation.rst +0 -0
  209. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/io.rst +0 -0
  210. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/options.rst +0 -0
  211. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/pandas.rst +0 -0
  212. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/plotting.rst +0 -0
  213. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/reshaping.rst +0 -0
  214. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/terminology.rst +0 -0
  215. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/testing.rst +0 -0
  216. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/time-series.rst +0 -0
  217. {xarray-2025.7.0 → xarray-2025.7.1}/doc/user-guide/weather-climate.rst +0 -0
  218. {xarray-2025.7.0 → xarray-2025.7.1}/doc/videos.yml +0 -0
  219. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/ANYTREE_LICENSE +0 -0
  220. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/DASK_LICENSE +0 -0
  221. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/ICOMOON_LICENSE +0 -0
  222. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/NUMPY_LICENSE +0 -0
  223. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/PANDAS_LICENSE +0 -0
  224. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/PYTHON_LICENSE +0 -0
  225. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/SCIKIT_LEARN_LICENSE +0 -0
  226. {xarray-2025.7.0 → xarray-2025.7.1}/licenses/SEABORN_LICENSE +0 -0
  227. {xarray-2025.7.0 → xarray-2025.7.1}/properties/README.md +0 -0
  228. {xarray-2025.7.0 → xarray-2025.7.1}/properties/__init__.py +0 -0
  229. {xarray-2025.7.0 → xarray-2025.7.1}/properties/conftest.py +0 -0
  230. {xarray-2025.7.0 → xarray-2025.7.1}/properties/test_encode_decode.py +0 -0
  231. {xarray-2025.7.0 → xarray-2025.7.1}/properties/test_index_manipulation.py +0 -0
  232. {xarray-2025.7.0 → xarray-2025.7.1}/properties/test_pandas_roundtrip.py +0 -0
  233. {xarray-2025.7.0 → xarray-2025.7.1}/properties/test_properties.py +0 -0
  234. {xarray-2025.7.0 → xarray-2025.7.1}/setup.cfg +0 -0
  235. {xarray-2025.7.0 → xarray-2025.7.1}/setup.py +0 -0
  236. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/__init__.py +0 -0
  237. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/__init__.py +0 -0
  238. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/chunks.py +0 -0
  239. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/file_manager.py +0 -0
  240. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/h5netcdf_.py +0 -0
  241. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/locks.py +0 -0
  242. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/lru_cache.py +0 -0
  243. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/memory.py +0 -0
  244. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/netCDF4_.py +0 -0
  245. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/netcdf3.py +0 -0
  246. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/plugins.py +0 -0
  247. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/pydap_.py +0 -0
  248. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/backends/scipy_.py +0 -0
  249. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coders.py +0 -0
  250. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/__init__.py +0 -0
  251. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/calendar_ops.py +0 -0
  252. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/cftime_offsets.py +0 -0
  253. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/cftimeindex.py +0 -0
  254. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/common.py +0 -0
  255. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/frequencies.py +0 -0
  256. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/strings.py +0 -0
  257. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/coding/times.py +0 -0
  258. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/compat/__init__.py +0 -0
  259. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/compat/array_api_compat.py +0 -0
  260. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/compat/dask_array_compat.py +0 -0
  261. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/compat/dask_array_ops.py +0 -0
  262. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/compat/npcompat.py +0 -0
  263. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/compat/pdcompat.py +0 -0
  264. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/compat/toolzcompat.py +0 -0
  265. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/__init__.py +0 -0
  266. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/arithmetic.py +0 -0
  267. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/computation.py +0 -0
  268. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/fit.py +0 -0
  269. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/nanops.py +0 -0
  270. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/ops.py +0 -0
  271. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/rolling_exp.py +0 -0
  272. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/computation/weighted.py +0 -0
  273. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/conventions.py +0 -0
  274. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/convert.py +0 -0
  275. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/__init__.py +0 -0
  276. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/_aggregations.py +0 -0
  277. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/_typed_ops.py +0 -0
  278. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/accessor_dt.py +0 -0
  279. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/common.py +0 -0
  280. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/coordinates.py +0 -0
  281. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/dataset_utils.py +0 -0
  282. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/dataset_variables.py +0 -0
  283. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/datatree.py +0 -0
  284. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/datatree_io.py +0 -0
  285. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/datatree_mapping.py +0 -0
  286. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/datatree_render.py +0 -0
  287. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/dtypes.py +0 -0
  288. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/duck_array_ops.py +0 -0
  289. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/extension_array.py +0 -0
  290. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/extensions.py +0 -0
  291. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/formatting_html.py +0 -0
  292. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/groupby.py +0 -0
  293. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/missing.py +0 -0
  294. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/nputils.py +0 -0
  295. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/options.py +0 -0
  296. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/parallel.py +0 -0
  297. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/resample.py +0 -0
  298. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/types.py +0 -0
  299. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/core/utils.py +0 -0
  300. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/indexes/range_index.py +0 -0
  301. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/__init__.py +0 -0
  302. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/_aggregations.py +0 -0
  303. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/_array_api.py +0 -0
  304. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/_typing.py +0 -0
  305. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/core.py +0 -0
  306. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/daskmanager.py +0 -0
  307. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/dtypes.py +0 -0
  308. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/parallelcompat.py +0 -0
  309. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/pycompat.py +0 -0
  310. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/namedarray/utils.py +0 -0
  311. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/plot/__init__.py +0 -0
  312. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/plot/accessor.py +0 -0
  313. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/plot/dataarray_plot.py +0 -0
  314. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/plot/dataset_plot.py +0 -0
  315. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/py.typed +0 -0
  316. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/static/__init__.py +0 -0
  317. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/static/css/__init__.py +0 -0
  318. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/static/css/style.css +0 -0
  319. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/static/html/__init__.py +0 -0
  320. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/static/html/icons-svg-inline.html +0 -0
  321. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/structure/__init__.py +0 -0
  322. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/structure/alignment.py +0 -0
  323. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/structure/chunks.py +0 -0
  324. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/structure/combine.py +0 -0
  325. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/structure/concat.py +0 -0
  326. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/testing/__init__.py +0 -0
  327. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/testing/assertions.py +0 -0
  328. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/testing/strategies.py +0 -0
  329. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/arrays.py +0 -0
  330. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/conftest.py +0 -0
  331. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/data/bears.nc +0 -0
  332. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/data/example.grib +0 -0
  333. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/data/example.ict +0 -0
  334. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/data/example.uamiv +0 -0
  335. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/data/example_1.nc +0 -0
  336. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/data/example_1.nc.gz +0 -0
  337. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/indexes.py +0 -0
  338. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/namespace.py +0 -0
  339. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_accessor_dt.py +0 -0
  340. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_accessor_str.py +0 -0
  341. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_array_api.py +0 -0
  342. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_assertions.py +0 -0
  343. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends_chunks.py +0 -0
  344. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends_common.py +0 -0
  345. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends_datatree.py +0 -0
  346. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends_file_manager.py +0 -0
  347. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends_locks.py +0 -0
  348. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_backends_lru_cache.py +0 -0
  349. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_calendar_ops.py +0 -0
  350. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_cftime_offsets.py +0 -0
  351. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_cftimeindex.py +0 -0
  352. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_cftimeindex_resample.py +0 -0
  353. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_coarsen.py +0 -0
  354. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_coding_strings.py +0 -0
  355. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_coding_times.py +0 -0
  356. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_combine.py +0 -0
  357. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_computation.py +0 -0
  358. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_concat.py +0 -0
  359. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_conventions.py +0 -0
  360. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_coordinates.py +0 -0
  361. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_cupy.py +0 -0
  362. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_dataarray.py +0 -0
  363. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_dataarray_typing.yml +0 -0
  364. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_dataset.py +0 -0
  365. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_dataset_typing.yml +0 -0
  366. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_datatree.py +0 -0
  367. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_datatree_mapping.py +0 -0
  368. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_datatree_typing.yml +0 -0
  369. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_deprecation_helpers.py +0 -0
  370. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_distributed.py +0 -0
  371. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_dtypes.py +0 -0
  372. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_duck_array_ops.py +0 -0
  373. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_duck_array_wrapping.py +0 -0
  374. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_error_messages.py +0 -0
  375. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_extensions.py +0 -0
  376. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_formatting_html.py +0 -0
  377. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_hashable.py +0 -0
  378. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_indexing.py +0 -0
  379. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_interp.py +0 -0
  380. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_merge.py +0 -0
  381. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_missing.py +0 -0
  382. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_namedarray.py +0 -0
  383. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_nputils.py +0 -0
  384. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_options.py +0 -0
  385. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_pandas_to_xarray.py +0 -0
  386. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_parallelcompat.py +0 -0
  387. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_plot.py +0 -0
  388. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_plugins.py +0 -0
  389. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_print_versions.py +0 -0
  390. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_range_index.py +0 -0
  391. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_rolling.py +0 -0
  392. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_sparse.py +0 -0
  393. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_strategies.py +0 -0
  394. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_treenode.py +0 -0
  395. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_tutorial.py +0 -0
  396. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_typed_ops.py +0 -0
  397. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_ufuncs.py +0 -0
  398. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_utils.py +0 -0
  399. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_variable.py +0 -0
  400. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tests/test_weighted.py +0 -0
  401. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/tutorial.py +0 -0
  402. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/typing.py +0 -0
  403. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/ufuncs.py +0 -0
  404. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/util/__init__.py +0 -0
  405. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/util/deprecation_helpers.py +0 -0
  406. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/util/generate_aggregations.py +0 -0
  407. {xarray-2025.7.0 → xarray-2025.7.1}/xarray/util/generate_ops.py +0 -0
  408. {xarray-2025.7.0 → xarray-2025.7.1}/xarray.egg-info/dependency_links.txt +0 -0
  409. {xarray-2025.7.0 → xarray-2025.7.1}/xarray.egg-info/entry_points.txt +0 -0
  410. {xarray-2025.7.0 → xarray-2025.7.1}/xarray.egg-info/requires.txt +0 -0
  411. {xarray-2025.7.0 → xarray-2025.7.1}/xarray.egg-info/top_level.txt +0 -0
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  env:
17
17
  ASV_DIR: "./asv_bench"
18
- CONDA_ENV_FILE: ci/requirements/environment.yml
18
+ CONDA_ENV_FILE: ci/requirements/environment-benchmark.yml
19
19
 
20
20
  steps:
21
21
  # We need the full repo to avoid this issue
@@ -29,7 +29,7 @@ jobs:
29
29
  with:
30
30
  micromamba-version: "1.5.10-0"
31
31
  environment-file: ${{env.CONDA_ENV_FILE}}
32
- environment-name: xarray-tests
32
+ environment-name: xarray-benchmark
33
33
  cache-environment: true
34
34
  cache-environment-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}-benchmark"
35
35
  # add "build" because of https://github.com/airspeed-velocity/asv/issues/1385
@@ -24,24 +24,24 @@ 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.12.1
27
+ rev: v0.12.2
28
28
  hooks:
29
- - id: ruff-format
30
- - id: ruff
29
+ - id: ruff-check
31
30
  args: ["--fix", "--show-fixes"]
31
+ - id: ruff-format
32
32
  - repo: https://github.com/keewis/blackdoc
33
- rev: v0.3.9
33
+ rev: v0.4.1
34
34
  hooks:
35
35
  - id: blackdoc
36
36
  exclude: "generate_aggregations.py"
37
37
  additional_dependencies: ["black==24.8.0"]
38
38
  - repo: https://github.com/rbubley/mirrors-prettier
39
- rev: v3.5.3
39
+ rev: v3.6.2
40
40
  hooks:
41
41
  - id: prettier
42
42
  args: [--cache-location=.prettier_cache/cache]
43
43
  - repo: https://github.com/pre-commit/mirrors-mypy
44
- rev: v1.16.0
44
+ rev: v1.16.1
45
45
  hooks:
46
46
  - id: mypy
47
47
  # Copied from setup.cfg
@@ -52,6 +52,7 @@ upstream https://github.com/pydata/xarray (push)
52
52
 
53
53
  6. After merging, again ensure your main branch is synced to upstream:
54
54
  ```sh
55
+ git switch main
55
56
  git pull upstream main
56
57
  ```
57
58
  7. If you have any doubts, run the full test suite one final time!
@@ -98,17 +99,17 @@ upstream https://github.com/pydata/xarray (push)
98
99
 
99
100
  ```
100
101
 
101
- 12. Commit your changes and push to main again:
102
+ 12. Make a PR with these changes and merge it:
102
103
 
103
104
  ```sh
104
- git commit -am 'New whatsnew section'
105
- git push upstream main
105
+ git checkout -b empty-whatsnew-YYYY.MM.X+1
106
+ git commit -am "empty whatsnew"
107
+ git push
106
108
  ```
107
109
 
108
- You're done pushing to main!
110
+ (Note that repo branch restrictions prevent pushing to `main`, so you have to just-self-merge this.)
109
111
 
110
112
  13. Update the version available on pyodide:
111
-
112
113
  - Open the PyPI page for [Xarray downloads](https://pypi.org/project/xarray/#files)
113
114
  - Edit [`pyodide/packages/xarray/meta.yaml`](https://github.com/pyodide/pyodide/blob/main/packages/xarray/meta.yaml) to update the
114
115
  - version number
@@ -119,7 +120,6 @@ upstream https://github.com/pydata/xarray (push)
119
120
  14. Issue the release announcement to mailing lists & Twitter (X). For bug fix releases, I
120
121
  usually only email xarray@googlegroups.com. For major/feature releases, I will email a broader
121
122
  list (no more than once every 3-6 months):
122
-
123
123
  - pydata@googlegroups.com
124
124
  - xarray@googlegroups.com
125
125
  - numpy-discussion@scipy.org
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xarray
3
- Version: 2025.7.0
3
+ Version: 2025.7.1
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
@@ -60,7 +60,7 @@
60
60
  // },
61
61
  "matrix": {
62
62
  "setuptools_scm": [""], // GH6609
63
- "numpy": [""],
63
+ "numpy": ["2.2"],
64
64
  "pandas": [""],
65
65
  "netcdf4": [""],
66
66
  "scipy": [""],
@@ -115,8 +115,10 @@ To minimize the time required to run the full suite, we trimmed the parameter ma
115
115
  ```python
116
116
  from . import _skip_slow # this function is defined in benchmarks.__init__
117
117
 
118
+
118
119
  def time_something_slow():
119
120
  pass
120
121
 
122
+
121
123
  time_something.setup = _skip_slow
122
124
  ```
@@ -57,3 +57,31 @@ class ReprMultiIndex:
57
57
 
58
58
  def time_repr_html(self):
59
59
  self.da._repr_html_()
60
+
61
+
62
+ class ReprPandasRangeIndex:
63
+ # display a memory-saving pandas.RangeIndex shouldn't trigger memory
64
+ # expensive conversion into a numpy array
65
+ def setup(self):
66
+ index = xr.indexes.PandasIndex(pd.RangeIndex(1_000_000), "x")
67
+ self.ds = xr.Dataset(coords=xr.Coordinates.from_xindex(index))
68
+
69
+ def time_repr(self):
70
+ repr(self.ds.x)
71
+
72
+ def time_repr_html(self):
73
+ self.ds.x._repr_html_()
74
+
75
+
76
+ class ReprXarrayRangeIndex:
77
+ # display an Xarray RangeIndex shouldn't trigger memory expensive conversion
78
+ # of its lazy coordinate into a numpy array
79
+ def setup(self):
80
+ index = xr.indexes.RangeIndex.arange(1_000_000, dim="x")
81
+ self.ds = xr.Dataset(coords=xr.Coordinates.from_xindex(index))
82
+
83
+ def time_repr(self):
84
+ repr(self.ds.x)
85
+
86
+ def time_repr_html(self):
87
+ self.ds.x._repr_html_()
@@ -0,0 +1,23 @@
1
+ name: xarray-benchmark
2
+ channels:
3
+ - conda-forge
4
+ - nodefaults
5
+ dependencies:
6
+ - bottleneck
7
+ - cftime
8
+ - dask-core
9
+ - distributed
10
+ - flox
11
+ - netcdf4
12
+ - numba
13
+ - numbagg
14
+ - numexpr
15
+ - numpy>=2.2,<2.3 # https://github.com/numba/numba/issues/10105
16
+ - opt_einsum
17
+ - packaging
18
+ - pandas
19
+ - pyarrow # pandas raises a deprecation warning without this, breaking doctests
20
+ - sparse
21
+ - scipy
22
+ - toolz
23
+ - zarr
@@ -97,12 +97,12 @@ The new `indexes` argument of Dataset/DataArray constructors may be used to spec
97
97
  ```python
98
98
  >>> da = xr.DataArray(
99
99
  ... data=[[275.2, 273.5], [270.8, 278.6]],
100
- ... dims=('x', 'y'),
100
+ ... dims=("x", "y"),
101
101
  ... coords={
102
- ... 'lat': (('x', 'y'), [[45.6, 46.5], [50.2, 51.6]]),
103
- ... 'lon': (('x', 'y'), [[5.7, 10.5], [6.2, 12.8]]),
102
+ ... "lat": (("x", "y"), [[45.6, 46.5], [50.2, 51.6]]),
103
+ ... "lon": (("x", "y"), [[5.7, 10.5], [6.2, 12.8]]),
104
104
  ... },
105
- ... indexes={('lat', 'lon'): SpatialIndex},
105
+ ... indexes={("lat", "lon"): SpatialIndex},
106
106
  ... )
107
107
  <xarray.DataArray (x: 2, y: 2)>
108
108
  array([[275.2, 273.5],
@@ -120,7 +120,7 @@ More formally, `indexes` would accept `Mapping[CoordinateNames, IndexSpec]` wher
120
120
  Currently index objects like `pandas.MultiIndex` can be passed directly to `coords`, which in this specific case results in the implicit creation of virtual coordinates. With the new `indexes` argument this behavior may become even more confusing than it currently is. For the sake of clarity, it would be appropriate to eventually drop support for this specific behavior and treat any given mapping value given in `coords` as an array that can be wrapped into an Xarray variable, i.e., in the case of a multi-index:
121
121
 
122
122
  ```python
123
- >>> xr.DataArray([1.0, 2.0], dims='x', coords={'x': midx})
123
+ >>> xr.DataArray([1.0, 2.0], dims="x", coords={"x": midx})
124
124
  <xarray.DataArray (x: 2)>
125
125
  array([1., 2.])
126
126
  Coordinates:
@@ -169,8 +169,8 @@ Like for the indexes, explicit coordinate creation should be preferred over impl
169
169
  For example, it is currently possible to pass a `pandas.MultiIndex` object as a coordinate to the Dataset/DataArray constructor:
170
170
 
171
171
  ```python
172
- >>> midx = pd.MultiIndex.from_arrays([['a', 'b'], [0, 1]], names=['lvl1', 'lvl2'])
173
- >>> da = xr.DataArray([1.0, 2.0], dims='x', coords={'x': midx})
172
+ >>> midx = pd.MultiIndex.from_arrays([["a", "b"], [0, 1]], names=["lvl1", "lvl2"])
173
+ >>> da = xr.DataArray([1.0, 2.0], dims="x", coords={"x": midx})
174
174
  >>> da
175
175
  <xarray.DataArray (x: 2)>
176
176
  array([1., 2.])
@@ -201,7 +201,9 @@ Besides `pandas.MultiIndex`, there may be other situations where we would like t
201
201
  The example given here is quite confusing, though: this is not an easily predictable behavior. We could entirely avoid the implicit creation of coordinates, e.g., using a helper function that generates coordinate + index dictionaries that we could then pass directly to the DataArray/Dataset constructor:
202
202
 
203
203
  ```python
204
- >>> coords_dict, index_dict = create_coords_from_index(midx, dims='x', include_dim_coord=True)
204
+ >>> coords_dict, index_dict = create_coords_from_index(
205
+ ... midx, dims="x", include_dim_coord=True
206
+ ... )
205
207
  >>> coords_dict
206
208
  {'x': <xarray.Variable (x: 2)>
207
209
  array([('a', 0), ('b', 1)], dtype=object),
@@ -211,7 +213,7 @@ The example given here is quite confusing, though: this is not an easily predict
211
213
  array([0, 1])}
212
214
  >>> index_dict
213
215
  {('lvl1', 'lvl2'): midx}
214
- >>> xr.DataArray([1.0, 2.0], dims='x', coords=coords_dict, indexes=index_dict)
216
+ >>> xr.DataArray([1.0, 2.0], dims="x", coords=coords_dict, indexes=index_dict)
215
217
  <xarray.DataArray (x: 2)>
216
218
  array([1., 2.])
217
219
  Coordinates:
@@ -8,7 +8,7 @@
8
8
  I propose the addition of Grouper objects to Xarray's public API so that
9
9
 
10
10
  ```python
11
- Dataset.groupby(x=BinGrouper(bins=np.arange(10, 2))))
11
+ Dataset.groupby(x=BinGrouper(bins=np.arange(10, 2)))
12
12
  ```
13
13
 
14
14
  is identical to today's syntax:
@@ -27,7 +27,7 @@ results = []
27
27
  for element in unique_labels:
28
28
  subset = ds.sel(x=(ds.x == element)) # split
29
29
  # subset = ds.where(ds.x == element, drop=True) # alternative
30
- result = subset.mean() # apply
30
+ result = subset.mean() # apply
31
31
  results.append(result)
32
32
 
33
33
  xr.concat(results) # combine
@@ -36,7 +36,7 @@ xr.concat(results) # combine
36
36
  to
37
37
 
38
38
  ```python
39
- ds.groupby('x').mean() # splits, applies, and combines
39
+ ds.groupby("x").mean() # splits, applies, and combines
40
40
  ```
41
41
 
42
42
  Efficient vectorized implementations of this pattern are implemented in numpy's [`ufunc.at`](https://numpy.org/doc/stable/reference/generated/numpy.ufunc.at.html), [`ufunc.reduceat`](https://numpy.org/doc/stable/reference/generated/numpy.ufunc.reduceat.html), [`numbagg.grouped`](https://github.com/numbagg/numbagg/blob/main/numbagg/grouped.py), [`numpy_groupies`](https://github.com/ml31415/numpy-groupies), and probably more.
@@ -110,11 +110,13 @@ All Grouper objects will subclass from a Grouper object
110
110
  ```python
111
111
  import abc
112
112
 
113
+
113
114
  class Grouper(abc.ABC):
114
115
  @abc.abstractmethod
115
116
  def factorize(self, by: DataArray):
116
117
  raise NotImplementedError
117
118
 
119
+
118
120
  class CustomGrouper(Grouper):
119
121
  def factorize(self, by: DataArray):
120
122
  ...
@@ -75,7 +75,6 @@ The named-array package is designed to be interoperable with other scientific Py
75
75
  - Delete the ExplicitIndexer objects (`BasicIndexer`, `VectorizedIndexer`, `OuterIndexer`)
76
76
  - Remove explicit support for `pd.Index`. When provided with a `pd.Index` object, Variable will coerce to an array using `np.array(pd.Index)`. For Xarray's purposes, Xarray can use `as_variable` to explicitly wrap these in PandasIndexingAdapter and pass them to `Variable.__init__`.
77
77
  3. Define a minimal variable interface that the rest of Xarray can use:
78
-
79
78
  1. `dims`: tuple of dimension names
80
79
  2. `data`: numpy/dask/duck arrays`
81
80
  3. `attrs``: dictionary of attributes
@@ -194,134 +193,132 @@ Questions:
194
193
 
195
194
  ```python
196
195
  # Sorting
197
- Variable.argsort
198
- Variable.searchsorted
196
+ Variable.argsort
197
+ Variable.searchsorted
199
198
 
200
199
  # NaN handling
201
- Variable.fillna
202
- Variable.isnull
203
- Variable.notnull
200
+ Variable.fillna
201
+ Variable.isnull
202
+ Variable.notnull
204
203
 
205
204
  # Lazy data handling
206
- Variable.chunk # Could instead have accessor interface and recommend users use `Variable.dask.chunk` and `Variable.cubed.chunk`?
207
- Variable.to_numpy()
208
- Variable.as_numpy()
205
+ Variable.chunk # Could instead have accessor interface and recommend users use `Variable.dask.chunk` and `Variable.cubed.chunk`?
206
+ Variable.to_numpy()
207
+ Variable.as_numpy()
209
208
 
210
209
  # Xarray-specific
211
- Variable.get_axis_num
212
- Variable.isel
213
- Variable.to_dict
210
+ Variable.get_axis_num
211
+ Variable.isel
212
+ Variable.to_dict
214
213
 
215
214
  # Reductions
216
- Variable.reduce
217
- Variable.all
218
- Variable.any
219
- Variable.argmax
220
- Variable.argmin
221
- Variable.count
222
- Variable.max
223
- Variable.mean
224
- Variable.median
225
- Variable.min
226
- Variable.prod
227
- Variable.quantile
228
- Variable.std
229
- Variable.sum
230
- Variable.var
215
+ Variable.reduce
216
+ Variable.all
217
+ Variable.any
218
+ Variable.argmax
219
+ Variable.argmin
220
+ Variable.count
221
+ Variable.max
222
+ Variable.mean
223
+ Variable.median
224
+ Variable.min
225
+ Variable.prod
226
+ Variable.quantile
227
+ Variable.std
228
+ Variable.sum
229
+ Variable.var
231
230
 
232
231
  # Accumulate
233
- Variable.cumprod
234
- Variable.cumsum
232
+ Variable.cumprod
233
+ Variable.cumsum
235
234
 
236
235
  # numpy-like Methods
237
- Variable.astype
238
- Variable.copy
239
- Variable.clip
240
- Variable.round
241
- Variable.item
242
- Variable.where
236
+ Variable.astype
237
+ Variable.copy
238
+ Variable.clip
239
+ Variable.round
240
+ Variable.item
241
+ Variable.where
243
242
 
244
243
  # Reordering/Reshaping
245
- Variable.squeeze
246
- Variable.pad
247
- Variable.roll
248
- Variable.shift
249
-
244
+ Variable.squeeze
245
+ Variable.pad
246
+ Variable.roll
247
+ Variable.shift
250
248
  ```
251
249
 
252
250
  #### methods to be renamed from xarray.Variable
253
251
 
254
252
  ```python
255
253
  # Xarray-specific
256
- Variable.concat # create two functions, one as the equivalent of `np.stack` and other for `np.concat`
254
+ Variable.concat # create two functions, one as the equivalent of `np.stack` and other for `np.concat`
257
255
 
258
- # Given how niche these are, these would be better as functions than methods.
259
- # We could also keep these in Xarray, at least for now. If we don't think people will use functionality outside of Xarray it probably is not worth the trouble of porting it (including documentation, etc).
260
- Variable.coarsen # This should probably be called something like coarsen_reduce.
261
- Variable.coarsen_reshape
262
- Variable.rolling_window
256
+ # Given how niche these are, these would be better as functions than methods.
257
+ # We could also keep these in Xarray, at least for now. If we don't think people will use functionality outside of Xarray it probably is not worth the trouble of porting it (including documentation, etc).
258
+ Variable.coarsen # This should probably be called something like coarsen_reduce.
259
+ Variable.coarsen_reshape
260
+ Variable.rolling_window
263
261
 
264
- Variable.set_dims # split this into broadcast_to and expand_dims
262
+ Variable.set_dims # split this into broadcast_to and expand_dims
265
263
 
266
264
 
267
265
  # Reordering/Reshaping
268
- Variable.stack # To avoid confusion with np.stack, let's call this stack_dims.
269
- Variable.transpose # Could consider calling this permute_dims, like the [array API standard](https://data-apis.org/array-api/2022.12/API_specification/manipulation_functions.html#objects-in-api)
270
- Variable.unstack # Likewise, maybe call this unstack_dims?
266
+ Variable.stack # To avoid confusion with np.stack, let's call this stack_dims.
267
+ Variable.transpose # Could consider calling this permute_dims, like the [array API standard](https://data-apis.org/array-api/2022.12/API_specification/manipulation_functions.html#objects-in-api)
268
+ Variable.unstack # Likewise, maybe call this unstack_dims?
271
269
  ```
272
270
 
273
271
  #### methods to be removed from xarray.Variable
274
272
 
275
273
  ```python
276
274
  # Testing
277
- Variable.broadcast_equals
278
- Variable.equals
279
- Variable.identical
280
- Variable.no_conflicts
275
+ Variable.broadcast_equals
276
+ Variable.equals
277
+ Variable.identical
278
+ Variable.no_conflicts
281
279
 
282
280
  # Lazy data handling
283
- Variable.compute # We can probably omit this method for now, too, given that dask.compute() uses a protocol. The other concern is that different array libraries have different notions of "compute" and this one is rather Dask specific, including conversion from Dask to NumPy arrays. For example, in JAX every operation executes eagerly, but in a non-blocking fashion, and you need to call jax.block_until_ready() to ensure computation is finished.
284
- Variable.load # Could remove? compute vs load is a common source of confusion.
281
+ Variable.compute # We can probably omit this method for now, too, given that dask.compute() uses a protocol. The other concern is that different array libraries have different notions of "compute" and this one is rather Dask specific, including conversion from Dask to NumPy arrays. For example, in JAX every operation executes eagerly, but in a non-blocking fashion, and you need to call jax.block_until_ready() to ensure computation is finished.
282
+ Variable.load # Could remove? compute vs load is a common source of confusion.
285
283
 
286
284
  # Xarray-specific
287
- Variable.to_index
288
- Variable.to_index_variable
289
- Variable.to_variable
290
- Variable.to_base_variable
291
- Variable.to_coord
285
+ Variable.to_index
286
+ Variable.to_index_variable
287
+ Variable.to_variable
288
+ Variable.to_base_variable
289
+ Variable.to_coord
292
290
 
293
- Variable.rank # Uses bottleneck. Delete? Could use https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.rankdata.html instead
291
+ Variable.rank # Uses bottleneck. Delete? Could use https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.rankdata.html instead
294
292
 
295
293
 
296
294
  # numpy-like Methods
297
- Variable.conjugate # .conj is enough
298
- Variable.__array_wrap__ # This is a very old NumPy protocol for duck arrays. We don't need it now that we have `__array_ufunc__` and `__array_function__`
295
+ Variable.conjugate # .conj is enough
296
+ Variable.__array_wrap__ # This is a very old NumPy protocol for duck arrays. We don't need it now that we have `__array_ufunc__` and `__array_function__`
299
297
 
300
298
  # Encoding
301
- Variable.reset_encoding
302
-
299
+ Variable.reset_encoding
303
300
  ```
304
301
 
305
302
  #### Attributes to be preserved from xarray.Variable
306
303
 
307
304
  ```python
308
305
  # Properties
309
- Variable.attrs
310
- Variable.chunks
311
- Variable.data
312
- Variable.dims
313
- Variable.dtype
314
-
315
- Variable.nbytes
316
- Variable.ndim
317
- Variable.shape
318
- Variable.size
319
- Variable.sizes
320
-
321
- Variable.T
322
- Variable.real
323
- Variable.imag
324
- Variable.conj
306
+ Variable.attrs
307
+ Variable.chunks
308
+ Variable.data
309
+ Variable.dims
310
+ Variable.dtype
311
+
312
+ Variable.nbytes
313
+ Variable.ndim
314
+ Variable.shape
315
+ Variable.size
316
+ Variable.sizes
317
+
318
+ Variable.T
319
+ Variable.real
320
+ Variable.imag
321
+ Variable.conj
325
322
  ```
326
323
 
327
324
  #### Attributes to be renamed from xarray.Variable
@@ -333,12 +330,10 @@ Questions:
333
330
  #### Attributes to be removed from xarray.Variable
334
331
 
335
332
  ```python
336
-
337
- Variable.values # Probably also remove -- this is a legacy from before Xarray supported dask arrays. ".data" is enough.
333
+ Variable.values # Probably also remove -- this is a legacy from before Xarray supported dask arrays. ".data" is enough.
338
334
 
339
335
  # Encoding
340
- Variable.encoding
341
-
336
+ Variable.encoding
342
337
  ```
343
338
 
344
339
  ### Appendix: Implementation Details
@@ -347,17 +342,16 @@ Questions:
347
342
 
348
343
  ```python
349
344
  class VariableArithmetic(
350
- ImplementsArrayReduce,
351
- IncludeReduceMethods,
352
- IncludeCumMethods,
353
- IncludeNumpySameMethods,
354
- SupportsArithmetic,
355
- VariableOpsMixin,
345
+ ImplementsArrayReduce,
346
+ IncludeReduceMethods,
347
+ IncludeCumMethods,
348
+ IncludeNumpySameMethods,
349
+ SupportsArithmetic,
350
+ VariableOpsMixin,
356
351
  ):
357
- __slots__ = ()
358
- # prioritize our operations over those of numpy.ndarray (priority=0)
359
- __array_priority__ = 50
360
-
352
+ __slots__ = ()
353
+ # prioritize our operations over those of numpy.ndarray (priority=0)
354
+ __array_priority__ = 50
361
355
  ```
362
356
 
363
357
  - Move over `_typed_ops.VariableOpsMixin`
@@ -369,7 +363,6 @@ class VariableArithmetic(
369
363
  - The Variable constructor will need to be rewritten to no longer accept tuples, encodings, etc. These details should be handled at the Xarray data structure level.
370
364
  - What happens to `duck_array_ops?`
371
365
  - What about Variable.chunk and "chunk managers"?
372
-
373
366
  - Could this functionality be left in Xarray proper for now? Alternative array types like JAX also have some notion of "chunks" for parallel arrays, but the details differ in a number of ways from the Dask/Cubed.
374
367
  - Perhaps variable.chunk/load methods should become functions defined in xarray that convert Variable objects. This is easy so long as xarray can reach in and replace .data
375
368
 
@@ -515,22 +515,6 @@
515
515
  CFTimeIndex.values
516
516
  CFTimeIndex.year
517
517
 
518
- Index.from_variables
519
- Index.concat
520
- Index.stack
521
- Index.unstack
522
- Index.create_variables
523
- Index.should_add_coord_to_array
524
- Index.to_pandas_index
525
- Index.isel
526
- Index.sel
527
- Index.join
528
- Index.reindex_like
529
- Index.equals
530
- Index.roll
531
- Index.rename
532
- Index.copy
533
-
534
518
  indexes.RangeIndex.start
535
519
  indexes.RangeIndex.stop
536
520
  indexes.RangeIndex.step