xarray 2025.3.0__tar.gz → 2025.3.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 (396) hide show
  1. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/upstream-dev-ci.yaml +1 -1
  2. {xarray-2025.3.0/xarray.egg-info → xarray-2025.3.1}/PKG-INFO +2 -2
  3. {xarray-2025.3.0 → xarray-2025.3.1}/README.md +1 -1
  4. {xarray-2025.3.0 → xarray-2025.3.1}/ci/install-upstream-wheels.sh +1 -1
  5. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/indexing.rst +1 -1
  6. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/io.rst +16 -0
  7. {xarray-2025.3.0 → xarray-2025.3.1}/doc/whats-new.rst +37 -0
  8. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/__init__.py +1 -1
  9. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/api.py +1 -1
  10. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/zarr.py +27 -3
  11. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/calendar_ops.py +2 -1
  12. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/compat/pdcompat.py +27 -28
  13. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/computation.py +7 -79
  14. xarray-2025.3.1/xarray/computation/fit.py +536 -0
  15. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/accessor_str.py +2 -1
  16. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/common.py +5 -5
  17. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/dataarray.py +40 -5
  18. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/dataset.py +19 -341
  19. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/datatree.py +3 -1
  20. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/datatree_io.py +5 -0
  21. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/extension_array.py +1 -1
  22. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/groupby.py +29 -6
  23. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/variable.py +5 -5
  24. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/groupers.py +2 -2
  25. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/plot/facetgrid.py +6 -1
  26. xarray-2025.3.0/xarray/core/chunk.py → xarray-2025.3.1/xarray/structure/chunks.py +94 -3
  27. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/conftest.py +13 -1
  28. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_backends.py +134 -28
  29. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_dataarray.py +7 -5
  30. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_datatree.py +20 -0
  31. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_groupby.py +53 -21
  32. xarray-2025.3.1/xarray/tests/test_pandas_to_xarray.py +233 -0
  33. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_plot.py +20 -0
  34. {xarray-2025.3.0 → xarray-2025.3.1/xarray.egg-info}/PKG-INFO +2 -2
  35. {xarray-2025.3.0 → xarray-2025.3.1}/xarray.egg-info/SOURCES.txt +3 -1
  36. {xarray-2025.3.0 → xarray-2025.3.1}/.binder/environment.yml +0 -0
  37. {xarray-2025.3.0 → xarray-2025.3.1}/.codecov.yml +0 -0
  38. {xarray-2025.3.0 → xarray-2025.3.1}/.git-blame-ignore-revs +0 -0
  39. {xarray-2025.3.0 → xarray-2025.3.1}/.git_archival.txt +0 -0
  40. {xarray-2025.3.0 → xarray-2025.3.1}/.gitattributes +0 -0
  41. {xarray-2025.3.0 → xarray-2025.3.1}/.github/FUNDING.yml +0 -0
  42. {xarray-2025.3.0 → xarray-2025.3.1}/.github/ISSUE_TEMPLATE/bugreport.yml +0 -0
  43. {xarray-2025.3.0 → xarray-2025.3.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  44. {xarray-2025.3.0 → xarray-2025.3.1}/.github/ISSUE_TEMPLATE/misc.yml +0 -0
  45. {xarray-2025.3.0 → xarray-2025.3.1}/.github/ISSUE_TEMPLATE/newfeature.yml +0 -0
  46. {xarray-2025.3.0 → xarray-2025.3.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  47. {xarray-2025.3.0 → xarray-2025.3.1}/.github/config.yml +0 -0
  48. {xarray-2025.3.0 → xarray-2025.3.1}/.github/dependabot.yml +0 -0
  49. {xarray-2025.3.0 → xarray-2025.3.1}/.github/release.yml +0 -0
  50. {xarray-2025.3.0 → xarray-2025.3.1}/.github/stale.yml +0 -0
  51. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/benchmarks-last-release.yml +0 -0
  52. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/benchmarks.yml +0 -0
  53. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/ci-additional.yaml +0 -0
  54. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/ci.yaml +0 -0
  55. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/configure-testpypi-version.py +0 -0
  56. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/hypothesis.yaml +0 -0
  57. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/nightly-wheels.yml +0 -0
  58. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/publish-test-results.yaml +0 -0
  59. {xarray-2025.3.0 → xarray-2025.3.1}/.github/workflows/pypi-release.yaml +0 -0
  60. {xarray-2025.3.0 → xarray-2025.3.1}/.gitignore +0 -0
  61. {xarray-2025.3.0 → xarray-2025.3.1}/.pre-commit-config.yaml +0 -0
  62. {xarray-2025.3.0 → xarray-2025.3.1}/.readthedocs.yaml +0 -0
  63. {xarray-2025.3.0 → xarray-2025.3.1}/CITATION.cff +0 -0
  64. {xarray-2025.3.0 → xarray-2025.3.1}/CODE_OF_CONDUCT.md +0 -0
  65. {xarray-2025.3.0 → xarray-2025.3.1}/CONTRIBUTING.md +0 -0
  66. {xarray-2025.3.0 → xarray-2025.3.1}/CORE_TEAM_GUIDE.md +0 -0
  67. {xarray-2025.3.0 → xarray-2025.3.1}/DATATREE_MIGRATION_GUIDE.md +0 -0
  68. {xarray-2025.3.0 → xarray-2025.3.1}/HOW_TO_RELEASE.md +0 -0
  69. {xarray-2025.3.0 → xarray-2025.3.1}/LICENSE +0 -0
  70. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/asv.conf.json +0 -0
  71. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/README_CI.md +0 -0
  72. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/__init__.py +0 -0
  73. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/accessors.py +0 -0
  74. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/alignment.py +0 -0
  75. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/coding.py +0 -0
  76. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/combine.py +0 -0
  77. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/dataarray_missing.py +0 -0
  78. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/dataset.py +0 -0
  79. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/dataset_io.py +0 -0
  80. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/datatree.py +0 -0
  81. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/groupby.py +0 -0
  82. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/import.py +0 -0
  83. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/indexing.py +0 -0
  84. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/interp.py +0 -0
  85. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/merge.py +0 -0
  86. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/pandas.py +0 -0
  87. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/polyfit.py +0 -0
  88. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/reindexing.py +0 -0
  89. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/renaming.py +0 -0
  90. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/repr.py +0 -0
  91. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/rolling.py +0 -0
  92. {xarray-2025.3.0 → xarray-2025.3.1}/asv_bench/benchmarks/unstacking.py +0 -0
  93. {xarray-2025.3.0 → xarray-2025.3.1}/ci/minimum_versions.py +0 -0
  94. {xarray-2025.3.0 → xarray-2025.3.1}/ci/release_contributors.py +0 -0
  95. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/all-but-dask.yml +0 -0
  96. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/all-but-numba.yml +0 -0
  97. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/bare-minimum.yml +0 -0
  98. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/doc.yml +0 -0
  99. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/environment-3.14.yml +0 -0
  100. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/environment-windows-3.14.yml +0 -0
  101. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/environment-windows.yml +0 -0
  102. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/environment.yml +0 -0
  103. {xarray-2025.3.0 → xarray-2025.3.1}/ci/requirements/min-all-deps.yml +0 -0
  104. {xarray-2025.3.0 → xarray-2025.3.1}/conftest.py +0 -0
  105. {xarray-2025.3.0 → xarray-2025.3.1}/design_notes/flexible_indexes_notes.md +0 -0
  106. {xarray-2025.3.0 → xarray-2025.3.1}/design_notes/grouper_objects.md +0 -0
  107. {xarray-2025.3.0 → xarray-2025.3.1}/design_notes/named_array_design_doc.md +0 -0
  108. {xarray-2025.3.0 → xarray-2025.3.1}/doc/Makefile +0 -0
  109. {xarray-2025.3.0 → xarray-2025.3.1}/doc/README.rst +0 -0
  110. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/.gitignore +0 -0
  111. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/advanced_selection_interpolation.svg +0 -0
  112. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/ci.png +0 -0
  113. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/dask-array.svg +0 -0
  114. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/dataset-diagram.png +0 -0
  115. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/index_api.svg +0 -0
  116. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/index_contribute.svg +0 -0
  117. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/index_getting_started.svg +0 -0
  118. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/index_user_guide.svg +0 -0
  119. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/logos/Xarray_Icon_Final.png +0 -0
  120. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/logos/Xarray_Icon_Final.svg +0 -0
  121. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.png +0 -0
  122. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/logos/Xarray_Logo_FullColor_InverseRGB_Final.svg +0 -0
  123. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/logos/Xarray_Logo_RGB_Final.png +0 -0
  124. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/logos/Xarray_Logo_RGB_Final.svg +0 -0
  125. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/numfocus_logo.png +0 -0
  126. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/opendap-prism-tmax.png +0 -0
  127. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/style.css +0 -0
  128. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/thumbnails/ERA5-GRIB-example.png +0 -0
  129. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/thumbnails/ROMS_ocean_model.png +0 -0
  130. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/thumbnails/area_weighted_temperature.png +0 -0
  131. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/thumbnails/monthly-means.png +0 -0
  132. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/thumbnails/multidimensional-coords.png +0 -0
  133. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/thumbnails/toy-weather-data.png +0 -0
  134. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/thumbnails/visualization_gallery.png +0 -0
  135. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_static/view-docs.png +0 -0
  136. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_templates/autosummary/accessor.rst +0 -0
  137. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_templates/autosummary/accessor_attribute.rst +0 -0
  138. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_templates/autosummary/accessor_callable.rst +0 -0
  139. {xarray-2025.3.0 → xarray-2025.3.1}/doc/_templates/autosummary/accessor_method.rst +0 -0
  140. {xarray-2025.3.0 → xarray-2025.3.1}/doc/api-hidden.rst +0 -0
  141. {xarray-2025.3.0 → xarray-2025.3.1}/doc/api.rst +0 -0
  142. {xarray-2025.3.0 → xarray-2025.3.1}/doc/combined.json +0 -0
  143. {xarray-2025.3.0 → xarray-2025.3.1}/doc/conf.py +0 -0
  144. {xarray-2025.3.0 → xarray-2025.3.1}/doc/contributing.rst +0 -0
  145. {xarray-2025.3.0 → xarray-2025.3.1}/doc/developers-meeting.rst +0 -0
  146. {xarray-2025.3.0 → xarray-2025.3.1}/doc/ecosystem.rst +0 -0
  147. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/ERA5-GRIB-example.ipynb +0 -0
  148. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/ROMS_ocean_model.ipynb +0 -0
  149. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/_code/accessor_example.py +0 -0
  150. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/apply_ufunc_vectorize_1d.ipynb +0 -0
  151. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/area_weighted_temperature.ipynb +0 -0
  152. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/blank_template.ipynb +0 -0
  153. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/monthly-means.ipynb +0 -0
  154. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/monthly_means_output.png +0 -0
  155. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/multidimensional-coords.ipynb +0 -0
  156. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/visualization_gallery.ipynb +0 -0
  157. {xarray-2025.3.0 → xarray-2025.3.1}/doc/examples/weather-data.ipynb +0 -0
  158. {xarray-2025.3.0 → xarray-2025.3.1}/doc/gallery/README.txt +0 -0
  159. {xarray-2025.3.0 → xarray-2025.3.1}/doc/gallery/plot_cartopy_facetgrid.py +0 -0
  160. {xarray-2025.3.0 → xarray-2025.3.1}/doc/gallery/plot_colorbar_center.py +0 -0
  161. {xarray-2025.3.0 → xarray-2025.3.1}/doc/gallery/plot_control_colorbar.py +0 -0
  162. {xarray-2025.3.0 → xarray-2025.3.1}/doc/gallery/plot_lines_from_2d.py +0 -0
  163. {xarray-2025.3.0 → xarray-2025.3.1}/doc/gallery.rst +0 -0
  164. {xarray-2025.3.0 → xarray-2025.3.1}/doc/gallery.yml +0 -0
  165. {xarray-2025.3.0 → xarray-2025.3.1}/doc/getting-started-guide/faq.rst +0 -0
  166. {xarray-2025.3.0 → xarray-2025.3.1}/doc/getting-started-guide/index.rst +0 -0
  167. {xarray-2025.3.0 → xarray-2025.3.1}/doc/getting-started-guide/installing.rst +0 -0
  168. {xarray-2025.3.0 → xarray-2025.3.1}/doc/getting-started-guide/quick-overview.rst +0 -0
  169. {xarray-2025.3.0 → xarray-2025.3.1}/doc/getting-started-guide/why-xarray.rst +0 -0
  170. {xarray-2025.3.0 → xarray-2025.3.1}/doc/help-diagram.rst +0 -0
  171. {xarray-2025.3.0 → xarray-2025.3.1}/doc/howdoi.rst +0 -0
  172. {xarray-2025.3.0 → xarray-2025.3.1}/doc/index.rst +0 -0
  173. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/chunked-arrays.rst +0 -0
  174. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/duck-arrays-integration.rst +0 -0
  175. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/extending-xarray.rst +0 -0
  176. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/how-to-add-new-backend.rst +0 -0
  177. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/how-to-create-custom-index.rst +0 -0
  178. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/index.rst +0 -0
  179. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/internal-design.rst +0 -0
  180. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/interoperability.rst +0 -0
  181. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/time-coding.rst +0 -0
  182. {xarray-2025.3.0 → xarray-2025.3.1}/doc/internals/zarr-encoding-spec.rst +0 -0
  183. {xarray-2025.3.0 → xarray-2025.3.1}/doc/roadmap.rst +0 -0
  184. {xarray-2025.3.0 → xarray-2025.3.1}/doc/tutorials-and-videos.rst +0 -0
  185. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/combining.rst +0 -0
  186. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/computation.rst +0 -0
  187. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/dask.rst +0 -0
  188. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/data-structures.rst +0 -0
  189. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/duckarrays.rst +0 -0
  190. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/groupby.rst +0 -0
  191. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/hierarchical-data.rst +0 -0
  192. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/index.rst +0 -0
  193. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/interpolation.rst +0 -0
  194. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/options.rst +0 -0
  195. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/pandas.rst +0 -0
  196. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/plotting.rst +0 -0
  197. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/reshaping.rst +0 -0
  198. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/terminology.rst +0 -0
  199. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/testing.rst +0 -0
  200. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/time-series.rst +0 -0
  201. {xarray-2025.3.0 → xarray-2025.3.1}/doc/user-guide/weather-climate.rst +0 -0
  202. {xarray-2025.3.0 → xarray-2025.3.1}/doc/videos.yml +0 -0
  203. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/ANYTREE_LICENSE +0 -0
  204. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/DASK_LICENSE +0 -0
  205. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/ICOMOON_LICENSE +0 -0
  206. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/NUMPY_LICENSE +0 -0
  207. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/PANDAS_LICENSE +0 -0
  208. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/PYTHON_LICENSE +0 -0
  209. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/SCIKIT_LEARN_LICENSE +0 -0
  210. {xarray-2025.3.0 → xarray-2025.3.1}/licenses/SEABORN_LICENSE +0 -0
  211. {xarray-2025.3.0 → xarray-2025.3.1}/properties/README.md +0 -0
  212. {xarray-2025.3.0 → xarray-2025.3.1}/properties/__init__.py +0 -0
  213. {xarray-2025.3.0 → xarray-2025.3.1}/properties/conftest.py +0 -0
  214. {xarray-2025.3.0 → xarray-2025.3.1}/properties/test_encode_decode.py +0 -0
  215. {xarray-2025.3.0 → xarray-2025.3.1}/properties/test_index_manipulation.py +0 -0
  216. {xarray-2025.3.0 → xarray-2025.3.1}/properties/test_pandas_roundtrip.py +0 -0
  217. {xarray-2025.3.0 → xarray-2025.3.1}/properties/test_properties.py +0 -0
  218. {xarray-2025.3.0 → xarray-2025.3.1}/pyproject.toml +0 -0
  219. {xarray-2025.3.0 → xarray-2025.3.1}/setup.cfg +0 -0
  220. {xarray-2025.3.0 → xarray-2025.3.1}/setup.py +0 -0
  221. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/__init__.py +0 -0
  222. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/common.py +0 -0
  223. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/file_manager.py +0 -0
  224. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/h5netcdf_.py +0 -0
  225. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/locks.py +0 -0
  226. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/lru_cache.py +0 -0
  227. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/memory.py +0 -0
  228. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/netCDF4_.py +0 -0
  229. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/netcdf3.py +0 -0
  230. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/plugins.py +0 -0
  231. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/pydap_.py +0 -0
  232. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/scipy_.py +0 -0
  233. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/backends/store.py +0 -0
  234. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coders.py +0 -0
  235. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/__init__.py +0 -0
  236. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/cftime_offsets.py +0 -0
  237. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/cftimeindex.py +0 -0
  238. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/common.py +0 -0
  239. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/frequencies.py +0 -0
  240. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/strings.py +0 -0
  241. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/times.py +0 -0
  242. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/coding/variables.py +0 -0
  243. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/compat/__init__.py +0 -0
  244. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/compat/array_api_compat.py +0 -0
  245. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/compat/dask_array_compat.py +0 -0
  246. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/compat/dask_array_ops.py +0 -0
  247. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/compat/npcompat.py +0 -0
  248. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/__init__.py +0 -0
  249. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/apply_ufunc.py +0 -0
  250. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/arithmetic.py +0 -0
  251. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/nanops.py +0 -0
  252. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/ops.py +0 -0
  253. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/rolling.py +0 -0
  254. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/rolling_exp.py +0 -0
  255. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/computation/weighted.py +0 -0
  256. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/conventions.py +0 -0
  257. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/convert.py +0 -0
  258. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/__init__.py +0 -0
  259. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/_aggregations.py +0 -0
  260. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/_typed_ops.py +0 -0
  261. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/accessor_dt.py +0 -0
  262. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/coordinate_transform.py +0 -0
  263. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/coordinates.py +0 -0
  264. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/dataset_utils.py +0 -0
  265. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/dataset_variables.py +0 -0
  266. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/datatree_mapping.py +0 -0
  267. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/datatree_render.py +0 -0
  268. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/dtypes.py +0 -0
  269. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/duck_array_ops.py +0 -0
  270. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/extensions.py +0 -0
  271. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/formatting.py +0 -0
  272. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/formatting_html.py +0 -0
  273. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/indexes.py +0 -0
  274. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/indexing.py +0 -0
  275. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/missing.py +0 -0
  276. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/nputils.py +0 -0
  277. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/options.py +0 -0
  278. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/parallel.py +0 -0
  279. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/resample.py +0 -0
  280. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/resample_cftime.py +0 -0
  281. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/treenode.py +0 -0
  282. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/types.py +0 -0
  283. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/core/utils.py +0 -0
  284. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/indexes/__init__.py +0 -0
  285. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/__init__.py +0 -0
  286. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/_aggregations.py +0 -0
  287. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/_array_api.py +0 -0
  288. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/_typing.py +0 -0
  289. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/core.py +0 -0
  290. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/daskmanager.py +0 -0
  291. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/dtypes.py +0 -0
  292. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/parallelcompat.py +0 -0
  293. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/pycompat.py +0 -0
  294. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/namedarray/utils.py +0 -0
  295. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/plot/__init__.py +0 -0
  296. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/plot/accessor.py +0 -0
  297. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/plot/dataarray_plot.py +0 -0
  298. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/plot/dataset_plot.py +0 -0
  299. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/plot/utils.py +0 -0
  300. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/py.typed +0 -0
  301. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/static/__init__.py +0 -0
  302. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/static/css/__init__.py +0 -0
  303. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/static/css/style.css +0 -0
  304. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/static/html/__init__.py +0 -0
  305. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/static/html/icons-svg-inline.html +0 -0
  306. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/structure/__init__.py +0 -0
  307. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/structure/alignment.py +0 -0
  308. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/structure/combine.py +0 -0
  309. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/structure/concat.py +0 -0
  310. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/structure/merge.py +0 -0
  311. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/testing/__init__.py +0 -0
  312. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/testing/assertions.py +0 -0
  313. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/testing/strategies.py +0 -0
  314. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/__init__.py +0 -0
  315. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/arrays.py +0 -0
  316. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/data/bears.nc +0 -0
  317. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/data/example.grib +0 -0
  318. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/data/example.ict +0 -0
  319. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/data/example.uamiv +0 -0
  320. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/data/example_1.nc +0 -0
  321. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/data/example_1.nc.gz +0 -0
  322. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/namespace.py +0 -0
  323. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_accessor_dt.py +0 -0
  324. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_accessor_str.py +0 -0
  325. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_array_api.py +0 -0
  326. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_assertions.py +0 -0
  327. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_backends_api.py +0 -0
  328. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_backends_common.py +0 -0
  329. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_backends_datatree.py +0 -0
  330. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_backends_file_manager.py +0 -0
  331. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_backends_locks.py +0 -0
  332. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_backends_lru_cache.py +0 -0
  333. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_calendar_ops.py +0 -0
  334. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_cftime_offsets.py +0 -0
  335. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_cftimeindex.py +0 -0
  336. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_cftimeindex_resample.py +0 -0
  337. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_coarsen.py +0 -0
  338. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_coding.py +0 -0
  339. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_coding_strings.py +0 -0
  340. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_coding_times.py +0 -0
  341. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_combine.py +0 -0
  342. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_computation.py +0 -0
  343. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_concat.py +0 -0
  344. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_conventions.py +0 -0
  345. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_coordinate_transform.py +0 -0
  346. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_coordinates.py +0 -0
  347. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_cupy.py +0 -0
  348. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_dask.py +0 -0
  349. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_dataarray_typing.yml +0 -0
  350. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_dataset.py +0 -0
  351. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_dataset_typing.yml +0 -0
  352. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_datatree_mapping.py +0 -0
  353. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_datatree_typing.yml +0 -0
  354. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_deprecation_helpers.py +0 -0
  355. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_distributed.py +0 -0
  356. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_dtypes.py +0 -0
  357. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_duck_array_ops.py +0 -0
  358. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_duck_array_wrapping.py +0 -0
  359. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_error_messages.py +0 -0
  360. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_extensions.py +0 -0
  361. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_formatting.py +0 -0
  362. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_formatting_html.py +0 -0
  363. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_hashable.py +0 -0
  364. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_indexes.py +0 -0
  365. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_indexing.py +0 -0
  366. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_interp.py +0 -0
  367. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_merge.py +0 -0
  368. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_missing.py +0 -0
  369. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_namedarray.py +0 -0
  370. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_nputils.py +0 -0
  371. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_options.py +0 -0
  372. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_parallelcompat.py +0 -0
  373. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_plugins.py +0 -0
  374. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_print_versions.py +0 -0
  375. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_rolling.py +0 -0
  376. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_sparse.py +0 -0
  377. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_strategies.py +0 -0
  378. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_treenode.py +0 -0
  379. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_tutorial.py +0 -0
  380. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_typed_ops.py +0 -0
  381. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_ufuncs.py +0 -0
  382. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_units.py +0 -0
  383. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_utils.py +0 -0
  384. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_variable.py +0 -0
  385. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tests/test_weighted.py +0 -0
  386. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/tutorial.py +0 -0
  387. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/ufuncs.py +0 -0
  388. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/util/__init__.py +0 -0
  389. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/util/deprecation_helpers.py +0 -0
  390. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/util/generate_aggregations.py +0 -0
  391. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/util/generate_ops.py +0 -0
  392. {xarray-2025.3.0 → xarray-2025.3.1}/xarray/util/print_versions.py +0 -0
  393. {xarray-2025.3.0 → xarray-2025.3.1}/xarray.egg-info/dependency_links.txt +0 -0
  394. {xarray-2025.3.0 → xarray-2025.3.1}/xarray.egg-info/entry_points.txt +0 -0
  395. {xarray-2025.3.0 → xarray-2025.3.1}/xarray.egg-info/requires.txt +0 -0
  396. {xarray-2025.3.0 → xarray-2025.3.1}/xarray.egg-info/top_level.txt +0 -0
@@ -84,7 +84,7 @@ jobs:
84
84
  if: success()
85
85
  id: status
86
86
  run: |
87
- python -m pytest --timeout=60 -rf \
87
+ python -m pytest --timeout=60 -rf -nauto \
88
88
  --report-log output-${{ matrix.python-version }}-log.jsonl
89
89
  - name: Generate and publish the report
90
90
  if: |
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xarray
3
- Version: 2025.3.0
3
+ Version: 2025.3.1
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
@@ -73,7 +73,7 @@ Dynamic: license-file
73
73
 
74
74
  # xarray: N-D labeled arrays and datasets
75
75
 
76
- [![CI](https://github.com/pydata/xarray/workflows/CI/badge.svg?branch=main)](https://github.com/pydata/xarray/actions?query=workflow%3ACI)
76
+ [![CI](https://github.com/pydata/xarray/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/pydata/xarray/actions/workflows/ci.yaml?query=branch%3Amain)
77
77
  [![Code coverage](https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg?flag=unittests)](https://codecov.io/gh/pydata/xarray)
78
78
  [![Docs](https://readthedocs.org/projects/xray/badge/?version=latest)](https://docs.xarray.dev/)
79
79
  [![Benchmarked with asv](https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat)](https://asv-runner.github.io/asv-collection/xarray/)
@@ -1,6 +1,6 @@
1
1
  # xarray: N-D labeled arrays and datasets
2
2
 
3
- [![CI](https://github.com/pydata/xarray/workflows/CI/badge.svg?branch=main)](https://github.com/pydata/xarray/actions?query=workflow%3ACI)
3
+ [![CI](https://github.com/pydata/xarray/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/pydata/xarray/actions/workflows/ci.yaml?query=branch%3Amain)
4
4
  [![Code coverage](https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg?flag=unittests)](https://codecov.io/gh/pydata/xarray)
5
5
  [![Docs](https://readthedocs.org/projects/xray/badge/?version=latest)](https://docs.xarray.dev/)
6
6
  [![Benchmarked with asv](https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat)](https://asv-runner.github.io/asv-collection/xarray/)
@@ -53,7 +53,7 @@ python -m pip install \
53
53
  git+https://github.com/dask/dask \
54
54
  git+https://github.com/dask/dask-expr \
55
55
  git+https://github.com/dask/distributed \
56
- git+https://github.com/zarr-developers/zarr \
56
+ git+https://github.com/zarr-developers/zarr-python \
57
57
  git+https://github.com/Unidata/cftime \
58
58
  git+https://github.com/pypa/packaging \
59
59
  git+https://github.com/hgrecco/pint \
@@ -376,7 +376,7 @@ indexing for xarray is based on our
376
376
  :ref:`broadcasting rules <compute.broadcasting>`.
377
377
  See :ref:`indexing.rules` for the complete specification.
378
378
 
379
- .. _NumPy's advanced indexing: https://numpy.org/doc/stable/reference/arrays.indexing.html
379
+ .. _NumPy's advanced indexing: https://numpy.org/doc/stable/user/basics.indexing.html#advanced-indexing
380
380
 
381
381
  Vectorized indexing also works with ``isel``, ``loc``, and ``sel``:
382
382
 
@@ -1021,6 +1021,22 @@ reads. Because this fall-back option is so much slower, xarray issues a
1021
1021
  instead of falling back to try reading non-consolidated metadata.
1022
1022
 
1023
1023
 
1024
+ Fill Values
1025
+ ~~~~~~~~~~~
1026
+
1027
+ Zarr arrays have a ``fill_value`` that is used for chunks that were never written to disk.
1028
+ For the Zarr version 2 format, Xarray will set ``fill_value`` to be equal to the CF/NetCDF ``"_FillValue"``.
1029
+ This is ``np.nan`` by default for floats, and unset otherwise. Note that the Zarr library will set a
1030
+ default ``fill_value`` if not specified (usually ``0``).
1031
+
1032
+ For the Zarr version 3 format, ``_FillValue`` and ```fill_value`` are decoupled.
1033
+ So you can set ``fill_value`` in ``encoding`` as usual.
1034
+
1035
+ Note that at read-time, you can control whether ``_FillValue`` is masked using the
1036
+ ``mask_and_scale`` kwarg; and whether Zarr's ``fill_value`` is treated as synonymous
1037
+ with ``_FillValue`` using the ``use_zarr_fill_value_as_mask`` kwarg to :py:func:`xarray.open_zarr`.
1038
+
1039
+
1024
1040
  .. _io.kerchunk:
1025
1041
 
1026
1042
  Kerchunk
@@ -14,6 +14,43 @@ What's New
14
14
 
15
15
  np.random.seed(123456)
16
16
 
17
+ .. _whats-new.2025.03.1:
18
+
19
+ v2025.03.1 (Mar 30, 2025)
20
+ -------------------------
21
+
22
+ This release brings the ability to specify ``fill_value`` and ``write_empty_chunks`` for Zarr V3 stores, and a few bug fixes.
23
+ Thanks to the 10 contributors to this release:
24
+ Andrecho, Deepak Cherian, Ian Hunt-Isaak, Karl Krauth, Mathias Hauser, Maximilian Roos, Nick Hodgskin (🦎 Vecko), Spencer Clark, Tom Nicholas and wpbonelli.
25
+
26
+ New Features
27
+ ~~~~~~~~~~~~
28
+
29
+ - Allow setting a ``fill_value`` for Zarr format 3 arrays. Specify ``fill_value`` in ``encoding`` as usual.
30
+ (:issue:`10064`). By `Deepak Cherian <https://github.com/dcherian>`_.
31
+
32
+ Breaking changes
33
+ ~~~~~~~~~~~~~~~~
34
+
35
+ - Explicitly forbid appending a :py:class:`~xarray.DataTree` to zarr using :py:meth:`~xarray.DataTree.to_zarr` with ``append_dim``, because the expected behaviour is currently undefined.
36
+ (:issue:`9858`, :pull:`10156`)
37
+ By `Tom Nicholas <https://github.com/TomNicholas>`_.
38
+
39
+ Bug fixes
40
+ ~~~~~~~~~
41
+
42
+ - Update the parameters of :py:meth:`~xarray.DataArray.to_zarr` to match :py:meth:`~xarray.Dataset.to_zarr`.
43
+ This fixes the issue where using the ``zarr_version`` parameter would raise a deprecation warning telling the user to use
44
+ a non-existent ``zarr_format`` parameter instead. (:issue:`10163`, :pull:`10164`)
45
+ By `Karl Krauth <https://github.com/Karl-Krauth>`_.
46
+ - :py:meth:`DataTree.sel` and :py:meth:`DataTree.isel` display the path of the first failed node again (:pull:`10154`).
47
+ By `Mathias Hauser <https://github.com/mathause>`_.
48
+ - Fix grouped and resampled ``first``, ``last`` with datetimes (:issue:`10169`, :pull:`10173`)
49
+ By `Deepak Cherian <https://github.com/dcherian>`_.
50
+ - FacetGrid plots now include units in their axis labels when available (:issue:`10184`, :pull:`10185`)
51
+ By `Andre Wendlinger <https://github.com/andrewendlinger>`_.
52
+
53
+
17
54
  .. _whats-new.2025.03.0:
18
55
 
19
56
  v2025.03.0 (Mar 20, 2025)
@@ -24,7 +24,6 @@ from xarray.computation.computation import (
24
24
  cross,
25
25
  dot,
26
26
  polyval,
27
- unify_chunks,
28
27
  where,
29
28
  )
30
29
  from xarray.conventions import SerializationWarning, decode_cf
@@ -52,6 +51,7 @@ from xarray.core.treenode import (
52
51
  from xarray.core.variable import IndexVariable, Variable, as_variable
53
52
  from xarray.namedarray.core import NamedArray
54
53
  from xarray.structure.alignment import align, broadcast
54
+ from xarray.structure.chunks import unify_chunks
55
55
  from xarray.structure.combine import combine_by_coords, combine_nested
56
56
  from xarray.structure.concat import concat
57
57
  from xarray.structure.merge import Context, MergeError, merge
@@ -35,7 +35,6 @@ from xarray.backends.common import (
35
35
  from xarray.backends.locks import _get_scheduler
36
36
  from xarray.coders import CFDatetimeCoder, CFTimedeltaCoder
37
37
  from xarray.core import indexing
38
- from xarray.core.chunk import _get_chunk, _maybe_chunk
39
38
  from xarray.core.dataarray import DataArray
40
39
  from xarray.core.dataset import Dataset
41
40
  from xarray.core.datatree import DataTree
@@ -45,6 +44,7 @@ from xarray.core.types import NetcdfWriteModes, ZarrWriteModes
45
44
  from xarray.core.utils import is_remote_uri
46
45
  from xarray.namedarray.daskmanager import DaskManager
47
46
  from xarray.namedarray.parallelcompat import guess_chunkmanager
47
+ from xarray.structure.chunks import _get_chunk, _maybe_chunk
48
48
  from xarray.structure.combine import (
49
49
  _infer_concat_order_from_positions,
50
50
  _nested_combine,
@@ -426,6 +426,7 @@ def extract_zarr_variable_encoding(
426
426
  raise_on_invalid=False,
427
427
  name=None,
428
428
  *,
429
+ zarr_format: ZarrFormat,
429
430
  safe_chunks=True,
430
431
  region=None,
431
432
  mode=None,
@@ -443,6 +444,7 @@ def extract_zarr_variable_encoding(
443
444
  region: tuple[slice, ...], optional
444
445
  mode: str, optional
445
446
  shape: tuple[int, ...], optional
447
+ zarr_format: Literal[2,3]
446
448
  Returns
447
449
  -------
448
450
  encoding : dict
@@ -463,6 +465,8 @@ def extract_zarr_variable_encoding(
463
465
  "cache_metadata",
464
466
  "write_empty_chunks",
465
467
  }
468
+ if zarr_format == 3:
469
+ valid_encodings.add("fill_value")
466
470
 
467
471
  for k in safe_to_drop:
468
472
  if k in encoding:
@@ -470,9 +474,14 @@ def extract_zarr_variable_encoding(
470
474
 
471
475
  if raise_on_invalid:
472
476
  invalid = [k for k in encoding if k not in valid_encodings]
477
+ if "fill_value" in invalid and zarr_format == 2:
478
+ msg = " Use `_FillValue` to set the Zarr array `fill_value`"
479
+ else:
480
+ msg = ""
481
+
473
482
  if invalid:
474
483
  raise ValueError(
475
- f"unexpected encoding parameters for zarr backend: {invalid!r}"
484
+ f"unexpected encoding parameters for zarr backend: {invalid!r}." + msg
476
485
  )
477
486
  else:
478
487
  for k in list(encoding):
@@ -1075,13 +1084,19 @@ class ZarrStore(AbstractWritableDataStore):
1075
1084
  # - Existing variables already have their attrs included in the consolidated metadata file.
1076
1085
  # - The size of dimensions can not be expanded, that would require a call using `append_dim`
1077
1086
  # which is mutually exclusive with `region`
1087
+ empty: dict[str, bool] | dict[str, dict[str, bool]]
1088
+ if _zarr_v3():
1089
+ empty = dict(config={"write_empty_chunks": self._write_empty})
1090
+ else:
1091
+ empty = dict(write_empty_chunks=self._write_empty)
1092
+
1078
1093
  zarr_array = zarr.open(
1079
1094
  store=(
1080
1095
  self.zarr_group.store if _zarr_v3() else self.zarr_group.chunk_store
1081
1096
  ),
1082
1097
  # TODO: see if zarr should normalize these strings.
1083
1098
  path="/".join([self.zarr_group.name.rstrip("/"), name]).lstrip("/"),
1084
- write_empty_chunks=self._write_empty,
1099
+ **empty,
1085
1100
  )
1086
1101
  else:
1087
1102
  zarr_array = self.zarr_group[name]
@@ -1106,6 +1121,14 @@ class ZarrStore(AbstractWritableDataStore):
1106
1121
  else:
1107
1122
  encoding["write_empty_chunks"] = self._write_empty
1108
1123
 
1124
+ if _zarr_v3():
1125
+ # zarr v3 deprecated origin and write_empty_chunks
1126
+ # instead preferring to pass them via the config argument
1127
+ encoding["config"] = {}
1128
+ for c in ("write_empty_chunks", "order"):
1129
+ if c in encoding:
1130
+ encoding["config"][c] = encoding.pop(c)
1131
+
1109
1132
  zarr_array = self.zarr_group.create(
1110
1133
  name,
1111
1134
  shape=shape,
@@ -1147,7 +1170,7 @@ class ZarrStore(AbstractWritableDataStore):
1147
1170
  if self._use_zarr_fill_value_as_mask:
1148
1171
  fill_value = attrs.pop("_FillValue", None)
1149
1172
  else:
1150
- fill_value = None
1173
+ fill_value = v.encoding.pop("fill_value", None)
1151
1174
  if "_FillValue" in attrs:
1152
1175
  # replace with encoded fill value
1153
1176
  fv = attrs.pop("_FillValue")
@@ -1198,6 +1221,7 @@ class ZarrStore(AbstractWritableDataStore):
1198
1221
  region=region,
1199
1222
  mode=self._mode,
1200
1223
  shape=zarr_shape,
1224
+ zarr_format=3 if is_zarr_v3_format else 2,
1201
1225
  )
1202
1226
 
1203
1227
  if self._mode == "w" or name not in existing_keys:
@@ -9,7 +9,6 @@ from xarray.coding.times import (
9
9
  _should_cftime_be_used,
10
10
  convert_times,
11
11
  )
12
- from xarray.computation.apply_ufunc import apply_ufunc
13
12
  from xarray.core.common import (
14
13
  _contains_datetime_like_objects,
15
14
  full_like,
@@ -333,6 +332,8 @@ def _decimal_year(times):
333
332
  else:
334
333
  function = _decimal_year_numpy
335
334
  kwargs = {"dtype": times.dtype}
335
+ from xarray.computation.apply_ufunc import apply_ufunc
336
+
336
337
  return apply_ufunc(
337
338
  function,
338
339
  times,
@@ -1,38 +1,37 @@
1
1
  # For reference, here is a copy of the pandas copyright notice:
2
2
 
3
- # (c) 2011-2012, Lambda Foundry, Inc. and PyData Development Team
4
- # All rights reserved.
3
+ # BSD 3-Clause License
5
4
 
6
- # Copyright (c) 2008-2011 AQR Capital Management, LLC
5
+ # Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
7
6
  # All rights reserved.
8
7
 
8
+ # Copyright (c) 2011-2025, Open source contributors.
9
+
9
10
  # Redistribution and use in source and binary forms, with or without
10
- # modification, are permitted provided that the following conditions are
11
- # met:
12
-
13
- # * Redistributions of source code must retain the above copyright
14
- # notice, this list of conditions and the following disclaimer.
15
-
16
- # * Redistributions in binary form must reproduce the above
17
- # copyright notice, this list of conditions and the following
18
- # disclaimer in the documentation and/or other materials provided
19
- # with the distribution.
20
-
21
- # * Neither the name of the copyright holder nor the names of any
22
- # contributors may be used to endorse or promote products derived
23
- # from this software without specific prior written permission.
24
-
25
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
26
- # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27
- # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28
- # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29
- # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30
- # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
- # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
- # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
- # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34
- # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
11
+ # modification, are permitted provided that the following conditions are met:
12
+
13
+ # * Redistributions of source code must retain the above copyright notice, this
14
+ # list of conditions and the following disclaimer.
15
+
16
+ # * Redistributions in binary form must reproduce the above copyright notice,
17
+ # this list of conditions and the following disclaimer in the documentation
18
+ # and/or other materials provided with the distribution.
19
+
20
+ # * Neither the name of the copyright holder nor the names of its
21
+ # contributors may be used to endorse or promote products derived from
22
+ # this software without specific prior written permission.
23
+
24
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
28
+ # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
+ # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30
+ # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32
+ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35
33
  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+
36
35
  from __future__ import annotations
37
36
 
38
37
  from enum import Enum
@@ -13,12 +13,11 @@ from collections.abc import (
13
13
  Callable,
14
14
  Hashable,
15
15
  )
16
- from typing import TYPE_CHECKING, Any, Literal, TypeVar, Union, cast, overload
16
+ from typing import TYPE_CHECKING, Any, Literal, cast, overload
17
17
 
18
18
  import numpy as np
19
19
 
20
20
  from xarray.compat.array_api_compat import to_like_array
21
- from xarray.computation.apply_ufunc import apply_ufunc
22
21
  from xarray.core import dtypes, duck_array_ops, utils
23
22
  from xarray.core.common import zeros_like
24
23
  from xarray.core.duck_array_ops import datetime_to_numeric
@@ -467,6 +466,8 @@ def cross(
467
466
  " dimensions without coordinates must have have a length of 2 or 3"
468
467
  )
469
468
 
469
+ from xarray.computation.apply_ufunc import apply_ufunc
470
+
470
471
  c = apply_ufunc(
471
472
  duck_array_ops.cross,
472
473
  a,
@@ -629,6 +630,8 @@ def dot(
629
630
  # subscripts should be passed to np.einsum as arg, not as kwargs. We need
630
631
  # to construct a partial function for apply_ufunc to work.
631
632
  func = functools.partial(duck_array_ops.einsum, subscripts, **kwargs)
633
+ from xarray.computation.apply_ufunc import apply_ufunc
634
+
632
635
  result = apply_ufunc(
633
636
  func,
634
637
  *arrays,
@@ -729,6 +732,8 @@ def where(cond, x, y, keep_attrs=None):
729
732
  keep_attrs = _get_keep_attrs(default=False)
730
733
 
731
734
  # alignment for three arguments is complicated, so don't support it yet
735
+ from xarray.computation.apply_ufunc import apply_ufunc
736
+
732
737
  result = apply_ufunc(
733
738
  duck_array_ops.where,
734
739
  cond,
@@ -951,80 +956,3 @@ def _calc_idxminmax(
951
956
  res.attrs = indx.attrs
952
957
 
953
958
  return res
954
-
955
-
956
- _T = TypeVar("_T", bound=Union["Dataset", "DataArray"])
957
- _U = TypeVar("_U", bound=Union["Dataset", "DataArray"])
958
- _V = TypeVar("_V", bound=Union["Dataset", "DataArray"])
959
-
960
-
961
- @overload
962
- def unify_chunks(__obj: _T) -> tuple[_T]: ...
963
-
964
-
965
- @overload
966
- def unify_chunks(__obj1: _T, __obj2: _U) -> tuple[_T, _U]: ...
967
-
968
-
969
- @overload
970
- def unify_chunks(__obj1: _T, __obj2: _U, __obj3: _V) -> tuple[_T, _U, _V]: ...
971
-
972
-
973
- @overload
974
- def unify_chunks(*objects: Dataset | DataArray) -> tuple[Dataset | DataArray, ...]: ...
975
-
976
-
977
- def unify_chunks(*objects: Dataset | DataArray) -> tuple[Dataset | DataArray, ...]:
978
- """
979
- Given any number of Dataset and/or DataArray objects, returns
980
- new objects with unified chunk size along all chunked dimensions.
981
-
982
- Returns
983
- -------
984
- unified (DataArray or Dataset) – Tuple of objects with the same type as
985
- *objects with consistent chunk sizes for all dask-array variables
986
-
987
- See Also
988
- --------
989
- dask.array.core.unify_chunks
990
- """
991
- from xarray.core.dataarray import DataArray
992
-
993
- # Convert all objects to datasets
994
- datasets = [
995
- obj._to_temp_dataset() if isinstance(obj, DataArray) else obj.copy()
996
- for obj in objects
997
- ]
998
-
999
- # Get arguments to pass into dask.array.core.unify_chunks
1000
- unify_chunks_args = []
1001
- sizes: dict[Hashable, int] = {}
1002
- for ds in datasets:
1003
- for v in ds._variables.values():
1004
- if v.chunks is not None:
1005
- # Check that sizes match across different datasets
1006
- for dim, size in v.sizes.items():
1007
- try:
1008
- if sizes[dim] != size:
1009
- raise ValueError(
1010
- f"Dimension {dim!r} size mismatch: {sizes[dim]} != {size}"
1011
- )
1012
- except KeyError:
1013
- sizes[dim] = size
1014
- unify_chunks_args += [v._data, v._dims]
1015
-
1016
- # No dask arrays: Return inputs
1017
- if not unify_chunks_args:
1018
- return objects
1019
-
1020
- chunkmanager = get_chunked_array_type(*list(unify_chunks_args))
1021
- _, chunked_data = chunkmanager.unify_chunks(*unify_chunks_args)
1022
- chunked_data_iter = iter(chunked_data)
1023
- out: list[Dataset | DataArray] = []
1024
- for obj, ds in zip(objects, datasets, strict=True):
1025
- for k, v in ds._variables.items():
1026
- if v.chunks is not None:
1027
- ds._variables[k] = v.copy(data=next(chunked_data_iter))
1028
- out.append(obj._from_temp_dataset(ds) if isinstance(obj, DataArray) else ds)
1029
-
1030
- return tuple(out)